System prompt
Deep Agents comes with a detailed system prompt heavily inspired by Claude Code’s architecture. This prompt provides instructions for using the planning tool, file system tools, and sub agents effectively.Planning tool
A simple planning tool based on Claude Code’s TodoWrite functionality that helps agents create and track plans in their context, keeping them on track for complex tasks.File system tools
Four built-in tools that mock a file system using LangGraph’s state:ls
- List files and directoriesread_file
- Read file contentswrite_file
- Write to filesedit_file
- Edit existing files
Sub-agents
Built-in support for calling specialized sub-agents with the following:- Context quarantine: Prevents polluting the main agent’s context
- Custom instructions: Tailored prompts for specific tasks
- Tool access control: Subagents can have different tool sets
MCP
Thedeepagents
library can be ran with MCP tools. This can be achieved by using the LangChain MCP Adapter library.
For example: