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
- Rename `gen_ai.aggregated_usage.*`, which no longer aggregates
- Separate effective tool definitions from tool execution state
- A text-like file that is not valid UTF-8 raises `UnicodeDecodeError` instead of being read or refused
- Integration: AffixIO host-side proof via Hooks / deferred tool approval
- Usage a capability adds to `ctx.usage` inside a durable operation is credited on replay but not on a first run
- Server-initiated sampling and elicitation are unreachable on FastMCP 4
- Add the `Classifier` evaluator to Pydantic Evals
- Lock the dev environment onto stable FastMCP 4 and make FastMCP 3 the compatibility lane
- Make the MCP tests and docs work on both FastMCP generations
- Let `TypeSafeModel` answer a `str` field by picking a candidate out of the text
- Docs
- Python not yet supported