pydantic-ai
https://github.com/pydantic/pydantic-ai
Python
GenAI Agent Framework, the Pydantic way
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported6 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- Clarify misleading comment on determinism when setting temperature to zero in LLMJudge Documentation
- `agent.iter()` closed by asyncio's async-generator finalizer cancels the task that entered it, permanently
- `openai_system_prompt_role='user'` sends the instructions after the user's first message, as plain user text
- `MCPSamplingModel` joins the system prompt blocks with no separator
- A typed field for a tool result to say it is incomplete or truncated
- Send agent routing facts to the Pydantic AI Gateway with `GatewayRoutingFacts`
- Harness `create_agent`: instructions the parent model writes become the child agent's system prompt
- Reasoning carried into a user turn as `<assistant_thinking>` isn't checked for lookalikes
- OpenAI batch requests run `uname -p` on the event loop the first time `_batch_group` reads the client's `default_headers`
- clai2: let sub-agent delegations use any model the user has added, without a hand-configured Delegate models menu
- Docs
- Python not yet supported