Browse components
AgentComponent
Chain of Thought
Collapsible step-by-step trace of an AI agent's reasoning: a header toggle (ChainOfThoughtHeader), then ChainOfThoughtStep rows with icon, label, description and complete/active/pending status, optional ChainOfThoughtSearchResults badges and a ChainOfThoughtImage with caption. Use it to show tool calls, searches and intermediate findings while an agent works; controlled or uncontrolled via open/defaultOpen/onOpenChange.
pnpm dlx shadcn@latest add @uifiles/chain-of-thought
Installs with
An investigation, open by default
Steps in every status: complete with search results, complete with an image, active, and pending. The header collapses the trace.