Show HN: Akshauhini – Watch your AI agents work and see why they fail Akshauhini, a new open-source tool published to PyPI, renders multi-agent AI applications as animated office characters driven by real telemetry events, with an Insights feature that answers debugging questions such as why an agent is stuck, which agent causes most of the latency, and which agent consumed the most tokens. The tool, which requires Python 3.11 or later and is installed via `pip install akshauhini`, runs a local collector bound to 127.0.0.1 storing data in SQLite, instruments Python agent functions with a single decorator, and accepts JSON events over HTTP or OpenTelemetry spans from other languages. Akshauhini also provides a read-only view of locally installed coding agents (Claude Code, Codex CLI and Gemini CLI) built from their saved transcripts, with optional offline analysis via a local Ollama model. Akshauhini is a live visual monitoring tool for multi-agent applications. It renders your agents as characters in an animated office, where each movement reflects a real telemetry event: agents walk to tool stations, carry tasks, wait on dependencies, hand off work and react to errors. Behind the animation, Insights answers the questions you actually debug with: why an agent is stuck, which agent is responsible for most of the latency, whether two agents keep calling each other, why a workflow failed, which agent consumed the most tokens, and whether the latest version performs worse than the previous one. Each answer comes with the events it is based on, backed by built-in LLM tracing and LLM evaluation. It also provides a read-only view of the coding agents already installed on your machine Claude Code, Codex CLI and Gemini CLI , built from the transcripts they save locally, with optional questions answered by a local offline LLM. - Live office view. Agents, tasks, tool calls, handoffs and errors are animated in real time from recorded events. - One collector per machine. Every instrumented application reports to the same local collector, regardless of the directory it runs from. - Simple integration. A single decorator instruments a Python agent function; any other language can post JSON events over HTTP or send OpenTelemetry spans. - Live and replay modes. Follow a run as it happens, or replay stored events at 0.5×, 1×, 2× or 5× speed. - Agent inspector. Inspect each agent's task queue, model, reported token usage, errors and operation durations. - Insights. Answers the operational questions for every run and project, with the events that back each answer: why an agent is stuck, which agent causes most of the latency, whether two agents keep calling each other, why a workflow failed, which agent used the most tokens, and whether the latest version performs worse than the previous one. - LLM tracing. Every LLM call with its model, latency, tokens, cost and errors, per agent and task; prompts and responses only when you opt in. - LLM evaluation. Record quality checks office.evaluate and compare pass rates and scores between versions of your app. - Local agent transparency. Review what Claude Code, Codex CLI and Gemini CLI did on this machine: timelines, files read and written, shell commands and external targets. - Offline analysis. Ask questions about recorded activity using a local model served by Ollama. - Local by default. The server binds to 127.0.0.1 and stores data in SQLite. The backend is built with FastAPI and SQLite and uses the Akshauhini Event Protocol AOEP . The frontend is built with React and PixiJS. Akshauhini requires Python 3.11 or later. pip install akshauhini The published package includes the prebuilt web UI, so Node.js is not required. Every akshauhini command can also be run as python -m akshauhini , for example python -m akshauhini run python my app.py . Use this form on Windows if Smart App Control or an organization's App Control policy reports that akshauhini.exe "has been blocked": that small launcher is generated by pip at install time and is unsigned, while python.exe is signed. Akshauhini itself always starts its server and your apps through Python, so nothing else is affected. Start the office: akshauhini This starts the collector in the background and opens http://127.0.0.1:8765 http://127.0.0.1:8765 . If another program already uses port 8765, a free port is chosen and printed instead; your apps find it automatically. Instrument a Python agent: python import akshauhini office = akshauhini.init "my-agents", "My Agent Team" @office.track "researcher", name="Research Agent", role="researcher" def research agent topic : return run your agent topic research agent "market trends" init starts the collector if it is not already running, so the office and your application can be launched in any order. A typical workflow is to start the office, connect an application, monitor its runs, review local agents, and stop the office when you are finished. akshauhini The office starts in the background and opens http://127.0.0.1:8765 http://127.0.0.1:8765 or a free port, if another program holds 8765 in your browser. To run it in the current terminal instead, use: akshauhini serve --open Press Ctrl+C to stop an office running in the foreground. Use one of the following methods. Python SDK. Add the decorator to your agent functions see Quick start quick-start and run your application as usual: python your app.py Command wrapper. Run any program with the office attached. The program's start, completion and failure are recorded, and the office opens on the new run: akshauhini run python your app.py HTTP or OpenTelemetry. Applications written in other languages can post events to /api/events or send spans to /v1/traces . See HTTP API http-api and OpenTelemetry input opentelemetry-input . 1. Open the office in your browser. 2. Select an application from the toolbar shortcuts or the project switcher. The Apps tab lists every application that has reported. 3. Choose a mode: - Live follows the selected run as events arrive. - Replay steps through stored events at 0.5×, 1×, 2× or 5× speed. - Demo shows clearly labelled sample telemetry. 4. Click an agent to open the inspector, which shows its task queue, model, token usage, errors and operation durations. 5. Click a task card to follow the agent carrying it. 6. Drag to pan and scroll to zoom. Open the Local agents tab to see sessions from Claude Code, Codex CLI and Gemini CLI on this machine, or list them in the terminal: akshauhini agents Select a session to view its timeline, files, commands and external targets. See Local agents local-agents for details. Questions are answered by a model served by Ollama https://ollama.com on this machine. 1. Install Ollama, start it and download a model: ollama serve ollama pull