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
- Give `fallback_on` handlers the failing model and run context, and revisit the default for auth errors
- Reset the CodeMode session when Monty kills a worker for its memory limit
- Raise a `UserError` naming the bad subschema instead of `AttributeError` when a tool's JSON Schema is malformed
- Mark output-tool call and return parts so code doesn't have to match the name `final_result`
- Say which limit fired on `UsageLimitExceeded`, as structured fields
- Send Gemini tool returns containing a `$ref` key as text, since Gemini reads it as a part reference
- Type the in-process MCP server without `mcp.server.fastmcp`, which MCP SDK v2 removed
- Warn when the Vercel AI adapter runs an agent that can request approvals with `sdk_version` below 6
- Let agent runs started inside another run inherit its usage budget
- Decide whether provider SDK extras get upper bounds at the next untested major
- Docs
- Python not yet supported