AI Kit

Agent interfaces that show their work.

79 components for chat and agent products, each in three versions. Every card below is the real component playing a scripted run. They work in light and dark and need no animation library.

WorkingNeeds youDoneFailedQueued
Read the docsnpx shadcn@latest add https://tweenui.dev/r/ai-composer.json

Runs and timelines

One run, step by step and second by second.

A run that forks into sub-agents and merges back, drawn as a git graph: each lane curves out in its own colour, works in parallel and waits at the join while a context bar per agent fills.

agent-branches

A run as a column of checkpoints with the tool that made each one. Rewind to any of them and a second attempt branches off while the abandoned path dims but stays.

agent-checkpoints

One agent's steps as a quiet trail: finished steps with their time, the live step opening into sub-steps as they happen, and a dashed ring on the step that waits for approval.

agent-trail

A plan you edit before it runs: rename, drag to reorder, add or drop steps, then press run and watch each step tick with a live timer and retry from the one that failed.

agent-plan

Steer an agent mid-run: type a note, queue it for the next step or send it now, and watch it slide out of the queue into the plan when the agent picks it up.

agent-steering

Plan, build, QA, review and security as a row of stage cards, with every time the run went back drawn as a counted arc underneath and the artifacts each stage produced below.

agent-loop

A live timeline with one lane per agent: tasks grow towards a now line, hand-offs are drawn between lanes and approvals sit right on the block that needs them.

agent-lanes

A run as a timing diagram: each agent's signal steps up while it thinks or calls a tool, with hand-offs dropping straight from one row to the next under a moving playhead.

agent-timing

A run as a sequence diagram: a lifeline for you, every agent and every tool, solid calls and dashed replies drawn in order, with parallel and retried messages framed.

agent-sequence

Spans on a timeline, one lane per agent, with the chain that decides when the run ends in full colour. Drag the end of a span to see how the finish line moves.

critical-path

A multi-agent call stack as a flame graph: orchestrator on top, sub-agents, model calls and tools beneath, every block as wide as it took. Switch between time, tokens and cost, and click to zoom.

agent-flame-graph

What an agent changed in a pull request, edit by edit: added and removed lines as two growing curves, a diff bar per file, and the edit under the pointer shown as a diff.

diff-timeline

Where an agent's week went (working, calling tools, waiting on you, idle) as a strip of thin ticks that fill in colour by colour, with each part's time and share below.

agent-time-split

Teams of agents

Many agents, who they answer to and what they pass along.

A lead and its sub-agents as a live tree of cards in their own colours: what each one is doing, its context and tools, with hand-offs running along the connectors.

agent-crew

Who started whom: an orchestrator and its sub-agents as a tree with status, cost and time on every card, costs rolling up each branch and branches that fold into one line.

agent-tree

Several lead agents side by side, each card summing up its sub-agents. Click one and its tree opens to the right while the previous one folds back into its card.

agent-fleet

People and the agents they own on one chart: reporting lines between them, and an escalation that climbs the lines to the person who owns the agent.

agent-org-chart

Agents and the tools they call as a living network: a pulse runs along the link for every call and its answer, and an agent turns amber when it needs you.

agent-graph

A run drawn as a metro map: each agent a coloured line, each step a station, interchanges where work changes hands, and a train riding every line.

agent-metro-map

Where your team's agents collide: every agent a chip on either side, every open conflict a badge in the middle with curves to the agents involved, ranked by urgency.

agent-overlap-map

A task passed down a relay of agents: at each hand-off, what went across to the next one and what got lost on the way.

agent-handoff

One task carried like a baton: every agent a tile whose mark fills in as the baton reaches it, above a log of the run as it happens.

handoff-relay

Who does what in a run: a lane per person, agent and tool, hand-offs as arrows, and approvals as diamonds you can approve in place.

handoff-swimlanes

A router agent sorting incoming requests: a light runs to the agent it picks with its confidence, and requests it is unsure about go to a person.

agent-router

What agents say to each other as a quiet chat: who each message is from and for, hand-offs and questions for you tagged, files as chips and a composer with @.

collaboration-stream

Agents editing a document like teammates in a multiplayer editor: named pointers, suggestions typed letter by letter, and a cost on every label. Switch between a doc and a table.

agent-cursors

One agent at work: the person who asked, the agent's work area, the files it was given and its tools as cards, joined by soft connectors that light up while in use.

agent-workbench

Decisions and control

What an agent may do, and how it decides.

An agent asks before it acts: a risk badge, a preview of what will happen, Approve and Deny with shortcuts, a countdown that pauses on hover, and a morph into a resolved row.

approval-card

How much an agent may do alone: a three-stop dial, its real actions gliding between “runs on its own” and “asks you first”, and a lock on what always asks.

autonomy-dial

How an AI decision becomes an action: the event, the model's typed choice and score, plain-code rules that tick or cross, then the action or a person, and back to learn.

decision-loop

One request through a chain of small typed model calls (extract, check, infer, route), each value travelling down the line to the next, with what the run cost.

decision-pipeline

One request looking for a model that answers: it branches to each model in fallback order, failed branches break red, and the one that answers runs on to the response.

fallback-chain

The checks an agent's traffic passes through, as a funnel: input check, redaction, tool allowlist, output check, with what each stage stopped and the calls it caught.

guardrail-funnel

One agent as a state diagram: every state a card, every transition a line counting how often the run took it, retries as loops and the current state glowing.

agent-state-machine

An open case worked by agents and people as a case plan: stages, tasks that start once their entry condition holds, optional tasks someone has to plan, and milestones.

case-model

An automation built top-down in place: a + on every line adds a step, if/else forks into named paths, and a test run sends a light down the line.

flow-builder

Everything an agent changed in your systems, each with an undo. Pointing at Undo shows what builds on that change and what can't be taken back.

agent-ledger

Inbox and monitoring

Keeping an eye on agents that work while you don't.

All your background agent tasks in one calm board or list: live status, filters, and cards that unfold to the last steps with Approve, Reject, Retry or Open.

agent-inbox

Issues your agents found or are fixing, one card at a time: kind, branch, priority, lines changed and the agent on it, as a swipeable stack or a cycling strip.

agent-issue-stack

What the agents did while you were away: the night as a small chart with a peak per event, then a board of what needs you, what failed and what's done, acted on right on the card.

agent-recap

The work waiting for your agents and how fast it moves: jobs glide into worker slots and land in done or failed, while a depth chart shows the backlog build and drain.

agent-queue

One agent at work as a compact card: the current step with a clock and the bill so far, finished steps with each tool's logo, and the exact command when it needs your OK.

agent-monitor

A swarm of agents checking something: one row per agent with its progress, and findings sliding into a short feed, worst first, as they turn up.

agent-findings

A multi-agent run as a Finder window: every agent a folder, every tool call a document, with a preview pane for what was sent and what came back.

agent-finder

Which tools an agent used, day by day, as a field of dots that light up in each tool's colour, brighter on busy days, with today's calls and the total on top.

tool-activity

An agent researching a question: sources it finds on the left, the report taking shape section by section on the right, and a line from each source to the section it feeds.

deep-research-progress

A live voice call with an agent: both voices as waveforms with the pause between them measured, the words as they're spoken, and voice-to-voice latency split against a budget.

voice-session

Chat and inputs

The everyday surfaces around an agent.

A streamed answer with source cards, citation chips that preview their source, copy, regenerate, feedback and follow-ups.

ai-answer

A prompt composer with a model picker, voice input, attachments, connected apps and a request-approval toggle, with a working state that lights the edge.

chat-composer

Search and run anything from one field: tool actions with their logos and ⌘1–⌘5, everyday commands with icons, and a preview of what will run.

ai-command-menu

A spreadsheet-style table an agent can fill: select cells and ranges, edit in place, copy and paste, undo and sort, with agent-filled cells shimmering in.

ai-data-table

Drag files in and watch them upload: documents fan out, coloured type badges, progress with time left, and errors with a retry.

ai-dropzone

The integrations page of a command menu: search, a list of services, and the picked one with its connection drawn between two tiles.

integration-picker

Settings for a connected service: an on/off switch, an API key, a validated site address, a time zone and a save bar that slides up on change.

integration-settings

Face and composer

The character that shows what an agent is doing, and the place you talk to it.

The agent character: a CSS face with nine moods, five shapes and any colour, as a portrait, a presence pill with a status ring, and a cursor tag for shared canvases.

ai-face

Three ways to ask an agent: a chat dock where a light travels round the card while the agent works, a pill that opens in place into a full prompt, and a command palette with a live preview pane.

ai-composer

Empty states for a new chat: a greeting face whose eyes follow you, a bento of animated starting points, and a centred prompt that glides down into a chat on the first send.

ai-welcome

The conversation itself: typing bubbles that open into the message, flat Storm-style turns with artefacts inside them, and a room where several agents talk and hand off.

ai-thread

Input

Everything on the way into a prompt.

First-prompt helpers for an empty chat: a fanned hand of suggestion cards that fly into the field, two drifting marquee rows of prompts, and a ghost completion with a wheel of alternative endings.

ai-suggestions

Choose who does the work: a deck of model cards that shuffles the chosen one forward, an agent roster where a face opens into a detail card, and a radial effort dial you drag.

ai-picker

Voice input for agents: a waveform dictation panel with a live transcript, a face you talk with, and a push-to-talk composer row.

ai-voice

Files on the way into a prompt: chips with an upload ring, a fanned image stack, and a drop zone that reacts as files hover.

ai-attachments

Pointing an agent at context: an @ menu for files and agents, removable context chips, and inline mentions inside a sentence.

ai-mention

Output

Answers as they arrive, and what came with them.

Streaming answers: words that sharpen in behind a caret, a skeleton that fills in line by line, and a version pager for regenerated replies.

ai-stream

Show the thinking: a shimmering disclosure with a timer, a thought trail on a rail, and a one-line ticker beside a thinking face.

ai-reasoning

Code an agent writes, changes and runs: a streaming file with line numbers, a hunk-by-hunk diff with keep and undo, and a terminal with an exit status.

ai-code

Where an answer came from: inline numbered citations with a source card, a favicon pile that opens into a list, and a scrolling rail of source cards.

ai-sources

Things an agent makes: a file card that builds itself, a preview pane with a code toggle, and a version strip of generated results.

ai-artifact

Responding to a reply: a message action bar with copy and retry, thumbs that open a reason picker, and a five-point rating.

ai-feedback

Waiting states with character: typing dots, an orbit around a thinking face, and echo bars with a shimmering label.

ai-loader

Agent work

A run you can follow, steer and stop.

An agent run you can follow: a live rail whose running step opens to show its output, a track a comet travels from node to node, and a depth stack of step cards.

ai-steps

Tool calls made visible: an inline chip that unfolds into a result peek, a wire a packet travels between request and response, and a hub with lines drawing out to real services.

ai-tool

Human-in-the-loop controls: an amber approve or deny card, a hold-to-confirm button for destructive actions, and a multiple-choice question.

ai-approval

The plan of a run: a board whose cards move from to do to done, a winding route the agent face travels, and a draft list you drag to reorder before starting.

ai-plan

Going back safely: a checkpoint timeline with a snapshot peek and a rewind sweep, a filmstrip scrubber over a run, and a branch graph whose head moves between branches.

ai-checkpoint

Fleet and system

Several agents at once, and the limits they work within.

Several agents at once: a timeline of lanes on a shared clock, a wall of agent cards, and a handoff where work travels from one face to the next.

ai-lanes

How full the context window is: a tank of liquid that rises toward the limit, a hundred blocks filled by category, and a rim meter that squeezes back when you compact.

ai-meter

What a run cost: a receipt with tokens, time and price, a live cost ticker, and usage bars against a plan limit.

ai-usage

Ways a run reaches you: a notch that grows into a status card, a toast stack for done, needs-you and failed, and an inline reconnect banner.

ai-notch