WhoBuilt

state machine

A system that moves between defined states according to rules.

Also known as statecharts, State machines, state machines, finite state machines

Key facts

Capabilities
guards can validate agent output and route errors to retries or mitigation states
workflow traces can be mapped to transitions for visualization and debugging
deterministic workflows can constrain nondeterministic agent behavior and enforce transitions
coordinates lesson steps and handles what happens next outside the model
predictable, traceable, auditable, reliable, and recoverable behavior
They can visualize what an agent is doing as it moves between actions.

Timeline 6

Dated events, newest first. Open the sources under any item.

How we verify
20265 events
October
  1. as of Oct 2026Capability
    Guards can validate agent output and route errors to retries or mitigation states
    “you have guards. You could say it must pass the schema” 7:00
    Unverified1 source· Talk
  2. as of Oct 2026Capability
    Workflow traces can be mapped to transitions for visualization and debugging
    “you can map your traces to each of the transitions in the state machine” 2:14
    Unverified1 source· Talk
  3. as of Oct 2026Capability
    Deterministic workflows can constrain nondeterministic agent behavior and enforce transitions
    “you have determinism in the core and nondeterminism in the edges” 1:12
    Unverified1 source· Talk
September
  1. reported 2026-09Capability
    They can visualize what an agent is doing as it moves between actions.
    “how you can visualize what your agent is doing” 7:02
    Unverified1 source· Talk
July
  1. as of Jul 2026Capability
    Coordinates lesson steps and handles what happens next outside the model
    “Everything about what happens next ... is done outside the model.” 2:26
    Unverified1 source· Talk
20251 event
  1. as of Feb 2025Capability
    Predictable, traceable, auditable, reliable, and recoverable behavior
    “they are predictable, traceable, and auditable” 4:23
    Unverified1 source· Talk

Talks 12

11:17
Human Approval for AI Agents: State Machines

David Khourshid explains how state machines can provide deterministic control around nondeterministic AI agents. A workflow can constrain which steps an agent may take, enforce requirements such as user approval before sending an email, and make behavior easier to inspect through traces mapped to state transitions. He describes implementing this pattern as a loop that processes events, selects the next state, and runs effects, with guards and recovery paths for invalid outputs. He also discusses how Stately.ai uses AI to generate and validate state machines, and mentions LangGraph as another way to define agent logic with state machines.

Oct 12, 2026· 11 minDiscussed 0:16
21:17
Goodbye Slop; Welcome Determinism

David Khourshid argues that explicit state machines can make AI agents more predictable while preserving flexibility in content generation. Using an email drafter, he shows how state machines encode rules and safeguards, make workflows inspectable, and produce structured traces for evaluation. Those traces and evals can be used to propose and compare improved workflows. He also demonstrates a state machine guided by Jeb to operate a virtual espresso machine, including recovering from a broken grinder.

Sep 22, 2026· 21 minDiscussed 1:22
18:57
Agent Conf 2026 Day 2 Recap

The conference recap explains how agent swarms and fleets can coordinate to build software through software factories, and how guardrails and clearer ways to visualize agent behavior help make that work manageable. The speakers contrast yesterday’s practical agent tooling with talks that showed larger systems for producing software and analyzing data. They also discuss whether chatbots and agents will replace app interfaces, using flight booking as an example of where people may still want to compare options and make the final choice. The recap ends with a prediction that personal voice assistants could soon assemble custom interfaces and agent workflows from a conversation.

Sep 21, 2026· 19 minDiscussed 7:02
6:07
Don't Let the LLM Drive

The talk explains how ACE, a live AI voice tutor, uses a state machine and an external harness to control lesson flow. Each step gives the language model a narrow task, while the harness validates its output and chooses what happens next. This reduces skipped or repeated steps and lets the team use Claude Haiku 4.5 instead of a larger model. The speakers apply the same principle to other agent systems: keep control flow outside the model so it can focus on producing the requested output.

Jul 20, 2026· 6 minDiscussed 0:56
5:44
Your Voice Agent Doesn't Need a Frontier Model

The talk explains how Ace, a live AI voice tutor, uses a small model to keep voice responses fast. Instead of asking the model to plan lessons, track student mastery, and decide what happens next, Ace handles those tasks in a state machine and scaffolding code. The model focuses on speaking, which the speakers say brings response time down from several seconds to about 900 milliseconds. This approach requires upfront engineering to keep a small model on track, but that logic is built once rather than paid for on every turn.

Jul 20, 2026· 6 minDiscussed 2:26
Show 5 more talks
See all 12 talks