Return to agent

After human work, the agent resumes with the correction folded in and says what it now knows.

Run #915Renewal quote · Northfield Dental Paused for your review
MMilky agent run
  1. Pulled seat usage
    40 seats, 38 active weekly
  2. Read 14 account tickets
    No open issues, 1 pricing question
  3. Drafted renewal quote
    40 seats × $38 per month
  4. Your review
    Paused here · nothing sent
  5. Recalculate totals and terms
  6. Write cover email to Northfield
  7. Post quote to the account page

Checkpoint saved after step 3.

Leo's call notes · Tue 29 Sep

“They're opening a clinic in Eastside in November: +5 seats. I promised to hold last year's $36 rate if they sign by 15 Oct.”

Draft quote Milky draft
Term
12 months from 1 Oct 2026
Annual total
$18,240
Resumes at step 5

Try it: Correct the quote using Leo's call notes (45 seats at $36), then send it back. Milky says what it now knows and carries on from step 5 without redoing anything.

In the wild

How 2 products ship this pattern. Click a screenshot to enlarge it.

Pull request timeline: reviewer comment 'Let's make testID mandatory so it's easier to write automated tests' with an eyes reaction, followed by 'Copilot started work on behalf of octocat' and a View session button
GitHub Copilot
A reviewer's comment on Copilot's pull request sends the agent back to work: it acknowledges the comment, starts a new session and pushes commits to the same branch.
Source: GitHub Docs ↗
Zapier canvas with the AI by Zapier step marked delayed, beside a Run details panel: '1 action needs your approval. This run is paused until you review the pending actions below', with a Gmail Send Email action showing agent-filled fields and Reject / Approve buttons
Zapier
The AI step pauses with the fields it filled in; once someone approves, the run picks up where it stopped instead of starting over.
Source: Zapier Help ↗

When to use

Approval-gated pipelines and any loop where the human is a step, not the terminus.

Seen in

OpenAI Agents SDK resume, StackAI approval resume, workflow builders with HITL nodes.

For engineers

Persist run state keyed to the approval so resume is idempotent and replay-safe.

Build prompt

A neutral, component-only prompt for a coding agent. Edit the stack block or anything else to fit your project, then copy it.

Download this prompt as Markdown, or every prompt as JSON for an agent.

Critique checklist for human handoff

0 of 4 checked

These questions apply to every pattern in this family. Ticks are saved in this browser.