—kit
AI interface states built as instruments: the chrome reports what the agent is doing.
REPLAY [FIXTURE]TRACE [fixture-2026-10-05-weather]
Prompt
Hand-authored fixture for the docs replay. Not a recorded model trace. Replace with a real recorded turn before public launch.
# Components
- Listening
Turns any child into a level meter. The ticks, the peak and the dB are the microphone, measured.
- Thinking
The agent's working state as a log. Steps come from the agent's events, durations from the clock.
- Tool call
A bracketed card while a tool is running, a single log row once it is done.
- AI SDK adapter
useKitTurn maps useChat messages onto Thinking and Tool call. It imports nothing from the SDK.
- HUD utilities
cx, the shared frame loop, reduced-motion helpers, formatters.