Agent State Machine

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2026 Aug 3 15:34
Editor
Edited
Edited
2026 Sep 4 13:53

Agent State Graph

 
 
 
 
 
 
Verifying your browser | OpenReview
article
Automata from Agent Traces
Automata from Agent Traces: compact finite-state machines extracted from LLM agent traces for failure prediction, next-step prediction, and runtime monitoring.
Automata from Agent Traces
Vedansh — backend & AI engineer
Storage engines, network stacks, real-time media — from scratch, grounded in the papers. AI/ML systems.
concurrent work from
Alergia
arxiv.org
news
Rohan Paul on Twitter / X
Different LLMs may behave more similarly inside an agent harness than their raw traces suggest.LLM agents can produce massive traces while following a surprisingly small behavioral graph, and that graph can predict both what happens next and when a run is failing.Basically… pic.twitter.com/Iv0AB8jK1V— Rohan Paul (@rohanpaul_ai) September 2, 2026
Rohan Paul on Twitter / X
// Automata from agent traces // How much of your agent's behavior comes from the model, and how much from the harness you wrapped around it? New work collapses an entire corpus of agent traces… | DAIR.AI
// Automata from agent traces // How much of your agent's behavior comes from the model, and how much from the harness you wrapped around it? New work collapses an entire corpus of agent traces into a single compact finite-state machine. Across twelve public datasets the induced machines run 7 to 43 states, replay held-out data at 0.997 fitness with near-identical topology across splits, and build in milliseconds. FSM-state context beats Agent Workflow Memory on every ground-truth-matched dataset for next-step prediction. Per-state behavioral features reach held-out AUROC up to 0.94 for failure prediction, and an online monitor ranks failing runs above passing ones from a partial trace, triggering early stopping well before completion. The authors suggest that behavioral topology gets shaped more by the deployment harness than by the LLM underneath it.
// Automata from agent traces //  How much of your agent's behavior comes from the model, and how much from the harness you wrapped around it?  New work collapses an entire corpus of agent traces… | DAIR.AI
elvis on Twitter / X
Another good paper. Interesting finding on the benefits of the agent harness. https://t.co/12iaK1sZ7J— elvis (@omarsar0) August 27, 2026
 
 

Recommendations