Table of Contents
- LastPing: Incidents for stuck, blocked and missed runs
- Agent Watch: One dashboard for every agent session
- pagr: A self-hosted board with Telegram pings
- SetupYourClaw: A managed instance that stays up
- Vivere: Heartbeat monitors and cost alerts per run
- nightsitter: An outside watcher for silent agents
- Heartbeat: In-session detection of loops and stalls
- codexmon: A health wrapper around coding CLIs
- AI agent monitoring tools at a glance
- How to choose
- Frequently asked questions
- Conclusion
AI agent monitoring is the practice of tracking whether an autonomous agent is still working, waiting on a human, stalled or dead, and raising an alert when it stops producing results. It differs from application monitoring because agent runs commonly fail without an error: a hung tool call, an unanswered permission prompt, or a scheduled run that never started.
1. LastPing: Incidents for stuck, blocked and missed runs

LastPing treats a Claude Code run the way an uptime service treats a cron job: every run has to report in, and the absence of a report is itself an event. Installing it writes one reporting script and registers hooks for seven Claude Code events, so a start, a finish, a failure on an API error, and a blocked prompt all arrive as separate signals rather than as one undifferentiated “something happened”.
The useful part is how it handles the cases that produce no error. A permission prompt or an AskUserQuestion dialog marks the run blocked, and the notification is held for ten minutes so a prompt you answer immediately never pages anyone; a run still blocked past its limit opens an incident. A maximum runtime turns a session that hangs mid-task into an overrun incident. A silence floor — the longest normal gap you expect between runs — covers the agent that never started at all, which is the failure a dashboard built around live sessions cannot show you, because there is no session to display.
Setup runs through Claude Code itself. You add LastPing’s setup skill, or connect its MCP server over HTTP at user scope, then ask the agent to monitor itself; it registers the agent, creates the monitor and installs the hooks, each step after you approve it. The documentation is also candid about what hooks cannot see, which is a good sign in this category.
2. Agent Watch: One dashboard for every agent session

Agent Watch is the dashboard answer to the same problem: one screen showing every Claude Code, Codex CLI and Gemini CLI session you are running, wherever those sessions live. Each agent reports a state — running, idle, or waiting on you — and the product’s central claim is that it distinguishes an agent that is working from one that is stuck behind a permission prompt, which is the distinction that decides whether you need to do anything.
It goes further than notification. Every session runs in a real terminal you can open from the dashboard or from a phone, streamed over a direct peer-to-peer connection with relay fallback, and sessions survive daemon restarts with their scrollback intact. That matters for unattended work: being told an agent is blocked is only half the job if answering it means finding the machine the agent is on. You can also drill into individual events — prompts, tool calls, stops — and track token spend across sessions, so cost and liveness sit in the same place.
Alerts route to Slack, Microsoft Teams, Discord, SMS or email, with optional spoken alerts. Installation is a single command and a client per machine. The trade-off against a heartbeat service is architectural rather than a matter of quality: a dashboard is strongest when agents are running and reporting, and weakest in the case where nothing reports at all, so pair it with a scheduled-run check if your agents fire on a timer.
3. pagr: A self-hosted board with Telegram pings

pagr occupies the middle ground: a live board like Agent Watch, but open source and small enough to read in an afternoon. The server is a single-file FastAPI application backed by SQLite, which you deploy yourself, and every host that runs Claude Code — a local Mac, a remote SSH box, a CI runner — reports into the same board with live status, machine name, and what the agent is currently doing.
Enrolment is one curl … | bash line run on each machine, or pushed over SSH. It installs a small Claude Code hook and wires it into settings.json, and it affects only new sessions, so an existing long-running job is not disturbed. Notification is deliberately narrow: a Telegram message the instant an agent needs a permission or has been left waiting, rather than a ping on every turn. That restraint is the difference between a channel you keep and one you mute after two days.
Because you host it, the agent inventory and the session titles stay on infrastructure you control, which is the usual reason an agency picks a self-hosted board over a SaaS one — the same reasoning behind self-hosted AI agent platforms generally. The cost is the obvious one: you are now also running the thing that watches your agents, and it needs to stay up for its silence to mean anything.
4. SetupYourClaw: A managed instance that stays up

SetupYourClaw belongs in this list for a different reason from the rest, and it is worth being precise about it: it is not a monitoring dashboard and it does not send you alerts about stalled runs. What it does is remove the most common cause of an agent going quiet, which is that the machine underneath it was never built to stay up. An agent running in a terminal on a laptop stops when the laptop sleeps, the network changes or the SSH session drops, and no watchdog can fix that — it can only tell you about it afterwards.
The service deploys a managed OpenClaw instance: you pick a model, connect Telegram and deploy, and the server, SSH keys and runtime environment are already provisioned and waiting to be assigned. The steps it replaces are the ones that make self-hosting a chore rather than a decision — buying a VM, generating and storing keys, connecting over SSH, installing Node and the agent, configuring it, wiring up a provider and pairing a channel. Use cases are added in natural language rather than configured.
Treated honestly, that makes it a complement to the tools above rather than a substitute: a maintained always-on instance removes a class of failures, and a heartbeat monitor or a hook-based reporter still tells you when the agent on it stops producing work. If you want to compare it against running the box yourself, the OpenClaw hosting options are worth reading side by side.
5. Vivere: Heartbeat monitors and cost alerts per run

Vivere applies the oldest reliable pattern in this space — the dead man’s switch — to agents. You create a heartbeat monitor with the period you expect between completed cycles, and the agent proves it is alive by making one HTTP request after each cycle; if the ping does not arrive inside the window, you are told. Nothing needs to detect the failure, because the failure is defined as the absence of a success, which is why this approach survives the cases where the agent’s own reporting is the thing that broke.
It is agent-agnostic by design. Any scheduled job can post to its ping URL, with a short summary as the body so each run leaves a readable log, and a dedicated fail endpoint takes an error message when the agent knows it failed. For Claude Code specifically, the documentation covers wrapping the whole invocation with its runner, adding the ping as the final step of a scheduled task’s instructions, or using a Stop hook so a long interactive session pings on every finished turn — which turns a short monitor period into a stall detector.
The cost angle is unusual and genuinely useful: pipe claude -p --output-format json into the ping and each run records its model, tokens and cost, with a rolling total and a cost alert. A run that costs far more than normal — a loop calling tools forever — then pages you the same way a missed run does.
6. nightsitter: An outside watcher for silent agents

nightsitter is built around one specific failure, stated plainly in its own documentation: an agent that needs you will say so, and modern agent clients already push that notification, but the failure that costs you a night is the agent that stops saying anything at all. Wedged mid-task, looping on the same three tool calls, or killed by an out-of-memory error at three in the morning. It watches from outside the agent process, so it still reports when the agent cannot speak for itself.
It ships as a Python package under an MIT licence with three usable shapes. A dead-man wrapper runs any command — a cron’d agent, a nightly script, a scraper — alerting on failure and on its own kill switch firing, bounding runaway work with a maximum-minutes flag, and pinging an external healthcheck URL on success or failure while passing standard I/O through untouched and exiting with the child’s code. A watch mode reads Claude Code’s local transcripts directly, with no hooks, no SDK and no configuration inside the agent. A status command prints a one-shot fleet snapshot, and a daemon keeps the watch running after you close the terminal.
The distinction it draws — stalled, versus waiting, versus dead — is exactly the one a human makes before deciding whether to intervene, and it is the reason to prefer a tool like this over a generic process monitor for unattended agent work.
7. Heartbeat: In-session detection of loops and stalls

Heartbeat works from inside the session rather than from outside it. It installs as a plugin for Claude Code or GitHub Copilot CLI with a single plugin-install command, and it watches the run for the patterns that mean an agent has lost the thread: stuck loops, stalls, and error spirals where each attempt fails the same way as the last. When it recognises one, it does not just report it — it nudges the agent back on track.
Two design choices are worth noting. The detection is pattern matching, not a model call, so it adds no token cost to a run it is watching; a watchdog that bills per check is a watchdog you eventually turn off on the long jobs that most need it. And it is zero-config, which in this category means it can be installed on a machine you do not intend to maintain, and still be doing something useful a month later.
The limitation follows from where it lives. A plugin inside the agent cannot report that the agent is gone, because it goes with it — so this is the layer you add for run quality, not for liveness. Used together with an outside watcher it covers the gap neither one covers alone: the plugin catches the loop that is burning tokens while technically healthy, and the external monitor catches the process that disappeared. Pairing it with approval gates for unattended agent runs is a reasonable default for anything touching client systems.
8. codexmon: A health wrapper around coding CLIs

codexmon is the smallest shape this idea takes: a health-monitoring wrapper you put in front of a coding CLI. It supports Codex, Claude Code and the Cursor agent, and it keeps one question answered at all times — whether the run is healthy, slow, stalled or done — so that a long job cannot hang silently while you assume it is still working. It is written in Go and published under an MIT licence, which makes it easy to drop onto a server as a single binary with no runtime to install first.
The wrapper model has a real advantage for scheduled work. Because the monitor is the parent process, it sees the run end whatever the reason, including the cases that produce no output and no error, and it does not depend on the agent being well enough to report its own state. That is the same reasoning behind nightsitter’s wrapper mode, and it is why both tools fit naturally into a cron line or a CI step rather than an interactive terminal.
What it does not try to be is a fleet view. There is no dashboard, no notification routing and no cross-machine inventory, so on its own it suits one box and a handful of jobs rather than an agency running agents for a dozen clients. For that scale it is a component — the per-run health check inside a wrapper — underneath a board or a heartbeat service that aggregates the results.
AI agent monitoring tools at a glance
| Tool | Shape | Agents covered | Catches total silence | Runs where |
|---|---|---|---|---|
| LastPing | Hook reporter with incidents | Claude Code | Yes, via silence floor and runtime limits | Hosted service |
| Agent Watch | Dashboard with live terminals | Claude Code, Codex CLI, Gemini CLI | Partly, built around live sessions | Hosted service plus a client per machine |
| pagr | Status board with Telegram alerts | Claude Code | Partly, built around live sessions | Self-hosted, single file and SQLite |
| SetupYourClaw | Managed deployment, not a monitor | OpenClaw | Not its job; removes the cause | Managed instance |
| Vivere | Heartbeat and dead man’s switch | Any agent or script | Yes, missing ping is the alert | Hosted service |
| nightsitter | Wrapper plus transcript watcher | Claude Code, any command | Yes, watches from outside | Local or on your server |
| Heartbeat | In-session watchdog plugin | Claude Code, Copilot CLI | No, lives inside the run | Inside the agent |
| codexmon | Health wrapper per run | Codex, Claude Code, Cursor agent | Yes, for the run it wraps | Local or on your server |
How to choose
Start from the failure that would actually hurt you. If your agents run on a schedule and nobody is watching, a heartbeat service is the first thing to add, because a missing ping is the only signal that survives the agent dying outright. If your agents run interactively and the real cost is an unanswered permission prompt, a board or a hook reporter earns its place faster. Teams running client work usually end up with two layers: something outside the process that proves the run happened, and something inside it that catches loops and error spirals before they burn a night of tokens. Decide where the agent lives first, though — monitoring a laptop that sleeps at midnight only tells you it slept.
Frequently asked questions
What is the difference between AI agent monitoring and LLM observability?
LLM observability tools record traces, prompts, token use and evaluation scores to help you improve output quality. Agent monitoring asks a narrower operational question: is this run alive, blocked, stalled or finished, and should someone be told right now. A tracing dashboard rarely alerts on absence, which is the failure that matters most for unattended runs.
How do you detect an agent that is stuck but not failing?
Two methods work in practice. Give every run a deadline, so a session still open past its maximum runtime raises an overrun incident, as LastPing does. Or detect the behaviour itself: an in-session watchdog such as Heartbeat matches patterns for repeated tool calls and error spirals, and nightsitter infers the same states from transcripts outside the process.
Can hooks alone tell you when an agent has died?
No. Hooks fire from inside the agent, so if the process is killed, runs out of memory or loses its machine, the event that would have told you never fires. Hooks are excellent for reporting state transitions while the agent lives. For the dead case you need something external: a heartbeat whose absence alerts, a wrapper process, or a transcript watcher.
Do you need a dashboard, or are alerts enough?
Alerts are the part you cannot skip, because nobody watches a dashboard at three in the morning. A board becomes worth it once you run several agents across several machines and need to answer prompts without hunting for the host. Tools like Agent Watch and pagr combine both, routing a narrow set of events to a phone while keeping the fleet view available.
How should an agency monitor agents running for multiple clients?
Keep one monitor per client workload rather than one per machine, so a silent run points at the client it affects. Set a silence floor matching each schedule, bound runtimes to limit token spend, and route alerts to a channel someone owns. Pair that with approval gates on any action that writes to a client system, so an unattended agent cannot act unreviewed.
Conclusion
Agent monitoring splits cleanly into two jobs. Something inside the run should notice loops, stalls and error spirals; something outside it should prove the run happened at all. Most of the tools here do one well and the other partly, so pick by the failure you cannot afford rather than by feature count. If the underlying problem is that your agent lives on a machine that was never meant to stay up, fixing the host comes first: SetupYourClaw runs a managed OpenClaw instance for you, already provisioned and connected, so the monitoring you add is watching work rather than watching a laptop.
