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
- fix(groq): pair `NativeToolCallPart` and `NativeToolReturnPart` for streamed `executed_tools`
- [roundtrip-sweep] `_clean_message_history`: `ModelRequest.metadata` is dropped on consecutive-request merge
- [streaming-resilience-sweep] Streaming: `stream_output()` doesn't set `is_complete=True` on early break
- Allow `requires_approval` to accept a callable for conditional per-tool approval
- fix: complete stream output after early break
- fix: serialize callable thinking provider details
- [roundtrip-sweep] AG-UI adapter: ThinkingPart.id is lost on round-trip when original id is None
- fix: preserve `ThinkingPart.id` in AG-UI round-trips
- fix: restore `ThinkingPart.id` in AG-UI adapter on round-trip
- Cerebras: multi-turn reasoning history broken for zai-glm, and `cerebras_disable_reasoning` is deprecated upstream
- Docs
- Python not yet supported