Concept icon
Concept

Phase-Level State Abstraction

In agent runtime architectures like StateM, a phase-level state represents a coarse, semantically meaningful stage of work (such as planning, implementation, verification, repair, or handoff) rather than decomposing execution into isolated micro-actions or narrow node-local model calls. The agent operates as the primary executive, preserving an uninterrupted reasoning loop and tool discretion within each state. Structurally, each phase-level state encapsulates four components:

  1. Entry Hook (in_hook): Executes setup procedures, loads durable progress, and exposes state-local instructions upon entering the phase.
  2. State Body: The primary execution space where the model performs open-ended reasoning, invokes tools, edits files, and iterates on phase goals.
  3. Exit Hook (out_hook): Persists progress, writes execution receipts, and prepares artifacts for subsequent phases upon departure.
  4. Pre-Commit Checks (before_transfer): Gating checks that must pass before a transition can commit, retaining the run in the source state if conditions are unmet.

0

1

Concept icon
Updated 2026-09-29

Tags

Prep Sessions

Engineering State-Bound Execution Runtimes for Autonomous Agents @ University of Michigan - Ann Arbor

Ch.2 Agent Runtime Design and Execution Framework - Engineering State-Bound Execution Runtimes for Autonomous Agents @ University of Michigan - Ann Arbor

Context and Contract Boundaries in Phase Execution - Engineering State-Bound Execution Runtimes for Autonomous Agents @ University of Michigan - Ann Arbor

Autonomous Agent Control Planes: State Scaffolding and Resilient Execution @ University of Michigan - Ann Arbor

Ch.1 Execution Lifecycle and State Boundaries - Autonomous Agent Control Planes: State Scaffolding and Resilient Execution @ University of Michigan - Ann Arbor

States as Context-and-Contract Boundaries - Autonomous Agent Control Planes: State Scaffolding and Resilient Execution @ University of Michigan - Ann Arbor

Related