Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 86
  • 1.4k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-orchestration

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install deep-agents-orchestration in Claude Code

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

A

No 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 →

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.

deep-agents-orchestration Install

Add to stack

Loading.