Pause agent execution for human approval before destructive or high-stakes actions, then resume.
How an agent pauses for human approval and then resumes
Step 1 of 5
Agent proposes
Working on a task, the agent reaches a high-stakes step, for example sending a refund of a given amount. It stops before executing.
Step 2 of 5
Checkpoint
The agent serialises its state to the checkpoint store and exits. If that state cannot be loaded again, the workflow is stuck, so resume is tested and versioned.
Step 3 of 5
Human review
The approval UI shows the proposed action with its context. A timeout and escalation rule cover the case where nobody responds.
Step 4 of 5
Decision
The reviewer approves or rejects, with a reason. Approval is recorded in the audit log, and the highest-stakes actions can need two people.
Step 5 of 5
Resume
The agent reloads the checkpoint with the decision in context. If approved it calls the tool once, idempotently; if rejected it replans using the reviewer's reason.
The checkpoint is what lets the agent wait for hours without holding a process open.
User
Agent
Checkpoint
Human approval
Tools
clientservicemodeldatabaseagentexternal
Explanation
Before a high-stakes tool call, the agent serialises its state to a checkpoint and waits. A human reviews the proposed action and approves or rejects. The agent resumes from the checkpoint with the decision.
Components
State serialisationCheckpoint storeApproval UI / notificationResume mechanismTimeout + escalation
When to use
Agents that send emails, make payments, modify production data