25 "IDLE",
"PLANNING",
"EXECUTING",
"WAITING_TOOL",
"VERIFYING",
26 "DELEGATING",
"COMPLETE",
"ERROR",
"INTERRUPTED",
"PAUSED",
37 auto idx =
static_cast<int>(state);
Types for the agentic loop engine.
Activate model on GPU (WARM → ACTIVE).
const char * agent_state_name(AgentState state)
Get the string name for an AgentState value.
static const char *const kStateNames[]
Lookup table for AgentState names indexed by enum value.
AgentState
C++ enum class for agent execution states.
double start_time
Loop start (seconds since epoch)
int duration_ms() const
Get loop duration in milliseconds.
double end_time
Loop end (seconds since epoch)