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
- Type `TemporalProviderFactory` against agent deps type (v3)
- Emit `reasoning_effort='none'` for Cerebras, deprecate `cerebras_disable_reasoning`, add `cerebras_clear_thinking`
- fix: preformat OTel span names in GraphBuilder API for non-Logfire backends
- Preserve `run_id`, `conversation_id`, and `metadata` when merging consecutive `ModelRequest`s
- Preserve failed/denied `ToolReturnPart.outcome` across the AG-UI adapter round-trip
- Fix fallback model example to use response.output
- Document that MCP config files and graph persistence files are trusted input
- [roundtrip-sweep] AG-UI adapter: ToolReturnPart.outcome silently dropped on round-trip (failed/denied load as success)
- Anthropic mapper re-renders unsigned/foreign `ThinkingPart`s as literal `<thinking>` text in the prompt — model mimics it and leaks reasoning into user-visible answers
- `TemporalMCPServer.get_tools` tool-definition cache breaks workflow replay determinism (TMPRL1100)
- Docs
- Python not yet supported