FoundationHazelJS
State
Structured data representing progress, decisions, and artifacts for a run or process.
- Authors
- editorial-team
- Published
- Last reviewed
Direct answer
Structured data representing progress, decisions, and artifacts for a run or process.
Plain language
State is the checklist of where things stand—not the essay the model wrote about it.
Technical explanation
In HazelJS AgentRun: status, step index, tool call records, variables, and pointers to observations/artifacts; checkpointable via durable run stores.
Example
{ status: SUSPENDED, step: 3, pending_tool: refund_charge } on an AgentRun waiting for approveAndResume.