Year: 2026
Type: article
Abstract: Autonomous agents extend LLMs to multi-step tasks by combining reasoning, intermediate decisions, and tool use. However, many LLM-based workflows remain implicit execution chains, making failure localization, recovery control, and intermediate evaluation difficult. This investigation presents Stagent, a finite-state machine architecture that models agent execution as explicit states and transitions, enabling workflow steps to be inspected and redirected after failures. For experimental purposes, we specialize Stagent for tabular document diagnosis as CsvStagent, obtaining valid Finite State Machine (FSM) traces in all executions and reaching 0.963 task success. Our findings show that deterministic diagnostic context and FSM-based verification support traceable diagnosis and future self-healing.
Institution: Universidade Estadual de Campinas (UNICAMP)
Language: English
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7234453094
