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
- Missing Docs: `TextOutput` function result is ignored during `run_stream` + `stream_text`
- Adds PyAI to OpenAI message conversion public interface
- Let Temporal tool activity config be specified more conveniently via tool metadata
- Default to `developer` role for system prompts in OpenAI models
- Allow offloading TemporalAgent dynamic instructions to an activity
- Bedrock's `count_tokens` only works with foundational models
- Support Pydantic BaseModel in Contains evaluator
- Default openai: to Responses API (add explicit chat prefix)
- cohere embeddings requires an embedding types value
- Add `ContextWindowExceeded` exception for detecting input token limit errors
- Docs
- Python not yet supported