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 supported1 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- Forward for image parts in
- fix(`GoogleModel`): include `CodeExecutionTool` in `include_server_side_tool_invocations` check
- Fix minor type annotation and docstring issues
- Temporal: cover dict-nested multimodal `ToolReturnContent` round-trip across the activity boundary
- [aw] Pydantic AI Round-Trip Sweep failed
- feat: add TwelveLabs Pegasus video-understanding example
- `GoogleModel` never sets `include_server_side_tool_invocations` for `CodeExecutionTool`, so code execution can't be combined with function tools on Gemini 3
- Document/guard untrusted input in `load_mcp_toolsets` (stdio `command` spawns local processes; `${VAR}` expansion can read process env)
- Inconsistent metadata in `TestModel`: `agent.run()` vs `agent.run_stream()` results
- Fix two flaky tests in `test_online.py` and `test_dbos.py`
- Docs
- Python not yet supported