Build frontends that visualize deep agent workflows in real time. These patterns show how to render subagent progress, task planning, streaming content, and IDE-like sandbox experiences from agents created withDocumentation Index
Fetch the complete documentation index at: https://langchain-5e9cc07a-preview-mdrxyo-1777658790-7be347c.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
createDeepAgent.
Architecture
Deep Agents use a coordinator-worker architecture. The main agent plans tasks and delegates to specialized subagents, each running in isolation. On the frontend,useStream surfaces both the coordinator’s messages and each subagent’s streaming state.
useStream the same way as with createAgent. Deep agent patterns use additional useStream features like stream.subagents, stream.values.todos, and filterSubagentMessages to render subagent-specific UIs.
Patterns
Subagent streaming
Display specialist subagents with streaming content, progress tracking, and collapsible cards.
Todo list
Track agent progress with a real-time todo list synced from agent state.
Sandbox
Build an IDE-like UI with a file browser, code viewer, and diff panel backed by a sandbox.
Related patterns
The LangChain frontend patterns, including markdown messages, tool calling, and human-in-the-loop, all work with deep agents too. Deep Agents are built on the same LangGraph runtime, souseStream provides the same core API.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

