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
- Docs: DashScope vision example and alibaba: vs openai: integration guide
- Add `StopRun` exception to end an agent run with a given output
- Expose a public capability API to commit validated tool results as final output
- Migrate `GoogleModel` to the Interactions API (GLA-only today; blocked on Vertex + gateway parity)
- Option to emit `gen_ai.agent.name` as a dimension on GenAI client metrics (token usage, cost, TTFT)
- Expose the live `AgentRun` handle from `to_web`/`dispatch_request` for cross-request steering (interrupt / enqueue)
- DBOS `fork_workflow` re-executing a stdio-MCP `get_tools` step deadlocks on the fastmcp `StdioTransport` init handshake
- Add `pytest.mark.eval` integration for `pydantic-evals`
- Buffer partial thinking tags across stream chunks
- Native minimax support
- Docs
- Python not yet supported