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
- Vercel AI adapter reports an error for a run that `on_run_error` recovered
- `run_stream()` silently swallows an error raised after streaming starts when `on_run_error` recovers the run
- Pattern guides: grounding validators that check quoted evidence, and not gating side effects on model-reported confidence
- Upgrade guide: a "catching up across many minor versions" page listing behavior changes by version
- `building-pydantic-ai-agents` skill: gaps found reviewing a production codebase
- `migrating-agno-to-pydantic-ai` skill: parity on a live product, trace-store readers, typed team delegation, UI bridges, skill tool-call history
- Anthropic: retry in a fallback output mode, and remember the schema, after an unpredictable `Schema is too complex for compilation` error
- format_as_xml traverses excluded cyclic fields and raises RecursionError
- wait_retry_after ignores max_wait when using its fallback strategy
- Skip hook exceptions cannot be copied or pickled
- Docs
- Python not yet supported