moo.agent.llm_client

Provider-agnostic LLM client built on PydanticAI. make_agent constructs one Agent per session; call_llm runs it and returns a validated AgentResponse. See docs/source/explanation/agent-internals.md (The LLM Client) for provider selection and structured-output design.

Functions

call_llm(agent, llm_config, user_message, ...)

Run one structured inference + tool loop.

make_agent(llm_config, system_prompt[, ...])

Build the per-session PydanticAI Agent for the configured provider.