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
- Leaving `run_stream()` without consuming the stream keeps the run's deps alive until garbage collection
- `HuggingFaceModel` sends `tools: []` when no tool is declared, which vLLM-backed inference providers reject
- Trusted and untrusted workspaces: how workspace-sourced instructions, skills and memory reach the model
- Add `E2BSandbox(desktop=True)` for computer use
- Add `DaytonaSandbox(desktop=True)` for computer use
- Close the gaps between Harness `Skills` and `pydantic-ai-skills`
- Send document citations in message history back to Anthropic and Bedrock
- Record tools that first appear at the start of a run, such as an approval-gated unlock, as `ToolAvailabilityDeltaPart` newcomers
- Let `ToolReturn.tools` accept tool definitions and callables, not only names of deferred tools
- A `tool_call_id` repeated within one response reaches the provider repeated, and six providers reject it
- Docs
- Python not yet supported