Skip to content

Run Pulse

A small living agent graph for heroes and feature sections: the lead with a soft glow, agents around it, tools further out. Streaks run lead → agents → tools, arrivals glow, and a new tool grows in now and then.

On this page
Used for
  • Agent product hero
  • Multi-agent feature section
  • Live run preview
  • Tool ecosystem story

Examples

Speed

Installation

npx knowns-ui@latest add run-pulse
For Claude Code, Cursor or Codex: installs it and wires the props to your own data.

Props

lead
{ name, model?, icon? }
Default{ name: "Lead" }
The centre tile, with a soft glow. model picks the logo (modelIcon); without one, initials.
agents
{ name, model?, icon? }[]
Default4 agents
1–5 tiles around the lead, each in its AGENT_PALETTE colour.
tools
{ name, icon?, agent? }[]
Default6 tools
Further out, up to 3 per agent. agent is an index or a name; otherwise round-robin. Logos via toolIcon.
grow
{ name, icon? } | false
Default{ name: "Design" }
A tool that now and then grows in: the line draws from its agent, then the tile.
speed
number
Default1
1 = a 3.6s cycle.
paused
boolean
Defaultfalse
Hold the scene.
size
"sm" | "md" | "lg" | number
Default"md"
Max width: 320, 480, 640 or px. Tiles scale with the container.
run
AgentRun
Actors from the run become tiles (root agent in the middle); each new call fires one streak instead of the loop.
label
string
Defaultdescribes the team
Accessible description (role=img).
Motion
-
CSS only (transform, opacity, stroke-dashoffset). Pauses offscreen, in hidden tabs and on paused; prefers-reduced-motion shows a still, composed frame.

What it handles

  1. 01Draws a lead tile in the middle, one to five `agents` on an inner ellipse and up to three `tools` per agent on an outer one, all in a 480 x 300 box that scales with its container.
  2. 02Picks provider logos from each agent's `model` and from each tool's `name`, and falls back to initials when no logo is known.
  3. 03Attaches a tool to an agent by index or name through `agent`, and spreads the tools without one round-robin over agents that still have room.
  4. 04Runs light streaks from the lead to each agent and on to its tools, with an arrival glow where each one lands, and `speed` sets the cycle (1 is 3.6 seconds).
  5. 05Grows one extra node in now and then, its line drawing before its tile appears, and `grow` set to false removes it.
  6. 06Reads a real run when `run` is passed: the root agent becomes the lead, other agents and tools become tiles, and each new call fires one streak instead of the loop.

States

First render
Nothing. It paints as it is
none
Idle loop
Streaks travel lead to agents to tools, and each tile glows on arrival, on a cycle set by `speed`
none
New tool grows in
The line draws, the tile appears, then both fade, over four cycles
none
Call in a live run
One streak and one arrival glow per new call, played once
none
Offscreen, hidden tab or paused
Every loop stops where it is
none
Reduced motion
All animation is removed and the composed frame stays
none

Works with

When to use

When to use

  • A small living agent graph for a hero or feature section, with streaks from lead to agents to tools.
  • Explaining your product's idea visually before the user has a real run.

When not to use

  • Showing a real run with clickable nodes: use Agent Graph.

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 Run Pulse to my app and wire it to my own data.
  • I need a small living agent graph for a hero or feature section, with streaks from lead to agents to tools. Set that up with the Knowns UI Run Pulse.
  • Which Run Pulse props do I need for a minimal setup? Show me a short example.

With the server connected, your assistant calls get_component({ name: "run-pulse" }) and search_docs({ query: "run pulse" }).

Need help?

Stuck on Run Pulse, or found something off? We read every message.