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
- match OTel GenAI semantic conventions for multimodal (requires instrumentation v4 setting)
- chore(ai): add testing instructions and skill
- `stream_text()` raises `RuntimeError: async generator raised StopAsyncIteration` on client disconnect
- fix: wrap `_stream_text_deltas` with `aclosing` to prevent `StopAsyncIteration` on client disconnect
- chore: add `--debug-with-logfire` to pytest
- Otel logs don't follow genai semantic conventions for multimodal inputs
- fix(vercel): Align `dump_messages` output with Vercel spec
- Handle Anthropic `pause_turn` finish reason
- Vercel Adapter: Difference between `VercelAIAdapter.dump_messages` and Vercel Spec
- Deferred tool handler
- Docs
- Python not yet supported