The dashboard
A tour of the live dashboard, what each panel shows, how to read a slip, and the links that open a run or a recording.
The dashboard is where you watch a run. It listens to the API's event stream, so everything appears the moment the backend emits it, and it can replay any saved run at up to 4× speed. Open it at http://localhost:5173 after pnpm dev or pnpm dev:offline, or try it in the browser with no backend at /dashboard?demo=live.
Top bar
- Start live run starts a run with the settings in
.env. It shows Starting and ignores repeat clicks while the API answers. - Replay plays a saved run from
runs/, chosen in the Recorded run menu, at the speed you pick. - Stop ends the run or replay that is playing.
- If the API is not running, a notice says so and the dashboard checks again every few seconds. Recordings still play.
Round rail
One stop per round, with the config under attack, the breach rate and the round's outcome: HARDENED (a patch shipped), HELD (nothing got through) or still breached (every patch was vetoed). Under the current round, a line names the latest veto so you can see why a patch was sent back.
Score strip
The teller’s counter: breach rate, utility against its 90% floor, exploits caught and calls blocked. The numbers count up as events arrive.
Activity bar
Says what the agents are doing now, which of them have spoken this round and how long ago the last event arrived, so a slow model call never looks like a frozen page. When a run ends it becomes the verdict banner: HARDENED, HELD or STILL BREACHED, with the breach trend, utility and time to harden.
The Kavach room
The run as a chat. Every agent message appears with its avatar, squad colour and @mentions, exactly as it was posted to Band. The row of seals at the top filters the room to one agent, and a beam shows each handoff as it happens. When you scroll up, new messages wait behind a Jump to latest pill instead of pulling you down.
Intercepted tool calls
Every tool call the bot tried, as a slip: the tool and its arguments, whether it executed, and the stamp the detectors gave it. Filter by round, and show all calls, only breaches or only blocked calls. Press a slip to open its sheet:
- Tool call, with a copy button.
- What the tool returned, or what the guard returned instead.
- The attack behind it: the message, the agent, the technique and its goal.
- For a breach, the rule, its OWASP LLM Top 10 category and a plain explanation.
In the sheet, ↓ or j moves to the next slip and ↑ or k to the previous one.
Breach and utility
The chart of the run: breach rate and utility per round, with the 90% utility floor drawn across it.
Patch amendments
Each candidate the Patcher proposed, one tab per attempt, as a diff of the guard policy and the system prompt. Vetoed attempts are struck through, so you can see what the Auditor threw out and what replaced it.
Small screens
Below 1280 px wide, the room, the tool calls and the scores become three tabs, each with a count of what is inside.
Links
| Link | Opens |
|---|---|
/?demo=live | The recorded run bundled with the build, or the sample (labelled as simulated) if none is recorded |
/?demo=sample | The sample run, scripted agents and bot |
/?demo=live&speed=3 | A recording at 3× (default 1.5×) |
/?demo=live&narrate=1 | A recording with captions for each step, used for the demo film |
/?run=<run_id> | Re-attaches to a live run after a refresh |
/?run=<run_id>&mode=replay | Replays a saved run through the API |
On the deployed site, the dashboard lives under /dashboard/, so the first link is /dashboard/?demo=live.
Accessibility
Breaches, audits, patches and round changes are announced to screen readers through a live region. The page title follows the run (Round 2, live | Kavach). Motion stops under reduce motion, and every control works from the keyboard.