ModelRefs / State Machine (Agents) — AI Glossary

State Machine (Agents) — AI Glossary

An agent control architecture defining discrete states and transitions, enabling structured, predictable agent behavior.

Overview

LangGraph implements agents as state machines: graph nodes process state, edges route based on conditions, and the state object carries context between steps. State machines prevent unstructured 'do anything' agent loops, support human-in-the-loop interrupts at defined states, and enable checkpoint/resume for long-running workflows.

Reference details

Topicagents
Also known asfinite state machine, agent graph
Last reviewed2026-06-24

Continue your research

Use these connected ModelRefs sections to compare alternatives, inspect implementation paths, and review the evidence and governance boundaries relevant to State Machine (Agents) — AI Glossary.

Frequently asked questions

What is State Machine (Agents)?

An agent control architecture defining discrete states and transitions, enabling structured, predictable agent behavior.

Is State Machine (Agents) the same as finite state machine?

Yes — finite state machine, agent graph are common aliases for State Machine (Agents).

What concepts are related to State Machine (Agents)?

Closely related concepts include dag, agent, parallel execution.