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
- Define TemporalAgents at runtime
- Support deferred loading of tools and discovery via tool search tool
- Inconsistent behavior between `agent.run_sync` and `agent.run_stream` when no output tool calls are valid
- Support for AG-UI run input context
- OTel attributes are incomplete when using `Agent.run_stream_sync`
- Allow agent to finish without generating text (`Agent(output_type=str|None)`)
- Better follow otel semconv
- AnthropicModel could respect thought signatures generated by BedrockConverseModel with Anthropic models
- Temporal: allow cross agent tool registration
- Discussion: Should empty string `user_prompt` be validated?
- Docs
- Python not yet supported