Skip to content
GitHub (opens in a new tab)

AgentLanes

Deprecated: use AgentOverview with view="timeline". One lane per agent over a time window.

deprecatedOrganismcontracts/agentlanes.json

Preview

AgentLanes

Deprecated: use AgentOverview with the Timeline view. Where every agent is right now. Not RunningNow. Not Calendar.

Master

Open a block for what it did; open a Needs you block to decide on it. Switch the window to zoom.

Agents

2 running1 needs you
  1. OrchestratorOpus 5.5
  2. ResearchIdleHaiku 5.5
  3. CoderSonnet 5.5
  4. DatabaseSonnet 5.5
  5. TesterIdleHaiku 5.5

Usage

AgentLanes shows parallel agents over the last minutes. Blocks carry text, so status never depends on color. A compact list for chrome is RunningNow.

Do's

  • watch several agents work in parallel over the last minutes
  • see who handed work to whom
  • answer a waiting agent from its block

Don'ts

  • a list of running agents for chrome — RunningNow
  • per-agent sub-agent summaries — AgentFleet
  • a calendar of events — Calendar
<AgentLanes
  agents={agents}
  tasks={tasks}
  span={span}
  onSpanChange={setSpan}
  openTaskId={openId}
  onOpenTaskChange={setOpenId}
  onApprove={approve}
  onReject={reject}
/>

Deprecated: use AgentOverview with view="timeline", which renders these lanes on wide screens. Where every agent is right now: one lane per agent over a time window, blocks growing into now, handoffs drawn between lanes, and decisions on the block.

When to use

  • watch several agents work in parallel over the last minutes
  • see who handed work to whom
  • answer a waiting agent from its block

When not to use

  • a list of running agents for chrome — RunningNow
  • per-agent sub-agent summaries — AgentFleet
  • a calendar of events — Calendar

What an agent reads

import { AgentLanes } from "agentic-ds-kit";
must
  • section aria-labelledby the h3 title
  • lanes are a list; each block is a button named with agent, task, status and duration
  • the open block's popover is a named dialog; Escape closes it
  • the decision popover focuses Approve; Reject and Approve show Esc and ⏎
  • axis and handoff lines are aria-hidden
  • the running shimmer and popover motion use transform and opacity, off under prefers-reduced-motion
defaults
  • span 600000
  • title Agents
stops if
  • Do not use in new screens; use AgentOverview with view="timeline", which renders these lanes on wide screens.
  • Do not invent a local AgentLanes, Gantt, or AgentTimeline
  • Do not encode status by color only; blocks and lanes carry text
  • Do not use raw hex
  • Waiting uses caution tokens until an attention role exists
  • AgentLanes has no loading or error prop: while its data loads or fails, render kit Skeleton, LoadError or Empty in its place

From contracts/agentlanes.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.

Props

NameTypeRequiredDefaultNotes
agentsarrayYes—{ id, name, model?, icon? }[] — one lane each, in order.
tasksarrayYes—{ id, agentId, title, status: "done" | "running" | "waiting" | "failed", start, end?, handoffTo?, ask?, summary?, icon? }[]. Times are epoch ms; open tasks grow to now.
spannumberNo600000Window in ms.
nownumberNo—Controlled clock; else it ticks every second.
titlestringNoAgents—
openTaskIdstringNo—Open block: a detail popover, or a decision for a waiting task.
onOpenTaskChangefunctionNo—(id | null) => void. Blocks become buttons; Escape closes.
onApprovefunctionNo—(taskId) => void
onRejectfunctionNo—(taskId) => void
onOpenfunctionNo—(taskId) => void. Open in the detail.
spansnumber[]No—Zoom choices; default 3m and 10m.
onSpanChangefunctionNo—(span) => void. Shows a SegmentedControl.