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
- Give the `clai2` web orchestrator chat its own model picker and slash commands
- Close `FunctionModel` sources when cancelled before the first chunk
- Streamed response reports `state='complete'` when the stream ends before the provider's final event
- Stop `pydantic_graph` joins finalizing mid-run on partial inputs, and yield join-started tasks from `graph.iter()`
- Let a realtime provider ask the session to approve its own tool calls with `NativeToolApprovalRequest`
- Python 3.11 coverage files lines under the wrong file, failing `strict-no-cover`
- MCP Apps pages don't load in CopilotKit when the agent is served with `AGUIAdapter`
- Let a `PlaywrightBrowser` attached over `cdp_url` drive the browser's existing context
- `OpenAICodexProvider` spends the Codex CLI's single-use refresh token, logging the CLI out
- Support direct image generation with `openai-codex:` image models
- Docs
- Python not yet supported