Skip to content

Activity Graph

Which task each person is on right now, and whether an AI is helping them. People on the left, tasks by project on the right, and nothing between them until you point at someone: then their edges appear, with the agent sitting on the edge to the task they are on.

On this page
Used for
  • Team live activity
  • Who works with AI
  • Standup at a glance
  • Project pulse
  • Agent adoption

Examples

Range

A person pinned

Maya is on AT-124 with Fixer: the solid edge carries the agent. The dashed ones lead to the tasks she touched earlier in the hour.

Narrow

Below 720px there are no edges. Tap a person and the task list shows only theirs.

Your own rules

By default a person is on the task of their latest event in the last 10 minutes, and an agent helps them when it touched that task in the same 10 minutes. Pass your own when you know better, for example from assignments.

Installation

Installation is part of Pro

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

Props

actors / objects / events
Actor[] / ActivityObject[] / ActivityEvent[]
People get a row each; agents show as the helper on a task. Objects are { id, kind, label, short?, group?, href? }; events are { id, actorId, objectId, at, verb? }.
range / defaultRange / onRangeChange / ranges
"15m" | "1h" | "today"
Default"1h"
The window. ranges sets the options; an empty list hides the switch.
now
number
Defaultthe clock
The end of the window. Default: the clock, refreshed every 30 seconds and on every new event.
currentWindow / currentOf / pairsOf
number / (actorId, events) => id | null | undefined / (personId, events) => string[] | undefined
Default10 min
What counts as on a task now, and which agents help. Return undefined to keep the derived answer.
selected / defaultSelected / onSelect
string | null
Defaultnull
The pinned person.
groupBy
"group" | "kind" | (o) => string
Default"group"
How tasks are grouped.
onOpenTask
(task) => void
Click or Enter on a task row. Tasks with an href are links either way.
maxPerGroup / narrowAt / live / header / className
number / number / boolean / ReactNode | false / string
Default5 / 720 / true / "Activity"
Rows per group before +N more (the focused person's always show); the width below which edges go; the brief mark on a task that just got an event; the title.

What it handles

  1. 01Puts each person on the task they are on now, with the agent helping them or a quiet solo, and how long ago they last touched it.
  2. 02Groups every task touched in the window by project, with the person on it and the agent beside them, or the agent working alone.
  3. 03Draws nothing between them at rest. Hover or focus a person to preview their edges, click or Enter to pin them, Esc to clear.
  4. 04Draws a solid accent edge to the current task with the agent sitting on it, and dashed muted edges to the tasks touched earlier.
  5. 05Switches the window between 15 minutes, an hour and today, and keeps people in your order so rows never jump while events arrive.
  6. 06Drops the edges on narrow screens: picking a person filters the task list to theirs, current first, with the agent inline.

States

First render
Nothing moves. No edges
none
Hover or focus a person
Their edges fade in, the other rows dim
120ms opacity
Pin a person
The row stays marked and the edges stay after the pointer leaves
none
Another person
The old edges go, the new ones fade in
120ms opacity
New event
The task row gets a muted fill for a moment; edges follow their rows without a fade
1.2s, no motion
Narrow
No edges; the task list filters to the person
none
Reduced motion
Edges and dimming land at once
0ms

Works with

When to use

When to use

  • A team page that answers who is on which task right now, and whether an agent is helping them.
  • Seeing at a glance how a team works with AI across projects this hour or today.

When not to use

  • The structure of one run: which agent called which: use Agent Graph.
  • When each agent worked, on a time axis: use Agent Lanes.
  • Activity density by hour, with no who or what: use Heatmap.

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 Activity Graph to my app and wire it to my own data.
  • I need a team page that answers who is on which task right now, and whether an agent is helping them. Set that up with the Knowns UI Activity Graph.
  • Which Activity Graph props do I need for a minimal setup? Show me a short example.

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

Need help?

Stuck on Activity Graph, or found something off? We read every message.