Navigate Select ESC Close

Dynamic Subagents: How to Run Parallel Agents Reliably in Deep Agents

2026-06-29 Science & Technology
5.3k
167
5
LangChain
LangChain
193.0k subscribers

Unlock all features

FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.

Description

Colin Francis, a software engineer at LangChain, walks through dynamic subagents — a new feature in Deep Agents that lets your agent spawn and coordinate subagents programmatically by writing code. Instead of relying on the agent to orchestrate dozens of tool calls in sequence (and inevitably losing the plot), the orchestration logic moves into code, giving you reliable coverage at scale and real control flow. The video covers all six patterns — from Classify and Act to Loop Until Done — with live LangSmith traces for each. 0:00 What are dynamic sub-agents? 0:31 Live demo: 15 parallel subagents in Deep Agents 1:44 Why sub-agents alone aren't enough 2:52 The book-summarization example 3:35 Orchestration in code vs. in the agent's head 4:40 How the code interpreter middleware works 5:01 The task global: spawning subagents from code 5:48 How to trigger it with the workflow keyword 6:52 The six patterns overview 7:24 Pattern 1: Classify and Act 11:01 Pattern 2: Fan Out and Synthesize 13:37 Pattern 3: Adversarial Verification 17:27 Pattern 4: Generate and Filter 21:00 Pattern 5: Tournament 23:29 Pattern 6: Loop Until Done 25:23 Wrap-up and getting started Extra resources: Deep Agents: https://www.langchain.com/deep-agents

Top Comments (8)

@sanjayb0886 2026-07-05

Well explained, thanks.

0
@smanihwr 2026-07-01

Thanks for the presentation. Can you please upload HD videos?

0
@gecarter53 2026-06-29

Good presentation of an interesting new agent technology I'm anxious to try. Is the code discussed available on Github?

0
@abhisheksharma-sq6bg 2026-07-04

Its good way of handling subagents , only thing which can be more improved on is to find a way to avoid using key words, as programmers we love to programmatically steer it then remember keywords, like say in fanout or filter in api call we can add a flag to steer it that way..( just a thought)

0
@gordeyvasilev 2026-06-30

Cool 👍 Thanks :)

0
@thomasderidder608 2026-06-29

May I propose a pattern where the best of every subagent is kept, but avoid repetition, so that the main agent can collect the combined wisdom of all. It works very well when orchestrated manually, if you can help to do it programatically it will be wonderful

0
@jeffg4686 2026-07-03

Dynamic subagents - whoa...

0
@dashmasterful 2026-07-04

This is all just a slop fever dream. What the hell are we even talking about anymore? What is the valid use case for any of this? None.

0

Unlock the Data Inside
Turn Videos into Knowledge

  • Get FREE 10/day: transcripts, summaries, chats
  • Chat with videos, export text & PDF
  • $1 free API credit for RAG, chatbots & research

Free forever plan • All features unlocked

App screenshot