Pro
Agent swarm
Many agents, one picture. Each agent is a node whose ring fills as it works, work moves along the links, and a link settles once the agent after it has finished. An agent that needs a decision pulses and the island at the top opens into the question. Choose any agent and its detail opens from where it sits.
pnpm dlx shadcn@latest add @caliper/agent-swarmWhen to use
Use it for
- Orchestrators and multi-agent products where people need to see who is doing what.
- Long agent runs that sometimes stop for a human decision.
Skip it when
- A single agent run; use the agent run screen.
Installation
pnpm dlx shadcn@latest add @caliper/agent-swarm
Adds its 13 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
Usage
Import it from your copy of the source. The example behind the preview comes with the source.
import { AgentSwarm } from "@/components/ui/agent-swarm"
The worked example comes with Pro
The 99-line example behind the preview opens here, ready to copy.
- 626 Pro parts, blocks and page templates, all with source
- $149 once, with lifetime updates. No renewal
- A full refund within 14 days if it is not for you
API reference
AgentSwarm
component
Accessibility
It exposes status, region, group and button semantics, with aria-label, aria-hidden and aria-pressed kept in step with state. Changes that matter are announced through a live region.
Motion
It checks prefers-reduced-motion itself and settles immediately instead of travelling. Every state is still reachable.