Skip to content

Handoff Baton

Work moving between agents as one object you can follow. The task card travels on an arc from one agent's lane to the next, lands with a little weight, and the lanes beside it give way. A new hand-off while it flies turns it from where it is.

On this page
Used for
  • Watch work pass between agents
  • Show what went along
  • A live relay view
  • Explain a pipeline in a demo

Examples

Installation

Installation is part of Pro

Pro components install from a licensed registry. The live preview stays open to everyone.

Props

agentsrequired
BatonAgent[]
In relay order: id, name, and optionally role and an avatar URL. Two to six read best.
holderrequired
string
Who holds the work now. Change it and the baton travels.
taskrequired
{ title, detail? }
The work, on the baton.
carried
string[]
Default[]
What goes along with it, shown on the baton as Carries Brief, 4 sources.
history
BatonPass[]
Default[]
Passes so far, oldest first: from, to, and optionally at and note. Lanes that passed show what they handed on; the last three are listed.
layout
"auto" | "row" | "stack"
Default"auto"
Lanes in a row from 40rem of width, stacked below.
Motion
-
Travel across the component, 320 to 560ms by distance, ease in-out, then an 8% squash as it lands; the lanes beside it give way 6px then 3px, 30ms apart, four at most. A new holder mid-flight turns it from where it is. Reduced motion: the baton is placed at once and nothing nudges.

Accessibility

  • Lane states change at once and are written out (Working, Handed off, Waiting), with the holder's lane marked aria-current.
  • Who has the work is announced politely after each pass.
  • The baton is a named group with what it carries as its description; the slot outlines are decorative.

What it handles

  1. 01Gives each agent a lane with its state written out: Working for the holder, Handed off with what it passed, Waiting for the rest.
  2. 02Flies the baton (the task and what it carries) on an arc to the new holder's lane when holder changes, 320 to 560ms by distance.
  3. 03Turns a baton that is still in the air toward a newer holder from where it is, so quick passes never jump.
  4. 04Squashes the baton a little as it lands and lets the lanes beside it give way, nearest first.
  5. 05Lays lanes in a row from 40rem of width and stacks them below; the arc bows sideways when it travels down.
  6. 06Lists the last three passes with their time and note.

States

First render
Nothing. The baton sits in the holder's slot
none
New holder
The baton travels on an arc, faster for a short hop
560ms at most, ease in-out
Landing
An 8% squash, then the neighbours give way 6px and 3px
280ms, ease in-out, nearest first
Lane state changes
The label settles and the dot changes colour
180ms, ease out
Reduced motion
The baton is placed at once, nothing nudges
0ms

Works with

When to use

When to use

  • Showing the moment work passes from one agent to the next, with what went along.
  • A live view of a short relay (two to six agents) where the holder changes every few seconds.

When not to use

  • The full history of a relay, with lost context and reassignment: use Agent Handoff.
  • Agents working in parallel: use Agent Lanes.

Using with AI

Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:

  • Add the Knowns UI Handoff Baton to my app and wire it to my own data.
  • I need showing the moment work passes from one agent to the next, with what went along. Set that up with the Knowns UI Handoff Baton.
  • Which Handoff Baton props do I need for a minimal setup? Show me a short example.

With the server connected, your assistant calls get_component({ name: "handoff-baton" }) and search_docs({ query: "handoff baton" }). Pro props, full examples and source come back once your license key is in the MCP config.

Need help?

Stuck on Handoff Baton, or found something off? We read every message.