Show HN: Unbox-AI Visualize your AI traces like a JavaScript bundle Unbox-AI, a new open-source tool, visualizes AI agent traces as interactive bundle-analyzer-style treemaps, latency waterfalls, and deduplicated conversation views, with a single command launching a local viewer. The tool reports that in a typical 16-generation trace, ~90% of input tokens are system prompts and tool definitions resent on every request, making traces unreadable raw. It also serves as a bounded, read-only trace explorer for coding agents and a drop-in replacement for the @ai-sdk/devtools viewer. Quickstart quickstart | | ai-sdk-devtools-live AI SDK DevTools | the-viewer Viewer | for-agents For Agents | skill-installation Skills Trace Formats unbox-ai turns an AI agent trace into something you can read. One command opens a local visualization of the run; the same binary doubles as a bounded, read-only trace explorer for coding agents. - Bundle-analyzer-style treemap of input tokens: system prompt, each tool definition, each message. - Latency waterfall with TTFT, tokens, and cost per generation. - Deduplicated conversation view: only what is new in each generation. - Agent-safe CLI: capped output, --json , no accidental servers. npx unbox-ai trace.json Agent traces are unreadable raw. Every generation resends the full context, so a 16-generation trace holds hundreds of duplicated messages, and in a typical run ~90% of input tokens are the system prompt and tool definitions, paid again on every request. unbox-ai makes that visible. npx unbox-ai trace.json That's it. A local server starts and your browser opens the viewer. Works with gateway exports, opencode session exports, and AI SDK devtools databases see Trace Formats trace-formats . --json machine-readable output --port