Pattern 20 · Agents

Agent handoff to a human

When an agent gets stuck it either loops, guesses, or dumps the person into a queue where they must explain everything again.

By Alex StepikinUpdated November 20264 min readLive demo
Live demo · try it

An interactive mock built in plain HTML, CSS and JavaScript. Data is fictional; no model is called.

FitWhen to use it — and when not

Use it when

  • Support and sales agents talking to customers
  • Internal agents that hit a policy limit, missing access or low confidence
  • Tasks where a person must sign off and then the agent continues

Skip it when

  • Approvals of a single action — use human-in-the-loop confirmation
  • Products with no human on the other side; say so instead of promising one

AnatomyThe parts of the pattern

  1. TriggerA rule or the user asks; the reason is stated in plain words.
  2. Handoff noteSummary, what was tried, what is still needed, key facts.
  3. Waiting stateFor the customer: who will reply and roughly when.
  4. Human consoleThe note, the transcript and the agent's suggested next step.
  5. Hand backThe human resolves or returns the task to the agent with an instruction.

GuidelinesDo & don’t

Do

  • Offer "talk to a person" at any point, not only after the agent gives up.
  • Write the handoff note for the human, short enough to read in under a minute.
  • Tell the customer the agent has stopped replying, so two voices do not answer at once.

Don’t

  • Make the customer repeat details the agent already collected.
  • Hide the handoff behind several "did this help?" loops.
  • Let the agent keep acting on the case after a human has taken it.

In the wildReal-world examples

Intercom FinZendesk AI agentsSalesforce AgentforceAda

Products named for reference only — no affiliation, and the demo above is an original illustration, not a copy of their UI.

For engineersImplementation notes

  • Model the case owner explicitly (agent or human id); tools check the owner before acting.
  • Generate the handoff note as structured fields (reason, summary, facts, open questions) so the console can render and search it.
  • Route by skill and availability, and fall back to an asynchronous reply with a time estimate outside working hours.

See alsoRelated patterns

All 32 LLM UX patterns

Need this in your product?

I design interfaces for AI products and agents: approvals, run history, undo, and the small states people notice in daily use. A 1–2 day sprint reviews your app and redesigns one core flow in Figma, at a fixed price from $400 per day. Related case: Atlas, a control room for a fleet of AI agents.

Book a callSee the Atlas case

Create bold.
Deliver better.

See our workGet in touch