Skip to content

AI Trace

Lines of agent activity — reasoning, tool calls, searches, sources, plans and subagent runs — each with an icon, a title and an optional description and status, expandable into nested detail.

AI Trace
Thought for 8sSearched the web8 resultsRead 3 pages

Installation

pnpm dlx shadcn@latest add @sortui/trace

Usage

import {
  Trace,
  TraceLine,
  TraceIcon,
  TraceTitle,
  TraceDescription,
  TraceCollapsible,
  TraceCollapsibleTrigger,
  TraceCollapsibleContent,
} from "@/components/ui/trace"

Examples

Line

Created branch fix/frozen-lockfile

Status

Ran pnpm installFailed to start the dev serverRunning the test suiteDeploy a preview

Description

Edited package.json+48 −12Ran pnpm test14sSearched the web8 results

Collapsible

v22.11.0

Thinking

Stay in Baixa: it is flat, central and close to the tram lines, so you spend your two days seeing the city rather than getting to it.

Streaming reasoning

Tool calls

Plan

Find where the discount is appliedRound the total after the discountAdd a test for a 15% couponRun the test suite

Deep research

Planning the researchSearching the webReading sourcesWriting the report

Code interpreter

df = pd.read_csv("signups.csv")
weekly = df.resample("W", on="date").size()
weekly.pct_change().tail(4).round(3)
2026-09-21    0.041
2026-09-28    0.112
2026-10-05   -0.018
2026-10-12    0.236

Signups grew 24% last week, the biggest jump this quarter — right after the pricing page went live.

Files

Read quarterly-report.pdf18 pagesRead signups.csv2,400 rowsCouldn't read whiteboard.pngno text found

Connected apps

Checked your calendar for Thursday3 eventsSearched your inbox for “launch review”2 threadsRead the launch checklist in the team wiki

Thursday is free after 2 PM. The review thread asks for the checklist to be signed off first — two items are still open.

Subagents

Listed src/checkout12 filesRead src/checkout/total.ts88 lines

Test results

applies a 15% coupon to the subtotaltotal.test.ts:42rounds the total to centsmoney.test.ts:1840 tests passed

Error and retry

Whole turn

Thinking

Streaming text

Answering

Task list

Tasks0/5
Scaffold the project structure0%Build the component registryGate the paid sectionsWire up checkoutPolish the landing page

Ship your next project this week

Get the full Figma kit, the code of 180+ sections and every future update for one payment.

Get Pro Access