Launch priceOne payment

Run History

Leads with the three numbers that say whether an agent can be trusted with the next task — how often it finishes, how long it takes, what it spends — and a strip of recent runs where a failure shows before you read a word. Below is a searchable, sortable table built on Layro's Data Table.

Ready for AI tools one file typed props installs by name prompt included

The decision inside it

The strip is one bar per run

The strip is drawn in shades of grey with a failed run as the darkest bar, so it stands out without adding colour. The bar's height is how long the run took, so a slow day and a failing day look different.

Installation

How you get it

Paste this into Claude Code, Cursor, Codex or any coding agent. It installs the file and uses it as it is, instead of writing a new one.

Use Layro's Run History for this.
Install it: npx shadcn@latest add @layro/run-history
Import it from @/components/ui/run-history.
Do not rewrite or restyle it. Pass my data through its props
and keep its built-in states.

For the full brief with every prop and the mistakes assistants usually make, use Copy prompt above. Pro components install through the @layro registry with your CLI token: see the Namespaced tab.

API

“Copy prompt” above puts a full brief on your clipboard — install command, dependencies, props, and the mistakes an assistant usually makes with this component.

Props

Read from the component’s own TypeScript interface when the site is built, so this table cannot drift from the file you install.

PropTypeNotes
runsrequiredAgentRun[]—
onOpen(run: AgentRun) => void—
onRerun(run: AgentRun) => void—
onCancel(run: AgentRun) => voidOffered on runs that are still live.
titleReact.ReactNode | falseThe heading. Pass `false` to hide it.
summarybooleanShow the three numbers and the strip of recent runs. Default true.
pageSizenumberRows per page. Default 8.
currencystringISO 4217 code for the cost column. Default "USD".
nowDate | number"Now", for the relative times. Defaults to the moment it renders.

Dependencies

npm packages

clsxframer-motionlucide-reacttailwind-merge

Layro foundations, installed alongside it

layro-themeagent-run-statusbuttondata-tabledropdown-menustatetabs

Lifetime access

Every component, and everything we ship next.

  • All 112 components, source included
  • The template, and everything released after you buy
  • shadcn CLI or download — React 18/19, Tailwind v4
  • One payment. No subscription.

More in AI Agent

All AI Agent components