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
- `Annotated[str, AfterValidator(...)]` output type leads to a spurious `json_invalid` error
- `Memory` tools fail inside Temporal activities because `ctx.tracer` is not available
- `dataclasses.replace` on `WebFetch`, `WebSearch`, `XSearch`, `ImageGeneration` and `MCP` keeps the previous native and local tools
- Investigate GPT-Live simulation `wait.hang` after queued delegations
- Recognize `models/` Google model IDs in thinking profiles
- Raise `WorkspaceUnavailableError` when a Sprites environment is destroyed during a command
- Add a core `RetryOnModelErrors` capability to retry the same model on chosen errors
- Model request reliability: retries, deadlines, errors, fallback accounting
- Deprecate `clai` in favour of `pydantic-clai2`
- Separate `SubAgent.on_failure` behavior and align delegation controls
- Docs
- Python not yet supported