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
- Honor content-bearing `CompactionPart`s cross-provider instead of replaying the full pre-boundary history
- Support passing a `RealtimeModel` as `Agent(model=...)`
- Run history processors and `ProcessHistory` capabilities before realtime session seeding
- Support richer `RunContext.enqueue()` content in realtime sessions
- Interactive human-in-the-loop tool approval in realtime sessions
- Persist realtime provider resumption handles across processes
- Drop the fabricated `run_input` stubs from the Vercel AI event stream tests
- `OpenAIEmbeddingModel.embed()` doesn't preserve batch response order (drops per-item index)
- Allow output tools to be deferred and revealed by capabilities
- Add a part-rewrite helper to `pydantic_ai.messages` for history processors
- Docs
- Python not yet supported