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
- `ToolDenied(message=...)` and the Vercel AI denial reason reach the model as a plain tool result, not as the user's words
- Don't drain queued 'asap' content into a request that resumes a suspended response
- MCP capability with an IPv6 server URL fails Agent construction
- List valid ids for unknown `load_capability` ids and make loads of already-active capabilities a no-op
- Add thinking-capable model profiles for Nemotron, Inkling, Ling, MiMo, Step and Hunyuan families
- Fix `FallbackCompaction._take_background` discarding a fitting background summary as `stale` on token-dense content
- `OpenAIResponsesModel` sends an appended instruction change as a `system` item after the user's words, and the user's request wins on gpt-5.4-mini and gpt-4.1
- Fix `MCPSamplingModel` system prompt separator and conditional `<system>` announcement
- Claude Haiku 4.5 and Sonnet 4.5 need sealed `<system>` blocks, and a plain-text operator frame typed by the user gets no lookalike note
- An inlined text file can close its own `-----END FILE` fence, and chat-template special tokens get no lookalike note
- Docs
- Python not yet supported