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
- Native Azure Durable Functions support for Pydantic AI durable execution
- feat(mistral): use json_schema with strict: true for structured output
- Support empty thinking tags for Nemotron outputs
- `Agent(retries=...)` not propagated to user-provided toolsets
- feat: add OpenTelemetry span for output validator functions
- fix: handle empty thinking tags in responses
- fix: propagate `Agent(retries=...)` to user-provided toolsets
- New end_strategy='review' — let the model review and patch output before finalizing
- Built-in HistoryProcessor for orphaned tool call/result repair
- `AGUIEventStream` emits `TOOL_CALL_ARGS` after `TOOL_CALL_END` for same tool_call_id (stray delta), violating AG-UI protocol
- Docs
- Python not yet supported