Agent UI you can touch

React components for agent runs, approvals and diffs, and the landing pages around them. They follow your finger, answer your keyboard, and your agent can install them.

claude mcp add --transport http captain-ui https://captain-ui.vercel.app/api/mcp

Eight components, live

Diff review

Review an agent's diff one hunk at a time. Drag along a changed line and the old code rewrites into the new, letter by letter under your finger; let go and it rewinds. Fling the hunk right to accept or left to reject, or press A and R.

Approval

An agent asks before it acts, and the hold fills the command itself: ink runs through it letter by letter while you hold, so you read what you approve as you approve it. Let go and it drains back.

Image compare

Two versions of one picture split by a divider that follows your finger exactly. Tap anywhere to jump the divider there, or nudge it with the arrow keys.

Tool call

The JSON unfolds as it streams. Keys arrive as a tree, an object opens as its brace arrives and closes when it ends, and strings type in place, so you watch the structure form instead of a wall of text.

Run timeline

An agent run you can scrub. Drag the playhead and its tool calls re-render live: rows appear, stream and land going forward, fold away going back, with the step and the spend in step.

Card stack

A deck you work through by flinging the top card left or right. It leans with your drag, the next card rises under it, a quick flick is enough, and undo brings the last one back.

Tilt card

A card that leans toward your pointer, with a sheen that follows it and layers that part in depth. Drag a finger across it on touch; let go and it springs back.

Sheet

A bottom sheet that peeks, rests at half or fills the screen. It follows your finger 1:1, a flick carries it one detent, and the page behind recedes as it rises.

More in the library

Explore all 38

Reorder list

Grab a handle and the row lifts out of its tray while the others part to make room. Near an edge the list scrolls for you, and the keyboard can do it all with spoken positions.

Model picker

Every model streams the same answer at once, at its own real speed. The bars are time, so the race reads at a glance, and the answer streams in full beneath them for the model you point at, with what one task costs.

Agent status

One glyph for what an agent is doing: a flatline at rest, thoughts in orbit, a live waveform while it works, a question when it needs you, a check, a cross. Its three strokes travel between them, so a change of state is one motion, never an icon swap.

Thinking

The agent's reasoning condenses into its label. While it thinks the lines stream under a rippling “Thinking”; when it ends they fold up, bottom line first, into “Thought for 12s”, and pour back out on click.

Streaming text

A visible backlog. Words that arrive faster than reading pace wait as a faint run of dots after the caret, one per word, and each dot turns into its word as it lands, so you can see the model running ahead of the page.

Number flow

A number that rolls each digit in its own column, in the direction the value moved, while Intl handles currency, percent and compact formats and the width eases to fit.

Scrub number

A number field you scrub by dragging its label: Shift for ten times faster, Alt for a tenth. Click the number to type, and the digits roll as it changes.

Pricing

Drag your usage and every plan's price rolls to what you would really pay. The raised plan slides to whichever is cheapest for you, and says by how much.

Changelog

Releases on a scrubber. Drag through the versions and one live sample of your product morphs into how it looked at each one, with that release's notes beside it.

Line chart

An area chart you scrub with a pointer or a finger. The crosshair snaps from day to day, the figure above rolls to each value, and the rest of the line dims behind you.

Composer

The input box for agent apps. One Captain switch turns one agent into a swarm: the agents deal out of the switch into a tray, with the count and the model they run on. Mentions, skills, files and a model picker, and Send becomes Stop while it works.

Slider

Grab anywhere on the track and it follows your finger 1:1. Pull past an end and the track squashes like rubber; let go and it springs to the nearest step.

Your agent installs them

One command adds the Captain UI MCP to Claude Code, Cursor or Codex. Your agent can list and search every component, read its props and keyboard map, and run the install for you. Pro source comes through the same server with your key.

How the MCP works

captain-ui · search_components (query: "bottom sheet")

sheet (Pro, Overlays): Sheet. A bottom sheet that peeks, rests at half or fills the screen.

captain-ui · search_components (query: "model picker")

model-picker (free, Agent): Model picker. Point at a model and the same answer streams at that model's own speed.

captain-ui · get_install (slug: "sheet")

npx shadcn@latest add @captain/sheet

This is a Pro component. The command needs CAPTAIN_UI_LICENSE set in the environment.

Answers from the live server, trimmed.