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 supported6 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- Offer an untrusted workspace's skills through `list_skills` and `load_skill` instead of the `Skills` catalog
- Raise empty and unreadable model responses as `ModelEmptyResponseError` and `ModelInvalidResponseError`, so `FallbackModel` and `ModelFallback` fall back on them
- Add a 'Build your own coding agent in Python' guide
- Add `has_live_background_tools` so a deferred-tool handler can wait for running background tools
- Re-record capability loads and tool discoveries after a compaction as deltas, not a synthetic exchange
- Temporal: size workspace activity timeouts to the command, and explain oversized results
- Move `clai2`'s Claude Code and Codex importers to `CapabilityPart` and provider-less `CompactionPart` once they land
- Decide which framework state in `metadata['__pydantic_ai__']` should become typed message fields
- Carry `ModelResponse.canonical_system` through Vercel AI and AG-UI event streams
- Decide endpoint scoping for replayed Anthropic code execution and MCP result blocks
- Docs
- Python not yet supported