deep-agents-orchestration
Skill by langchain-ai
Documents the orchestration features of Deep Agents: subagent delegation, todo-based task planning, and human approval for sensitive tool calls. Aimed at developers building agents in Python or TypeScript.
Install deep-agents-orchestration
Built from the published package, never by AI.
git clone --depth 1 https://github.com/langchain-ai/langchain-skills /tmp/langchain-skills && mkdir -p ~/.claude/skills && cp -r /tmp/langchain-skills/config/skills/deep-agents-orchestration ~/.claude/skills/deep-agents-orchestrationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install deep-agents-orchestration in Claude Code
git clone --depth 1 https://github.com/langchain-ai/langchain-skills /tmp/langchain-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/langchain-skills/config/skills/deep-agents-orchestration ~/.gemini/antigravity-cli/skills/deep-agents-orchestrationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install deep-agents-orchestration in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill documents the orchestration features of Deep Agents. It covers three middleware components that are included by default in create_deep_agent(): SubAgentMiddleware for delegating work through a task tool, TodoListMiddleware for planning with write_todos, and HumanInTheLoopMiddleware for approval before sensitive operations.
The skill explains how to create custom subagents with their own tools, how to attach an interrupt_on setting so a tool waits for approve, edit or reject decisions, and how to resume a paused run with Command. It lists common pitfalls, such as stateless subagents, missing checkpointers, and todo state that needs a thread_id. It is aimed at developers building agents in Python or TypeScript who need delegation, planning, or human oversight.
Written from the project's SKILL.md and checked against it.
What it can do
- Subagent delegationDelegates work to specialized subagents through the task tool, with a default general-purpose subagent.
- Custom subagentsDefines a subagent with its own name, description, system prompt and tools.
- Todo planningCreates and tracks multi-step tasks with the write_todos tool using pending, in_progress and completed status.
- Human approvalUses interrupt_on to require approval before selected tools run.
- Approval decisionsLets a reviewer approve, edit or reject a proposed tool action, with feedback on rejection.
- Resume paused runsResumes an interrupted agent run with a Command carrying the decisions.
What you need
- Deep Agents package (Python or TypeScript)
- A checkpointer such as MemorySaver for HITL interrupts
Try asking
- Set up a researcher subagent with a paper search tool
- Make the agent plan a REST API build as a todo list
- Require my approval before the agent writes to a file
Good to know
- Subagents are stateless and start fresh on each call
- Custom subagents do not inherit skills from the main agent
- Interrupts require a checkpointer
- Todo state needs a thread_id to persist across invocations
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: config/skills/deep-agents-orchestration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md13 KB
Alternatives to deep-agents-orchestration
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
deep-agents-orchestration: common questions
Do subagents remember earlier calls?
No. The skill says subagents are stateless, so complete instructions must be given in a single call.
Why does my approval workflow fail without a checkpointer?
The source says a checkpointer is required when using interrupt_on for HITL workflows, and MemorySaver is shown as the example.
Where can I see the todo list after a run?
The skill shows reading the todos value from the agent's final state after invocation.
How do I install deep-agents-orchestration?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is deep-agents-orchestration free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is deep-agents-orchestration safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to deep-agents-orchestration?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
