How to Build Parallel Branches in LangGraph With the Send API
Build parallel branches in a LangGraph graph with the Send API so independent items are processed at the same time.
THE FIELD GUIDE
Build, connect, and test tool-using agents and repeatable AI workflows with practical examples.
Build parallel branches in a LangGraph graph with the Send API so independent items are processed at the same time.
Resume a LangGraph run from its checkpoint using the same thread id so a crashed or paused run continues where it stopped.
Add a conditional edge to a LangGraph graph so the next node is chosen from the state instead of fixed order.
Add a human-in-the-loop interrupt to a LangGraph graph so a person approves a tool call before it runs.
Stream an OpenAI Agents SDK run so you can show tokens, tool calls and handoffs as they happen.
Set a structured output type on an OpenAI Agents SDK agent so its final answer is returned as validated data.
Build a realtime voice agent with the OpenAI Agents SDK so callers can speak to it and hear it answer.
Add an MCP server to an OpenAI Agents SDK agent so it can use the server's tools alongside its function tools.
Set the maximum consecutive auto-reply count on an AG2 agent so a runaway conversation stops instead of looping.
Run AG2 agent code execution inside Docker so generated code cannot touch your files directly.