deepagents-planning-to…
Use the write_todos tool effectively for task planning and decomposition in Deep Agents. Use when users want to (1) implement…
Initialize, validate, and troubleshoot Deep Agents projects in Python or JavaScript using the `deepagents` package. Use when users need to create agents with built-in planning/filesystem/subagents, configure middleware/backends/checkpointing/HITL, migrate from
Claude Code
$ npx -y skills add soba-labs/langchain-agent-skills --skill deepagents-setup-configuration --agent claude-code
Codex
$ npx skills add soba-labs/langchain-agent-skills --skill deepagents-setup-configuration -a codex -y
Cursor
$ npx skills add soba-labs/langchain-agent-skills --skill deepagents-setup-configuration -a cursor -y
Gemini CLI
$ npx skills add soba-labs/langchain-agent-skills --skill deepagents-setup-configuration -a gemini-cli -y
GitHub Copilot
$ npx skills add soba-labs/langchain-agent-skills --skill deepagents-setup-configuration -a github-copilot -y
OpenCode
$ npx skills add soba-labs/langchain-agent-skills --skill deepagents-setup-configuration -a opencode -y
Windsurf
$ npx skills add soba-labs/langchain-agent-skills --skill deepagents-setup-configuration -a windsurf -y
name: deepagents-setup-configuration description: Initialize, validate, and troubleshoot Deep Agents projects in Python or JavaScript using the `deepagents` package. Use when users need to create agents with built-in planning/filesystem/subagents, configure middleware/backends/checkpointing/HITL, migrate from `create_react_agent` or `create_agent`, scaffold projects with repo scripts, validate agent config files, and confirm compatibility with current LangChain/LangGraph/LangSmith docs.
Deep Agents are an agent harness on top of LangChain + LangGraph with built-in planning, filesystem context management, and subagent delegation.
1. Decide if Deep Agents is the right abstraction. 2. Scaffold with `init_deep_agent_project.py` (Python or JS). 3. Customize tools, prompt, backend, subagents, and persistence. 4. Run `validate_deep_agent_config.py`. 5. Use `references/deep-agents-reference.md` for advanced configuration. 6. Run the generated project and verify traces/behavior.
| Need | Deep Agents | LangChain `create_agent` | LangGraph | |------|-------------|--------------------------|-----------| | Built-in planning/filesystem/subagents | ✅ Best fit | ⚠️ Manual middleware setup | ❌ Manual graph design | | Fast path for complex multi-step tasks | ✅ | ⚠️ | ⚠️ | | Fully custom graph topology | ❌ | ❌ | ✅ Best fit | | Minimal/simple agent (1-3 steps) | ⚠️ Overhead | ✅ Best fit | ⚠️ |
Use repo-local scripts and prefer `uv run`.
# Python simple template uv run skills/deepagents-setup-configuration/scripts/init_deep_agent_project.py my-agent --language python --template simple --path skills/ # Python with subagents uv run skills/deepagents-setup-configuration/scripts/init_deep_agent_project.py my-agent --language python --template with-subagents --path skills/ # Python CLI-config template (memory/checkpointer toggles) uv run skills/deepagents-setup-configuration/scripts/init_deep_agent_project.py my-agent --language python --template cli-config --path skills/ # JavaScript template uv run skills/deepagents-setup-configuration/scripts/init_deep_agent_project.py my-agent --language javascript --template simple --path skills/
Templates currently supported by the script:
Generated outputs include:
Run static validation before shipping examples/templates:
uv run skills/deepagents-setup-configuration/scripts/validate_deep_agent_config.py path/to/agent.py uv run skills/deepagents-setup-configuration/scripts/validate_deep_agent_config.py path/to/agent.js uv run skills/deepagents-setup-configuration/scripts/validate_deep_agent_config.py path/to/agent.ts
Validator behavior:
Default middleware includes: 1. `TodoListMiddleware` 2. `FilesystemMiddleware` 3. `SubAgentMiddleware` 4. `SummarizationMiddleware` 5. `AnthropicPromptCachingMiddleware` 6. `PatchToolCallsMiddleware`
Conditionally added middleware:
agent = create_deep_agent(
model="anthropic:claude-sonnet-4-5-20250929", # string or model object
tools=[...],
system_prompt="...",
subagents=[...], # optional delegation specialists
middleware=[...], # optional custom middleware
store=store, # needed for StoreBackend patterns
backend=backend_factory, # State/Store/Filesystem/Composite
checkpointer=checkpointer # required for HITL interrupts
)Backend guidance:
If using human approval interrupts:
A comprehensive collection of agent-optimized skills for AI coding assistants working in the LangChain ecosystem.
Use the write_todos tool effectively for task planning and decomposition in Deep Agents. Use when users want to (1) implement…
Implement multi-agent coordination patterns (supervisor-subagent, router, orchestrator-worker, handoffs) for LangGraph…
Implement LangGraph error handling with current v1 patterns. Use when users need to classify failures, add RetryPolicy for…
Initialize and configure LangGraph projects with proper structure, langgraph.json configuration, environment variables, and…
Design state schemas, implement reducers, configure persistence, and debug state issues for LangGraph applications. Use when…
Use this skill when you need to test or evaluate LangGraph/LangChain agents: writing unit or integration tests, generating test…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration