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 supported4 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- Retrieving a generated image from a capability-driven run is awkward, and `output_type=BinaryImage` is gated on the conversational model
- A gateway's `provider/model` id resolves against the OpenAI table: an `openrouter/…` id reads as o-series, a `groq/…` id loses `thinking`
- docs: Add New Relic to OTel backend list
- Correct which tools can opt out of Temporal activities
- Logfire console output interleaves with the `clai` chat session
- Evals for realtime (speech-to-speech) sessions
- [roundtrip-sweep] ModelMessagesTypeAdapter: `ToolSearchMatch` items inside `discovered_tools` silently drop unknown keys on round-trip (gap in PR [Content truncated due to length]
- Embedding vectors are missing from traces with `include_content=True`
- An empty-list tool return reaches the model as an empty string on the OpenAI and Anthropic mappings
- Anthropic thinking validation can be bypassed through `extra_body`
- Docs
- Python not yet supported