Raft Design System

People and Agents

Working agents

Where it shows that an agent is working, and on what — the summary at the top of the screen, Working now, the agent's row and the line above a channel's composer — and why there is no live bar.

People who share a server with agents want to know three things: whether anyone is working, who, and on what. A glance at the top of the screen answers the first two. The third is written where the work already appears: in the agent's row, above the composer of the channel it works in, and next to its name in a direct message. Nothing moves while the work goes on, and there is no live bar (0006).

When it applies

Any screen that shows agents while they work. An agent is working while its runtime reports that it is thinking or working; its presence light is then the still yellow busy (Identity and presence). It is also working while one of its Workers is working, even when the agent itself is idle: where its light is yellow because of work, every place that says it is working or counts working agents counts it, so the light and the words never disagree (Jasper, Kirby, Tenny, 2026-11-25, slock #16819). Its line in Working now says "Working through a Worker" ("Working through 3 Workers"), and a sidebar row's right side says Working. The one exception is a channel's line above the composer (Who is working here).

Where working shows

PlaceWhat it shows
The top of the screen: the right of the web top bar, the right of a phone's Home bar, or the desktop Chat sidebar header when there is no top barThe summary: up to 3 faces and the count. It opens Working now
Working nowOne row per working agent: its avatar and light, its name, and what it is doing
The agent's row in the sidebar, on Home and in MembersWhat it is doing replaces its runtime on the right of the row
The header of a direct message with the agentIts light and what it is doing, after its name
The conversationThe yellow light on its avatar, on each of its messages
A channelThe agents working in it, and who is typing, floating just above the composer: up to 3 faces and "2 agents working here" or "Niko is typing… · 1 other working" (Who is working here)
A direct message or a threadWho is about to post, in the same place: up to 3 faces and "Niko is typing…"

Where these sit in Raft Chat is in Raft Chat.

The summary and Working now

sidebar/compositions/phone-home
  • Show at most 3 faces in the summary, at 19px (xs), each overlapping the one before by 5px. Follow them with the count in Space Mono. Give the rest only in the count.
  • Give the summary the full sentence as its accessible name: "2 agents working". The faces are hidden from assistive technology.
  • Hide the summary when no one is working. Don't write 0.
  • Open Working now in a Popover 300px wide, aligned to the end of the summary, on a phone too. Title it Working now.
  • Give each row the agent's avatar at 27px (sm) with its light, its name in bold, and what it is doing on up to 2 lines in foreground-muted. Selecting a row opens the agent's page.
  • Order the faces and the rows by when each agent started. Keep that order while the work goes on, so a face moves only when someone starts or stops.
  • Keep an agent listed for 5 seconds after it goes idle. Agents pause between steps; without the grace, faces would leave and come back several times a minute.
  • Take an agent out when it stops, and when no signal has come from it for 90 seconds, so an agent that crashed doesn't stay listed.

Rows and subtitles

  • In the agent's row, write what it is doing in place of its runtime, in text-footnote and foreground-muted. Let it take at most 58% of the row, so the name stays readable (Sidebar).
  • Hide that text from assistive technology. The row's name stays the agent's name, a sentence that changes every few seconds isn't announced, and the light already carries the state.
  • Keep an external agent's runtime in its row instead of what it is doing: its presence is estimated from when it was last seen, and the activity can outlive it.
  • Keep a channel's header to where you are: its name and its description. Who is working there is in the line above its composer (Who is working here), not in the header: the top bar's summary already says whether anyone is working, and in the header the faces and the count crowded the description out, down to two letters on a phone (stdrc, 2026-11-08, #proj-raft-ui:07cd100b).
  • In a direct message's header, write the agent's state after its name in Space Mono, text-mono-meta and foreground-hint, with the full text in a tooltip.

Who is working here

A channel says who is working in it in one line floating just above its composer, and who is typing is part of that line: typing is a special kind of working, the moment before a message (stdrc, 2026-11-08). A direct message and a thread show only who is typing, in the same place.

  • Show the faces of the agents working in the channel, members only, up to 3, in the order they started, as in the summary. An agent working only through its Workers isn't counted here: the line says who works in this channel, and a Worker's channel isn't known. A face doesn't move when its agent starts or stops typing; the sentence says who is typing. An agent typing that isn't listed as working comes after them.
  • Write, in text-footnote and foreground-muted:
    • no one typing: "3 agents working here";
    • some typing: the typing sentence, then " · " and the others: "Niko is typing… · 2 others working";
    • all of them typing: the typing sentence alone.
  • Name up to 3 typing agents: "Niko is typing…", "Niko and Kirby are typing…", "Niko, Kirby and 3 other agents are typing…". When the sentence doesn't fit, end it with "…": the others' count goes first, and selecting the line lists everyone. This line is live status text, not a label, so the rule that a label is never cut (Writing) doesn't apply to it: it changes all the time, and the full list is one selection away.
  • Make the line a button, named by its sentence, that opens Working now for this channel's working agents above it, aligned to its start. A typing agent's row says it is typing. Underline the sentence on hover, as a text-only control.
  • Announce only who is typing, once, in a status region, when it appears. An agent starting or stopping work isn't announced: it changes too often to be read out.
  • Float the line over the bottom of the conversation, on the composer's edge. Give it no solid background and no fade of its own. It sits on the list's end fade, the panel's color fading to transparent upward over the section step, which the list's bottom edge has at all times (Timeline rhythm), so messages scrolled under it are softened, not hidden, and the line stays readable over them.
  • Lift the jump controls above it while it shows: set --message-list-bottom-inset to its height, so Back to bottom stays 12px above the line instead of covering it (MessageList).
  • Reserve no row for it. While nothing shows, the composer sits a section step under the last message (Timeline rhythm). While the line shows, the end of the conversation gets the line's height of extra room, so at the bottom it never covers the last message; scrolled up, messages pass under it. The composer itself never moves.
  • The typing part is for agents only. It comes from an agent starting to send a message; Raft has no such signal for people, and people don't expect one in a work chat.
  • Don't animate it: no dots, no shimmer, no entrance (0006).

Why it floats: a row of its own above the composer has to keep its height while no one is working, or the composer jumps each time an agent starts and stops; that reserved row is empty space most of the time. Floating over the end of the conversation costs no height when no one is working, and the fade keeps it readable without drawing a bar.

Why above the composer: it is where an agent's work shows up when it posts, and where the person who will answer is looking.

What it says

  • Say what the agent is doing, as its runtime reports it, with the task number when there is one: "Editing Flow.tsx · #25".
  • When the runtime reports no detail, write the state: Thinking…, Working…, Starting…, Compacting context….
  • Don't write "Processing…", "Running" or "Busy". More on wording is in Writing about agents.

Why there is no live bar

Raft Chat used to show a live strip of working agents above the phone tab bar and at the bottom of the desktop sidebar (LiveAgentActivityBar). It answered all three questions in one place, and it was the wrong place:

  • It took the spot on the screen that thumbs reach most.
  • Its content changed all the time.
  • It was usually about something other than the page being read.

The strip is split up and each part goes back where it belongs: the summary at the top of the screen, the agent's row, the line above a channel's composer and Working now. LiveAgentActivityBar was removed from raft-ui after 0.56.

  • Don't add a live bar above the tab bar, at the bottom of the sidebar or anywhere else.

Motion

Working is a state, not an event, so its presence lights and summaries don't animate (Motion). The dedicated recent-activity card's Ottie illustration is a bounded exception; it does not change these lights or summaries.

  • Keep the light still. Thinking and working are the same still yellow. The product stopped animating lights because a looping animation kept the page rendering at the screen's refresh rate, and a dozen pulsing avatars got in the way of reading (0006).
  • When an agent joins the summary, let its face slide in and fade, with ease-slide, over about 200ms. With reduced motion, it appears.
  • Replace the count and the text. Don't roll the digits or animate the sentence.
  • In a voice call, a still ring around the agent's avatar means the agent is speaking, nothing more (The call window). Only the agent gets it, it doesn't pulse, and it needs no words: the captions say who is talking.

Turning it off

  • Let people hide the summary and the working line above the composer in Appearance › Live agent activity. The setting is saved on the device.
  • Keep the lights and the agents' rows when it is off: they are the agent's state, not a feed.

When the work ends

  • When an agent finishes, take it out of the summary and Working now. It posts a message that says what it did, with its proof (Hand-offs and approvals).
  • When an agent fails, its light turns orange, it leaves the summary, and its profile says why (Hand-offs and approvals).