The Hallway Track
Engineering Insights

What Are Subagents? Explained in 4 Minutes

LangChain · Nov 26, 2026 · Engineering Insights

LangChain's Deep Agents uses subagents to isolate context windows and enable parallel task execution

“A subagent is a separate agent, a mini assistant, that the main agent can hand a task to. It has its own instructions, its own tools, and its own fresh context window.”

LangChain's Deep Agents harness introduces subagents as a context engineering solution, where a main agent delegates tasks to isolated mini-agents with fresh context windows, preventing context pollution. Key features include parallel subagent execution, async background agents, specialist subagents with dedicated toolsets, and automatic offloading/summarization to manage context limits. This is an explainer for an existing open-source product rather than a new announcement, making it useful background signal on agentic architecture patterns but not a major industry event.

subagents context-engineering LangChain multi-agent Deep Agents parallel execution

Watch / read the original source →