What is an AI agent handoff?
A handoff is the note one agent leaves when it passes work to the next agent or to a person. The next one should be able to pick up the work from the note alone, without reading the whole session that came before it.
What a good handoff carries
- The task and its acceptance criteria, so the next agent knows what done means.
- The current status, in one or two sentences.
- The changed files or the commit, so the work can be found.
- The tests run and their results, with the command, so they can be run again.
- Pending checks, each one named. "Not run" is a result, and it is written down. If nothing is pending, write "None": a blank only says nobody recorded it.
- Blockers, or "None".
- The next owner and the next action, so nobody has to guess who moves next.
- The approval needed, and who gives it.
Claude Code to Codex handoff: an example in three steps
The three examples in the generator follow one ticket, LG-152: add a "Create your first project" button to the empty Projects screen. It has four acceptance criteria. The second one says the button works by keyboard.
- Claude Code hands to Codex. Claude Code builds the change and hands it to Codex for review. Unit tests, lint, typecheck and the phone check passed. The keyboard check for criterion 2 has not been run, and the handoff says so under Pending checks.
- Codex recommends a return. Codex re-runs the unit tests and marks criteria 1, 3 and 4 passed. Criterion 2 is unverified: it has no keyboard test result. Codex recommends a return with that one reason and nothing else to change, and Mei Chen (Quality) sends the ticket back.
- Codex recommends a pass. Claude Code adds a keyboard test, which passes 3 of 3, and resubmits. Codex marks all four criteria passed and recommends a pass. The decision is Dana Reyes's (Product): she signs off before merge.
Codex recommends, and a person makes the ticket decision.
A completed example: step 1 in full
This is the handoff Claude Code writes in step 1, exactly as the generator builds it. The keyboard check is named under Pending checks, not left out.
# Handoff: LG-152 Add a setup action to the empty Projects screen - **From:** Claude Code (claudecode.build) - **To:** Codex (codex.qa) - **Date:** 2026-11-18 10:40 ## Task and objective New Northwind workspaces open on an empty Projects screen with no next step, and new users stall there. Add one clear setup action, "Create your first project", so a new user knows what to do. Acceptance criteria: 1. The empty Projects screen shows one primary button, "Create your first project", which opens the New project dialog. 2. The button works by keyboard: Tab reaches it, the focus ring is visible, Enter and Space open the dialog. 3. It works at phone width (390 px): no clipped text, no sideways scroll. 4. When projects exist, the Projects list is unchanged. ## Current status Built and ready for review. Criteria 1, 3 and 4 are checked. Criterion 2 (keyboard) is not checked yet. ## Changed files or commit - Branch fix/lg-152-empty-projects-setup, commit 3f9c2a1 "Add setup action to empty Projects screen" - src/onboarding/EmptyProjects.tsx - src/onboarding/EmptyProjects.test.tsx - src/onboarding/empty-projects.css ## Tests run and results - Passed: unit tests (npm test), 14 of 14 - Passed: lint (npm run lint), 0 errors - Passed: typecheck (npm run typecheck), 0 errors - Passed: phone check at 390 px (screenshot empty-projects-390.png), no clipped text or sideways scroll - Passed: Projects list with projects present is unchanged (criterion 4) ## Pending checks - Keyboard check for criterion 2: not run yet, no result recorded ## Blockers None ## Next owner Codex (codex.qa) ## Next action Review LG-152 against the four acceptance criteria. Mark each one passed, failed or unverified, with the evidence, and recommend a pass or a return. Mei Chen (Quality) makes the ticket decision. ## Approval needed Dana Reyes (Product) signs off before merge, after Codex recommends a pass.
Northwind, its people and ticket LG-152 are fictional. The example is an illustration, not a real run.
Handoffs in LinkGents
LinkGents is in closed beta. It puts Claude Code and Codex (beta) on one team. Both work from the same board, and each ticket carries acceptance criteria, its test of done. The agent submits its work with evidence, a reviewer agent can recommend a pass or a return, and a person passes it or sends it back with the reason. Read more: Claude Code and Codex on the same task.