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
- docs: soft-deprecate `history_processors` in favor of `before_model_request` hooks
- Add runtime `output_retries` override + fix `ctx.max_retries` on tool path + internal rename
- Create FilePart for all files generated by OpenAI and Anthropic CodeExecutionTool
- fix: yield `FunctionToolCallEvent`/`FunctionToolResultEvent` for successful output tool calls
- fix: add missing stacklevel to warnings.warn + sha1 usedforsecurity
- feat: Functional Programming API for Agents/Direct Model Requests
- Anthropic Advisor addition to Pydantic AI calls
- [Feature]: Add field to so judge_output() returns a retry-safe summary separate from verbose reasoning
- Multi-Agent & Sub-Agent Delegation — Dependency Map
- feat: add count_tokens for OpenAIResponsesModel
- Docs
- Python not yet supported