LangGraph Workflows
Use LangGraph when you need fixed steps, branches, and parallel workers beyond create_agent.
Core concepts
Prompt chaining
Fixed multi-step LLM pipelines (translate → polish → QA)—predictable and testable.
Routing
add_conditional_edges picks the next node from state or structured LLM output.
Orchestrator-worker
Split work with the Send API; workers run in isolated state; orchestrator merges results—great for multi-section reports.
Agents as nodes
Compose LangChain agents inside LangGraph graphs.
ToolNode
Handles parallel tool calls and error propagation.
Workflows vs agents
Workflows: you define control flow. Agents: model defines it. Production often mixes routing, agents, and deterministic checks.
Streaming & deployment
app.stream(..., stream_mode="updates") + LangSmith traces. See official Deployment docs for LangGraph Platform.