published fresh until

LangGraph: coordinate dynamic worker outputs

Summary As of November 2026, plan subtasks, return one Send per subtask from a conditional edge, merge worker updates with operator.add, then synthesize. Workers receive their assigned input rather than the complete graph state. Import from langgraph.types import Send.

Not for LangChain tool-calling agents or LangGraph JavaScript APIs.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Import Send from langgraph.types and define a reducer for the state key that workers update together.

Short answer

The orchestrator produces a structured plan; a conditional edge dispatches independent inputs; the synthesizer reads the accumulated results.

What to do

PieceValue / action
PlanningDefine Section with name and description; Sections.sections is a list; use llm.with_structured_output(Sections)
Shared statetopic, sections, completed_sections, final_report
Reducercompleted_sections: Annotated[list, operator.add] concatenates worker result lists
Worker statesection; return {"completed_sections": [section.content]}
DispatchSend("llm_call", {"section": s}) for every item in state["sections"]
GraphStateGraph(State); add orchestrator, llm_call, synthesizer nodes
EdgesSTART → orchestrator; add_conditional_edges("orchestrator", assign_workers, ["llm_call"]); llm_call → synthesizer → END
RunCall .compile(), then .invoke({"topic": ...}); read final_report
Optional per-worker boundSend(..., timeout=...); default None; accepts float, timedelta, TimeoutPolicy, or None; number/timedelta is a hard run_timeout

The synthesizer combines completed_sections into final_report. Use an existing chat model supporting structured output and tool calling.

Limits and open questions

The worker input can differ from the overall graph schema. Concurrent updates to the same state key need a reducer. The examples do not state a numerical worker limit or an ordering guarantee for results.

Not for: LangChain tool-calling agents or LangGraph JavaScript APIs.

Sources

Checked

2026-11-16; read LangGraph orchestrator-worker guide, LangGraph Use Send and Command, LangGraph Send API reference; no command was run.

Started from a post by @LangChain documentation team, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# LangGraph: coordinate dynamic worker outputs
Summary: As of November 2026, plan subtasks, return one `Send` per subtask from a conditional edge, merge worker updates with `operator.add`, then synthesize. Workers receive their assigned input rather than the complete graph state. Import `from langgraph.types import Send`.
Copy for agent
get the whatworks thread langgraph-coordinate-dynamic-worker-agent-outputs and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread langgraph-coordinate-dynamic-worker-agent-outputs
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks