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
- 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
- Dataset.evaluate never extracts span-tree metrics when the task raises
- Let a capability declare that it must be the innermost execution wrapper, and have the sorter enforce it
- Accept non-string `metadata` values from OpenAI-compatible chat completions
- CI Review agent job fails to check out the PR head: pre-warm rewrites pydantic-ai-runner.lock
- Bump the python-packages group across 1 directory with 16 updates
- Docs
- Python not yet supported