Loading component…
Loading component…
A swarm of agents checking something – one calm row per agent with its progress, and their findings sliding into a short feed as they're found
To reuse this local React demo, copy all files from the Code tab into the same folder, then import AgentFindings from ./agent-findings.
import { AgentFindings, type FindingAgent, type Finding } from "@/components/ui/agent-findings";
export function Run({ agents, findings }: { agents: FindingAgent[]; findings: Finding[] }) {
return (
<AgentFindings
title="Verification"
agents={agents} // { id, name, model?, avatar?, step?, done, total, status? }
findings={findings} // { id, agentId, title, severity: "critical" | "warning" | "note", location?, at }
onOpen={(finding) => openFinding(finding.id)}
/>
);
}| Name | Type | Default | Description |
|---|---|---|---|
| agents | FindingAgent[] | One row each: name, current step, checks done of total; status defaults to running until done reaches total | |
| findings | Finding[] | What the agents found, with severity, where and when – the newest come first in the feed | |
| title | string | "Verification" | Heading in the bar |
| rows | number | 4 | How many findings the feed shows at most – it grows to that height as they come in |
| now | number | A clock you control for the “2m” times – without it they follow real time | |
| onOpen | (finding: Finding) => void | A finding was clicked | |
| className | string | Extra class on the root |
Below 480px the check counts and locations drop, so the rows keep one line
Dark mode built in; colors are CSS variables on .ui-af