The Advanced Agentic AI Ecosystem
Deep Agents is a comprehensive suite of tools designed to bring the power of autonomous, planning-capable AI agents to your development workflow. It goes beyond simple tool-calling loops by implementing advanced cognitive architectures inspired by state-of-the-art systems like Claude Code.
This repository contains the source code for the entire Deep Agents ecosystem:
The core framework for building your own deep agents.
- Planning & Decomposition: Built-in
write_todosfor complex task management. - Context Management: File system tools to handle large contexts.
- Sub-agents: Spawn specialized agents for isolated tasks.
- Memory: Long-term persistence across sessions.
A powerful command-line interface to interact with Deep Agents directly from your terminal.
- Interactive Chat: Chat with your agent in real-time.
- File System Access: Allow the agent to read and modify your local files.
- Smart Diff: Review and apply code changes with precision.
Seamless integration of Deep Agents into your favorite editor.
- Side-by-Side Assistance: Get help without leaving your code.
- One-Click Actions: Apply changes, run tests, and more.
- Context Awareness: The agent understands your open files and cursor position.
Most agents are "shallow"—they just call tools in a loop. Deep Agents are designed to be "deep":
- Planning: They think before they act, creating and updating plans.
- Sub-agents: They delegate work to specialists.
- Environment: They have full access to a file system and tools.
- Detailed Prompts: They use sophisticated system prompts to guide behavior.
pip install deepagentspip install deepagents-cliDownload from the VS Code Marketplace (Coming Soon) or build from source.
from deepagents import create_deep_agent
# Create an agent with default settings
agent = create_deep_agent()
# Run it!
result = agent.invoke({"messages": [{"role": "user", "content": "Plan a blog post about AI."}]})We welcome contributions! Please see our Contributing Guide for details.
Built with ❤️ by the Deep Agents Team.