deep-agents-orchestration

Configure subagent delegation, todo planning, and human approval interrupts in Deep Agents.

Updated Jul 16, 2026
One-click install
npx skills add https://github.com/flemx/salesforce-langgraph-agent --skill deep-agents-orchestration-flemx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deep-agents-orchestration
Source: https://github.com/flemx/salesforce-langgraph-agent/tree/main/.agents/skills/deep-agents-orchestration
Command: npx skills add https://github.com/flemx/salesforce-langgraph-agent --skill deep-agents-orchestration-flemx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires deepagents, langgraph.

What problem does it solve? Building agents that delegate work to subagents, plan multi-step tasks, and pause for human approval requires coordinating several middleware components, and misconfiguring them leads to lost state, failed interrupts, or subagents that silently lack expected tools. ## Core Features & Use Cases - Subagent Delegation: Define custom subagents with their own tools, system prompts, and models, invoked through the built-in task tool, with guidance on statelessness and skill inheritance. - TodoList Planning: Use the write_todos tool to plan and track multi-step work with pending, in_progress, and completed statuses persisted per thread. - Human-in-the-Loop Approval: Configure interrupt_on per tool to approve, reject with feedback, or edit proposed actions before execution, with checkpointer and thread_id requirements. - Use Case: An engineer builds a deployment agent where a code-deployer subagent runs tests and deploys, but the deploy step pauses for human approval before executing against production. ## Quick Start Ask the agent to create a Deep Agent with a custom subagent and human approval required before any file write operation.

Frequently Asked Questions about deep-agents-orchestration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a custom subagent in Deep Agents?

Pass a subagents list to create_deep_agent with each entry defining a name, description, system_prompt, and tools. The main agent then delegates work through the built-in task tool, and the subagent executes autonomously and returns a final report.

How do I add human approval before a tool runs in Deep Agents?

Set interrupt_on with the tool names requiring approval and provide a checkpointer such as MemorySaver. When the agent proposes that tool, execution pauses, and you resume by invoking with a Command containing an approve, reject, or edit decision.

Why does my Deep Agent interrupt fail or lose state?

Interrupts require both a checkpointer and a consistent thread_id in the config. Without a checkpointer the agent cannot pause, and without the same thread_id you cannot resume the interrupted workflow with a Command.

Do custom subagents inherit skills from the main agent?

No, custom subagents do not inherit skills from the main agent. You must pass skills explicitly in each subagent's configuration, while the default general-purpose subagent does inherit the main agent's skills.

Can a subagent remember previous task calls?

No, subagents are stateless and start fresh on every task invocation. Provide complete instructions in a single task call, including where to save outputs and what summary to return.