Skip to content

State

State is the current data available to a workflow: messages, retrieved evidence, decisions, tool results, counters, or other fields needed by later steps.

{
"question": "Why did deployment fail?",
"evidence": ["log-18", "runbook-4"],
"attempts": 1
}

Each node reads relevant fields and returns a controlled update rather than relying on hidden global variables.

Keep the schema explicit and minimal. Define merge behavior for concurrent updates, avoid storing secrets unnecessarily, and isolate state by user and tenant.