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
- `Embedder` and `ImageGenerator` calls from durable-execution workflow code bypass activities
- Make sandbox lifecycle hooks ordinary capability hooks with `@durable_operation` opt-in, construct-only `get_sandbox`, and a `LocalSandbox` capability
- OpenAI Responses streaming retains the requested router alias instead of the terminal served model
- Wire-contract cases assert against their own cassette, so they cannot catch body drift
- `GoogleModel` cannot enable Gemini agentic media processing, and crashes on the responses it produces
- MCP(native=<factory>) with `url=` stamps the local fallback with an `unless_native` id the factory's `MCPServerTool` never matches
- `MistralModel` streaming raises a bare `ValueError` (or drops the text) when output tools are registered and the model answers in plain text
- Split `_agent_graph.py` into a private package
- Support Gemini agentic media processing in `GoogleModel`
- Remove the `anthropic` 1.3.0 dependency cutoff after 2026-09-08
- Docs
- Python not yet supported