Try “Claude Code skills”, “MCP servers for Cursor” or “Codex” · Esc to close

Pydantic Deep Agents 🤖 Agent Open source

Model-agnostic terminal coding agent and the Python framework behind it

Agent workflows & frameworks · Open source ★ 1.1k · +8 this week · MIT · updated 2026-09-15

7.0editor score
Visit Pydantic Deep Agents ↗
GitHub stars
1.1k
Stars this week
+8
Forks
133
Licence
MIT
Last push
2026-09-15
Maintainer
vstorm-co
Installpip install pydantic-deep

Third-party subagents & agents run with your permissions. Read the source before installing, and prefer pinned versions.

Works with

Not mapped to an app yet.

About Pydantic Deep Agents

What it does

Pydantic Deep Agents is two things in one repository: a terminal coding assistant in the style of Claude Code, and the Python framework that powers it. Both are built on Pydantic AI and can use Claude, GPT, Gemini or local models. You can use the CLI directly to plan, edit files, run commands and connect MCP servers, or call a single function in Python to get an agent with the same harness for your own tools and products.

What is inside

The harness provides filesystem and shell tools, planning, persistent memory, skills loaded from SKILL.md files, subagents and teams, context management, MCP client support and optional Docker sandboxing. Its most distinctive feature is live run forking: an in-progress run can split into several isolated branches, each with its own copy-on-write file overlay, steering message and budget cap, and a judge, a vote, a manual choice or the exit code of a test command decides which branch to keep. The CLI adds commands for forking and merging, skills, MCP servers, model switching and compaction, plus a headless runner for scripts. Structured output is type-checked through Pydantic.

Works with

It is a standalone agent and framework rather than an add-on for another coding app. It can import MCP server definitions from a Claude Code setup and reads the same skill format.

How to install

For the framework:

pip install pydantic-deep

For the terminal assistant on Windows or without the install script:

pip install "pydantic-deep[cli]"

Maintenance and safety

MIT licensed, frequently released on PyPI, with CI, coverage reporting and a published security policy. The quick-start also offers a curl-to-bash script from the project's own GitHub repository; the pip route is the more auditable option. The comparison table in the README is written by the maintainers, so treat its claims about other tools as their view. Running forks multiplies model spend, so set budgets.

Who should use it

Python developers who want an open, model-agnostic coding agent they can extend, or who are building their own agents and want planning, sandboxing and memory without writing the plumbing.

agent-framework python pydantic-ai coding-agent cli mcp

Pros

  • Same harness usable as a CLI or from one Python call
  • Live run forking with test-based or judge-based merging
  • Any model provider, Docker sandbox and MCP client support

Cons

  • Comparison claims against other tools are the maintainers' own
  • Forking multiplies model spend

Similar subagents & agents

All agent workflows & frameworks →

Spec Kit 🤖 AgentFree

GitHub's toolkit for spec-driven development with AI coding agents

★ 140k · +898 this week

8.5 Visit ↗

Task Master 🤖 AgentFree

AI task management that turns a PRD into tasks your coding agent works through

★ 28k · +39 this week

Fast Agent 🤖 AgentOpen source

Python framework for building, orchestrating and evaluating MCP-native AI agents

★ 3.9k · +9 this week

8.0 Visit ↗

OpenSpec 🤖 AgentFree

Lightweight spec-driven development: agree on changes before the agent codes

★ 71k · +564 this week

7.9 Visit ↗

CC Safety Net 🤖 AgentOpen source

Pre-execution guard that blocks destructive commands and secret access for coding agents

★ 1.6k · +11 this week

7.9 Visit ↗

BMAD Method 🤖 AgentFree

Agile AI-driven development with analyst, PM, architect, developer and UX agents

★ 54k · +269 this week

7.8 Visit ↗

Popular searches