Advertise on Reddit
Skip to Navigation
Skip to Right Sidebar
r/PydanticAI icon
Go to PydanticAI
r/PydanticAI
•
10m ago
VanillaOk4593
Pydantic-DeepAgents: Autonomous Agents with Planning, File Ops, and More in Python
Excited to share a new open-source project I just released: Pydantic-DeepAgents – a framework that extends Pydantic-AI with powerful “deep agent” capabilities, making it easy to build production-ready autonomous agents while keeping everything fully type-safe and lightweight.
What it adds to Pydantic-AI
It brings advanced agent patterns directly into the Pydantic-AI ecosystem:
Built-in planning loops (TodoToolset)
Filesystem access and file upload handling
Subagent delegation
Extensible skills system (define new behaviors with simple markdown prompts)
Multiple state backends: in-memory, persistent filesystem, secure DockerSandbox, and CompositeBackend
Automatic conversation summarization for long sessions
Human-in-the-loop confirmation workflows
Full streaming support
Native structured outputs via Pydantic models (output_type)
Why it fits the Pydantic-AI philosophy
It stays true to Pydantic’s strengths – strong typing, validation, and simplicity – while adding the agent-specific tools many of us have been missing. Compared to heavier alternatives (LangChain, CrewAI, AutoGen), it’s deliberately minimal, easier to customize, and includes production-oriented extras like Docker sandboxing out of the box.
Would love feedback from the Pydantic-AI community – especially ideas on deeper integration with upcoming Pydantic features or new agent patterns! Stars, forks, issues, and PRs are very welcome.
Excited to share a new open-source project I just released: Pydantic-DeepAgents – a framework that extends Pydantic-AI with powerful “deep agent” capabilities, making it easy to build production-ready autonomous agents while keeping everything fully type-safe and lightweight.
Repo: https://github.com/vstorm-co/pydantic-deepagents
What it adds to Pydantic-AI It brings advanced agent patterns directly into the Pydantic-AI ecosystem:
Key features list:
There’s a complete demo app in the repo that shows streaming UI, file uploads, reasoning traces, and human confirmation flows: https://github.com/vstorm-co/pydantic-deepagents/tree/main/e...
Quick demo video: https://drive.google.com/file/d/1hqgXkbAgUrsKOWpfWdF48cqaxRh...
Why it fits the Pydantic-AI philosophy It stays true to Pydantic’s strengths – strong typing, validation, and simplicity – while adding the agent-specific tools many of us have been missing. Compared to heavier alternatives (LangChain, CrewAI, AutoGen), it’s deliberately minimal, easier to customize, and includes production-oriented extras like Docker sandboxing out of the box.
Would love feedback from the Pydantic-AI community – especially ideas on deeper integration with upcoming Pydantic features or new agent patterns! Stars, forks, issues, and PRs are very welcome.
Thanks!