AyotundeWorkResume
AI EXPERIMENTAI PRODUCT DESIGN · HUMAN–AI COLLABORATION · EVALUATION

Handoff: from AI escalation to human action.

An AI-to-human support handoff console. When an AI agent hits its limit mid-chat, Handoff gives the human agent a three-line brief, confidence-tagged claims (verified, inferred, uncertain), and sourced reply suggestions, then captures their corrections to improve the next draft. Designed in Claude Design and built with Claude Code, using real LLM calls and a repeat-run evaluation set.

Handoff console with a three-part brief, conversation, evidence-backed claims, and reply composer
40

briefs evaluated across eight transcripts, five runs each

92%

required checks passed: 170 of 185

45/45

predefined claims that must not be verified stayed unverified

Prototype results on test data, including five AI-authored sample cases. The predefined checks did not catch every trust issue.

Explore evaluation and limitations ↗

The handoff is a product.
Not an edge case.

When an AI support agent reaches its limit, a human inherits a conversation they never saw. A transcript alone leaves them to reconstruct what happened, what the AI tried, and which claims they can trust—all while the customer waits.

I set a narrow goal: help the human agent understand the situation and decide what to say next from one screen. I designed the console in Claude Design, built it with Claude Code, and tested its model-generated briefs rather than stopping at a polished interface.

MY ROLE

Solo designer & AI-assisted builder
Product design, implementation, prompts and evaluation

TOOLS & STACK

Claude Design · Claude Code · Claude API
Next.js, TypeScript, Tailwind and Zod

TIME & STATUS

Almost eight hours
Working prototype on sample data

THE DESIGN GOAL

A ten-second read, with a path to the evidence.

The brief should orient the agent quickly. Confidence labels and expandable evidence let them inspect a claim before acting. The evaluation later showed that the brevity goal still needed work.

Orient first.
Make trust inspectable.

The brief answers three questions: what is happening, what the AI already tried, and why it escalated. The conversation and reply sit on the left; claims, missing information and the hand-back instruction sit on the right.

✓ Verified

Show what supports it.

A data field, policy source or direct quote supports the claim. A quote can verify what someone said; it cannot prove the underlying event happened.

◐ Inferred

Separate interpretation.

A reasonable reading of the evidence that the evidence does not state directly.

? Uncertain

Keep the gap visible.

The claim lacks confirmation. Icons, labels and border styles distinguish the states without relying on colour alone.

01 / HAPPY PATH

Read the brief. Inspect a claim. Draft a reply.

A duplicate-charge escalation shows the core flow. The human can inspect evidence, request a sourced draft, edit it, and explain what needed correcting.

Duplicate-charge escalation

The console separates account-backed facts, interpretations, and unconfirmed customer assertions.

The working prototype uses real model calls. The recording follows the brief, expandable evidence, draft generation and correction flow.

02 / LOW CONTEXT

Say what is missing.

Two short customer messages and no account match are not enough for a confident explanation. The low-context banner makes that limitation explicit, and the checklist helps the agent ask useful questions first.

Limited information and missing context

The brief stays short on purpose when the customer and problem cannot yet be identified.

The low-context case makes the missing information visible rather than inventing a complete account of the issue.

03 / OUTDATED POLICY

Put the warning where the reply is written.

The AI quoted policy v3.1 and a ten-working-day refund timeline. The current sample policy, v3.2, says five. A warning above the reply composer directs the human to check the source before continuing.

Outdated-policy warning beside the reply

The source warning is deterministic string matching against the policy file, separate from model confidence labels.

The console flags a superseded policy cited earlier in the conversation. The build warns; it does not automatically remove the sentence from a draft.

THE CORRECTION LOOP

Use the correction in the next draft.

When the human edits a draft, they can tag the issue: wrong policy, tone, outdated information or missing context. The last five saved corrections enter the next reply prompt, and the console reports how many it used. This is prompt context, rather than model retraining.

Send remains disabled because this prototype cannot send a message. Hand-back records an instruction; there is no live AI agent to receive it.

Generate the implementation.
Keep the decisions explicit.

I used Claude Code to build from the Claude Design canvas, then directed the API behaviour, validation, error states and evaluation. The build log records what the agent got wrong and the decisions I made in response.

Start with the model contract

Write the brief prompt and API route before the console UI. Keep a baseline before changing the prompt.

Make failures visible

Validate output after every model call with Zod. Disable default silent retries and distinguish invalid output, timeouts, refusals and API errors.

Protect the evaluation

Send only transcript IDs and messages to the brief model. Keep expected answers out of the prompt to avoid answer leakage.

Close the interaction loop

Build sourced drafts, correction capture and repeatable runs. Inspect the console at desktop and mobile sizes.

Two decisions from the build log.

The schema still needed a runtime gate

The SDK moved some enum values and list limits into descriptions. I kept post-call Zod validation as the real gate, including the rule that a claim without evidence cannot be verified.

A successful preview message was not proof

The preview tool reported a running server while nothing was listening. Browser checks exposed that issue and a Next.js file-read error. Both had to be fixed before the console could be reviewed.

Test the brief.
Then test the checker.

I wrote three transcripts by hand: a clear duplicate charge, a claim contradicted by account data, and a chat with almost no context. Claude Code generated five additional, labelled sample cases. Each of the eight ran five times, producing 40 briefs with the frozen v1 prompt.

Code checked sentiment, word counts and evidence presence. A stronger model graded meaning-based checks and had to quote the brief text supporting its verdict. Required checks focused on trust; stretch checks focused on coverage.

170/185 required checks

92% passed across verified claims, claims that must not be verified, sentiment, escalation reasons and limited-context handling.

138/155 stretch checks

89% passed on situation coverage and missing-information prompts. These are repeated checks on test cases, not a production success rate.

9/40 clean situation sentences

Only nine situation lines met the one-sentence rule without semicolons. Lines ran 24–43 words; missing-information lists ran 3–7 items.

7/10 human–judge agreement

My spot-check agreed with all six judge passes and one of four fails. The three disagreements were partial matches I would accept. Ten items show a direction, not a reliable agreement rate.

CHOOSING THE DEFAULT PROMPT

Shorter was not automatically better.

After one run, v2 appeared to fix sentiment. Repeated runs showed v1 already returned “calm” consistently in that case. V2 improved one escalation field but weakened other important information.

Low-context escalation names both blockersv1: 0/5 → v2: 5/5
Refund above the AI limit is verifiedv1: 5/5 → v2: 2/5
Situation conveys the billing disputev1: 5/5 → v2: 0/5

I kept v1 as the default and drafted v3 without claiming it had been tested.

AUDIT BEYOND THE EXPECTED ANSWERS

Passing the listed traps did not mean every claim was safe.

All 45 predefined “must not be verified” checks passed. To look beyond that list, I audited the evidence categories across 221 verified claims: 140 cited data fields, 74 relied only on customer quotes, and seven relied only on AI-agent quotes.

The audit surfaced an assertion that the customer had cleared their cache, supported only by “Of course I did.” Another brief invented the customer’s gender. Neither issue was covered by the predefined checks. The quote-only wording check used a heuristic and a read of flagged rows, not a manual review of every claim.

Evaluation boundaries and prototype limits
  • Five of eight cases and their expected answers were AI-authored sample data. Five runs per case reveal patterns, not population rates.
  • The grader was tuned against hand grades and is stricter than the project owner on partial matches. Three of 300 verdicts flipped when identical briefs were regraded.
  • The outdated-policy detector is string matching. Its draft-text path was checked on sample sentences; the one real draft did not repeat the stale timing.
  • Error states were checked with simulated responses, rather than observed model failures.
  • The prototype cannot send replies or transfer control to a live AI agent.
WHAT I TOOK FORWARD

A convincing interface needs an inspectable trust model.

The most useful learning came from checking where confidence labels, prompt revisions and evaluation scores could mislead the human using them.

Repeat before concluding

A single model response is a hint. Repeated runs exposed both improvements and regressions before I changed the default.

Evaluate beyond the answer key

Add checks for assertions presented as facts and invented details. The original trap list missed both.

Fix the next-action blockers

Test v3, improve escalation reasons, and prioritise missing information that blocks the human’s next action. Recheck the grader against human judgments.

CONTINUE EXPLORINGLFFY ↗
LET’S WORK TOGETHER

Good conversations.
New possibilities.

I’m always open to interesting conversations—about design or what comes next.