Deterministic Workflows vs Autonomous AI Agents in LangGraph
A four-part production guide to deciding step-by-step between code, one schema-bound turn, and an autonomous agent; building StateGraph workflows with interrupt() gates and parallel Send fan-out; and splitting graph tests from model node evals.
- When to Use a Deterministic Workflow Instead of an AI Agent: A Step-by-Step Guide (2026-11-28) — We started strictly agent-first, then watched a prompt-orchestrated agent skip approval gates and fabricate verification with zero tool calls. The three-question process test and three-shape step rule (code, one tool-less schema turn, or autonomous worker) we now use.
- Building Deterministic LangGraph Workflows: StateGraph, interrupt() Gates, and Durable Jobs (2026-11-29) — How to build LangGraph StateGraph approval gates that hold across two-day waits, weird client payloads, and killed Kubernetes pods: top-of-node interrupt replay, fail-closed resume parsing, separating checkpoints from durable job records, and abandoned-run reconcilers.
- Parallel Fan-Out in LangGraph: Send, Bounded Concurrency, Nested Graphs, and Tool-Less Turns (2026-12-01) — Moving per-service AI analysis from a serial 90-minute prompt loop to LangGraph Send with max_concurrency=4, operator.add reducers, partial-failure outcomes, closure-wrapped workers, hidden nested workflows, and single tool-less schema-bound model turns.
- How to Test and Evaluate LangGraph Workflow Agents: Graph Tests vs LLM Node Evals (2026-12-03) — When an AI agent is 80% LangGraph StateGraph and 20% model nodes, judging the whole run wastes money while unit tests alone miss contract drift. How we split topology tests from node-boundary evals, diffed 60 days of trace paths, and caught copied rules drifting in two weeks.