Skip to content

About

See what Claude Code, Codex and/or Kiro-Crew and its subagents are really doing, live in your browser or beside the chat: what it costs, how close you are to your limits, when it needs you, and a check of its work before it says done. 6 languages.

Topics

Resources

Stars

35 stars

Watchers

1 watching

Forks

Repository files navigation

AgentMon Live

AgentMon Live

See what your AI agents are really doing.

Watch Claude Code and its subagents work, live in your browser or beside the chat. See what it costs, how close you are to your limits, and when it needs you. AgentMon also checks Claude's work before it says "done". Kiro Crew and Codex chats show in the same page.

Version License

Install · Kiro Crew · Codex · Why you want it · The pane · The web view · Cost and privacy · Make it yours · More

Press o and your session opens in the browser. See who started whom, what each agent does right now, and where the money goes. See all of it.

The web view during a session: dials and rulers fill up while the main session starts subagents and the agent flow grows

Install

In a Claude Code session (2.1.308 or later):

/plugin install agentmon-live --marketplace codenotary/agentmon-live

Answer y to add the marketplace and pick a scope. There is nothing to set up. The pane opens by itself when the terminal is wide enough, or with /agentmon.

From a shell, the desktop app, or let Claude do it
claude plugin install agentmon-live --marketplace codenotary/agentmon-live

Desktop app: click + next to the prompt box, then Plugins, Add marketplace with codenotary/agentmon-live, then Add plugin.

Or paste this into a Claude Code session:

Install the Claude Code plugin agentmon-live from the marketplace codenotary/agentmon-live
(claude plugin install agentmon-live --marketplace codenotary/agentmon-live). Tell me to restart
Claude Code when done.

Kiro Crew

The web view lists every open Kiro Crew chat beside your Claude Code sessions, whatever harness the chat runs on (kiro-cli, Claude Code, Codex and the others). It reads the log Kiro Crew writes, so this needs nothing installed in Kiro Crew: open the web view and the chats are there.

A tab beside the chat: install AgentMon as a Kiro Crew app

To have AgentMon start with Kiro Crew and show in a tab beside the chat, install this repo as a Kiro Crew app. It needs node.

git clone https://github.com/codenotary/agentmon-live
kirocrew app install <path>/agentmon-live

Then turn it on in Kiro Crew:

  1. Open Library in the left bar. AgentMon Live is listed under Disabled: click Enable. Kiro Crew asks you to trust the app before its code runs. That code is kiro/hooks.py, about 100 lines of standard-library Python that run with Kiro Crew's own rights and start the web view's server. Read it before you say yes.

    Kiro Crew Library with AgentMon Live under Disabled
  2. Open a chat, click + above the side panel and pick AgentMon Live.

    The + menu of Kiro Crew's side panel with AgentMon Live
  3. The tab opens on the chat beside it and follows when you switch chats; you can still pick another session in its top bar. It shows the chat live: where each turn went, tool calls, files, the session log. The tab works on Linux and macOS.

    AgentMon Live in a Kiro Crew tab beside the chat
  • What you see: turns with their time split, tool calls with duration and result, waiting approvals and time blocked on you, subagents and the files they wrote, events and insights, the task list, the context gauge, prompts and answers. kiro-cli reports credits, so the cost tile reads Credits and tokens stay empty.
  • Verification: the last test, lint, typecheck and build command of the chat, each ok, failed or unknown. Kiro Crew's log holds no output, so there are no test counts.
  • What stays empty: the done gate, Focus and learning. Those come from the plugin inside a Claude Code session.
  • To remove it: kirocrew app uninstall agentmon-live.

The guide has the rest, including a registry install from Kiro Crew's settings.

Codex

The web view lists every Codex chat on the machine beside your Claude Code sessions: the CLI, codex exec and the IDE extension. It reads the session files Codex writes, so this needs nothing installed in Codex: open the web view and the chats are there.

Start the web view with Codex: install AgentMon as a Codex plugin

With no Claude Code session open, nothing starts the web view's server. As a Codex plugin, AgentMon starts it with each Codex session. It needs node, on macOS or Linux.

codex plugin marketplace add codenotary/agentmon-live
codex plugin add agentmon-live@agentmon-live

Codex runs a plugin's hook only after you trust it: open /hooks in Codex and trust AgentMon Live's SessionStart hook. It is one line in codex/hooks.json that starts the web view's server. Then open http://127.0.0.1:47311/.

  • What you see: turns with their time split, tool calls with duration and result, files read and edited, prompts and answers, tokens, the context gauge and your 5-hour and weekly limits.
  • Verification: the last test, lint, typecheck and build command of the chat, each ok, failed or unknown.
  • What stays empty: approvals, subagent cards, cost in dollars, the done gate and learning. The pane is part of Claude Code.
  • To remove it: codex plugin remove agentmon-live@agentmon-live.

The guide has the rest.

Standalone

No Claude Code terminal: headless runs and the web view alone

The pane needs the Claude Code terminal. The web view does not: any Claude Code run that loads the plugin shows there, such as claude -p.

  1. Install the plugin once: claude plugin install agentmon-live --marketplace codenotary/agentmon-live.
  2. Run Claude Code as you do, for example claude -p "...". The plugin starts the server and posts the session. There is nothing to set.
  3. Open http://127.0.0.1:47311/ in a browser. On Linux and macOS you type nothing more. On Windows an address typed by hand shows no sessions: it needs the one-time code from /agentmon open, or webToken: off, which lets any local process read your sessions.

On another machine, forward the port under the same number and open the same address: ssh -L 47311:127.0.0.1:47311 <host>.

  • A session shows only while it runs. The server stops a minute after the last one ends.
  • A run of a few seconds with no tool call can end before its first post and never show.
  • To have the page up before a run, start the server yourself; it still stops after a minute with no session: node ~/.claude/plugins/cache/agentmon-live/agentmon-live/<version>/server/web.mjs ensure 47311.
  • A session in a VM or a container cannot reach the server: mount your ~/.claude/agentmon-live/spool there at /var/lib/agentmon-live/spool, and its sessions show in the web view, marked sandbox. The guide has the rules.
  • Without the plugin no Claude Code session shows: only the plugin posts them. Kiro Crew chats still do.

Why you want it

  • See it happen. Every agent, tool call and handoff, live in your browser, in the agent flow.
  • Don't run out. Cost, context and quota limits at a glance, and when /clear or /compact would save you money.
  • Know when to step in. It raises a waiting approval, a stuck subagent or a failure loop. Press i and it drafts the follow-up question for you.
  • Keep keys off GitHub. Clicked "don't ask again" on a curl with your API token? It now sits in plain text in .claude/settings.local.json. AgentMon says so, in red when git would commit the file.
  • Trust "done". Claude says all tests pass? AgentMon checks, and sends it back if they don't.
  • It learns your project. It remembers flaky tools and recurring errors across sessions, and spots drift in your CLAUDE.md.
  • Measure it. /agentmon bench compares your sessions with and without AgentMon.

Speaks English, German, French, Spanish, Chinese and Japanese, and follows your terminal's language. The guide has the details, including everything the done gate checks.

The pane

AgentMon Live pane, section by section: header, Focus, running call, Insights, done gate, changes and verification, Usage, tool history, subagents and session log

AgentMon Live demo: the done gate catches a failing test before Claude stops

The web view

Press o, or run /agentmon open. It needs node on your PATH, which Claude Code does not include; everything else works without it. It is local only, and the one thing it can change is showing or hiding the pane.

One page, with a rail that moves between its sections: Overview · Tool calls · Verification · Subagents · Files · Session log. Each section folds, each widget has an i that explains it, and every running session is one click away in the top bar. Open Kiro Crew chats show there too. The pictures show a made-up session.

Overview

Context, quotas, cache hits, cost and turns measured against their limits or your usual sessions, coloured good or bad. Pins move on a change and shake slightly while the page is connected.

Top band: dials for context, quotas and cache hits, rulers for cost, turns and time blocked on you, and a bar splitting tokens in and out

The agent flow shows who started whom, when each subagent handed back, the messages agents sent each other, and where a call failed. Dashed lanes are still running; dotted verticals are check runs, such as tests. Drag the strip on top to pick a time, or press 1, 5 or 15 min, and the waterfall below follows it.

Agent flow: the main session starts six subagents, one reports failing tests, and two still run

The waterfall shows every call in that time, nested under the agent that made it. A call goes by a short name, such as the description Claude gave a shell command or a file's last two path parts; the raw command is in the tooltip and the call's details. Beside it are what needs you, with buttons for failures, waiting, context and memory, what runs now and the turn step by step, and below it where each turn's time went.

Turn waterfall, Events, Running now and where each turn went

Tool calls

Every tool call, sortable, with filters by tool (one per MCP server), by agent and for failures. Click a row for its details. Insights lists the slowest calls, the largest results and approvals asked more than once.

Tool calls table with filters, and Insights

Verification

The last test, type check, lint and build, files changed since the last passing test, and test files whose checks were removed or changed; other edited test files are only counted. Tasks sit beside them.

Verification lights, edited test files and Tasks

Subagents

One row per subagent, worst first, ten at a time plus every running one. Health dots compare its duration, tokens and errors with the session's other subagents. Click a row for its prompt and calls.

Subagent table with calls, tokens, cost, errors, files and health dots

Files

Edited files, paths inside the project, grouped by whether they still need a test: not tested since the last passing run, then edited before it. Files only read follow, most read first.

Files: not tested since last green, before the last passing test, and only read

Session log

One searchable stream of your prompts, Claude's answers, tool calls and subagents. A subagent is one row that unfolds to its calls, equal calls merge, and a failed call keeps its own red row. Filter with the buttons, or click a red bar to go to that failure.

Session log with filter buttons, activity bars and rows

Cost and privacy

  • Your session stays on your machine. The web view listens on 127.0.0.1 only, and what AgentMon learns is kept in Claude Code's local plugin store. Secrets are masked before they are shown.
  • The web view is yours alone. On Linux and macOS the server asks the system which account a browser runs as and lets only yours in: you open the address and type nothing, also through an SSH port forward. On Windows AgentMon opens the page with a one-time code (o or /agentmon open), and the browser keeps its pass until the server stops. Sessions and server prove to each other that they belong to your account, with a secret that never leaves ~/.claude/agentmon-live/web.token. webToken: off turns all of this off; see the guide for the limits.
  • Kiro Crew chats are read, not changed. The server reads Kiro Crew's log files under ~/.kiro/crew/ and sends nothing to Kiro Crew. Only Kiro Crew's own page may frame the web view, and only while Kiro Crew runs.
  • One optional model call. Before Claude stops, Fable, a second model, may check that every part of your request got an answer and that nothing you did not ask for got built: a small call with about 12,000 characters of session text, at most 30 per session by default. Set advisorMode to gate for no model calls at all.
  • One network check. It asks GitHub for the latest release. No session data goes with it.
  • Feedback only when you send it. feedback (b) drafts a prompt and sends nothing. Claude writes the feedback and hands it to the pane, where you read it. send (y) posts it without your name or address to the makers' feedback service: the text, the AgentMon Live and Claude Code versions, and the language. A problem or an idea can go to GitHub as an issue instead, from a link that opens it filled in. cancel (n) drops it. from (w) names you: it adds an install ID the mod made itself and, if you set the option feedbackIdentity, your email or handle. Sent feedback cannot be deleted from the mod; the option feedback: off removes the feature. With CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC set there is no send; AGENTMON_FEEDBACK_URL sends to another address.

To remove it: claude plugin uninstall agentmon-live.

Make it yours

Just ask Claude: "hide the usage box", "switch AgentMon to German", "turn the done gate off". It takes effect at once, with no reload. Or edit pluginConfigs in ~/.claude/settings.json yourself; that applies at your next prompt. The options are not in /config. See the guide for all of them.

All keys
Key Does
i Draft a question about the top Focus item, or the slowest call
u Draft the update commands, when a new release is out
b Draft a prompt that writes feedback to the makers
y, n Send the feedback draft in the pane, or cancel it
w Send the draft anonymously, or as yourself
l Show the new release's changelog
x Put Focus items away
d Show long lists and texts whole
h Fold the history
a Fold out all running subagents, past four
v Switch between the calm and classic layout
o Open the web view in your browser
p Hide the pane; a button above the prompt brings it back
c Run the done-gate check now

Commands: /agentmon, advisor, check, open, learn, memory, bench, debug, clear.

More

  • Guide: every section of the pane, all commands and options, the done gate, the file-size guide, learning, the debug log and the self benchmark.
  • Develop: build, test, and see the real pane from a script.

Developed by vchaindz. Apache License 2.0.

About

See what Claude Code, Codex and/or Kiro-Crew and its subagents are really doing, live in your browser or beside the chat: what it costs, how close you are to your limits, when it needs you, and a check of its work before it says done. 6 languages.

Topics

Resources

Stars

35 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages