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
- Support "prompted tool calls" for models that don't have native support (e.g. Ollama + Gemma3)
- More flexible tool exception handling
- GitHubProvider streamed response lacks timestamp
- Add "Circuit Breaker" to Fallback model
- Messages passed to history_processor functions include current run messages
- Send custom events from tool function, for AG-UI and `event_stream_handler`
- Feature request: `message_stream_handler ` / `run_stream_messages`
- Feature Request: Support Both JSON & YAML as Tool Output Formats
- Human in the Loop Approval for Multi Agent Systems
- History and Message (De)Serialization hooks to prevent hitting Temporal payload size limit
- Docs
- Python not yet supported