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
- Thinking-part re-render leak parity: `groq` / `huggingface` / `xai`
- Drop unsigned/foreign `ThinkingPart`s in Anthropic history by default, add `anthropic_send_back_thinking_parts`
- docs: Add sharing messages between agents section and cross-reference
- [roundtrip-sweep] `VercelAIAdapter`: `ToolReturnPart.metadata` data chunks (`DataChunk`/`SourceUrlChunk`/`SourceDocumentChunk`/`FileChunk`) silently dropped...
- Point agents at `pydantic_ai/_utils.py` for shared helpers in `agent_docs`
- fix(huggingface): don't silently drop file content in tool returns
- Update agent model identifier for bank support
- feat(usage): add per_request_input_tokens_limit to UsageLimits
- Unify AG-UI interrupt resume payload via a Pydantic model (`_ResumePayload`)
- `HuggingFaceModel` silently drops file content in multimodal tool returns
- Docs
- Python not yet supported