Components (172)
Agent Loop
Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.
Loading Agent Loop…
Usage
import { AgentLoop } from "ui-kit/components/agent-loop";Props
| Prop | Type | Default | Description |
|---|---|---|---|
steps* | LoopStep[] | — | — |
loops | LoopBack[] | [] | — |
artifacts | LoopArtifact[] | [] | — |
title | string | "Agent loop" | — |
subtitle | string | — | Next to the title – the repo, the branch |
logo | ReactNode | — | Before the subtitle – e.g. the GitHub logo for a repo |
iteration | number | — | By default 1 + every time the run went back |
onSelect | ( item: | { step: LoopStep; } | { loop: LoopBack; } | { artifact: LoopArtifact; } | nul... | — | A step, a loop or an artifact opened – null when its card closes |
children | ReactNode | — | Anything else under the artifacts – open issues, actions |
formatTime | (ms: number) => string | took | Formats a time – 12s, 2m 05s by default |
className | string | — | — |