Skip to main content
Durable execution stores the work associated with a conversation or project. It tracks run identity, lifecycle, replayable output, waiting checkpoints, resume signals, and cancellation.

What it owns

DataMeaning
Canonical runShared execution record with run ID, kind, owner, parent run, root run, status, and waiting reason.
Agent runConversation-owned execution for chat and project-agent work.
Workflow runProject-owned execution for a workflow target.
Job runProject-owned execution for background work.
Run eventOrdered payload for text, tools, reasoning, custom data, and terminal updates.
Waiting checkpointStored state for paused work.
Resume signalTool result, approval, event, or input response that moves a waiting run forward.
CompletionTerminal status plus usage, result, and error metadata.

Run types

Run typeOwnerStarted byRepresents
Agent runConversationChat request or agent trigger.Agent execution attached to a conversation.
Workflow runProjectWorkflow start request.Workflow target and step graph state.
Job runProjectJob start request or cron trigger.Background execution of a target.

Workflows, tasks, jobs, and cron jobs

These concepts share durable run infrastructure, but they are different resources.
ConceptMeaning
Workflow definitionMulti-step automation definition.
Workflow runDurable execution of a workflow.
Task definitionDeveloper-defined background work target.
Job runDurable execution of a target, including task targets.
Cron jobSchedule that creates job runs.
See AG-UI event reference for event types.