The short answer
AI agent monitoring answers three questions at any moment: is each agent alive, is it doing useful work, and is it waiting on a human? Traditional uptime checks only answer the first one, and badly, because an agent can be "up" while it loops on the same failing step or sits blocked on a question nobody saw.
Good monitoring for agents tracks last contact, progress, errors, cost and pending decisions, and alerts on silence as loudly as on crashes.

This is a commercial search with real money behind it. "ai agent monitoring" gets about 320 US searches a month, and advertisers pay around $22 a click for it; "ai agent monitoring tools" goes for nearly $30 (Semrush, November 2026). Vendors want this traffic because teams are starting to feel the pain.
Why agents fail differently
A web service fails loudly. It throws a 500, the health check goes red, someone gets paged. Agents fail in quieter ways:
- Silent stalls. The agent is waiting on a permission prompt in a terminal nobody is looking at.
- Loops. It retries the same tool call 40 times, each one "succeeding" from the server's point of view.
- Drift. It finishes, but the output is wrong or off-task.
- Runaway cost. A long context and a retry loop can burn a day's budget in an hour.
- Dead schedules. A cron-triggered agent stops running and nothing complains, because nothing ran.
Each needs a different signal. That's why "is the process running" isn't monitoring.
The five signals to track
| Signal | What it tells you | How to collect it |
|---|---|---|
| Last contact | Is the agent alive and reporting? | A heartbeat or any event the agent sends |
| Progress events | Is it doing new work, not repeating? | Step or task events with a counter |
| Errors and retries | Is it stuck on a failing action? | Error events, retry counts per tool |
| Cost and tokens | Is it burning money? | Token usage per run from your provider or tracer |
| Waiting decisions | Is it blocked on a human? | Count of open questions or approvals per agent |
The last row is the one most dashboards miss. An agent blocked on an approval looks healthy in every infrastructure metric. It isn't failing; it's waiting. If that wait is invisible, the work stops just as surely as if it had crashed.
Alert on silence
Most teams only alert on errors. For agents, silence is often the better alert. If an agent that usually reports every few minutes hasn't made contact in an hour, something is off: it crashed, the machine slept, a token expired, or it's stuck waiting.
Here's a minimal heartbeat check you can run from cron. Each agent writes a timestamp file when it reports in, and the check flags any agent that's gone quiet:
#!/usr/bin/env bash
# check-agents.sh: flag agents with no contact in the last 45 minutes
LIMIT=$((45 * 60))
now=$(date +%s)
for f in /var/agents/heartbeats/*.ts; do
name=$(basename "$f" .ts)
last=$(cat "$f")
if (( now - last > LIMIT )); then
mins=$(( (now - last) / 60 ))
curl -s -X POST "$ALERT_WEBHOOK" \
-H 'Content-Type: application/json' \
-d "{\"agent\":\"$name\",\"silent_minutes\":$mins}"
fi
done
Set the limit per agent. A research bot that runs hourly needs a different threshold than a coding agent in an active session.

Alert rules that don't become noise
- Silence beyond twice the normal interval gets an alert.
- The same error three times in a row gets an alert, because one failure is often a flaky API.
- A decision waiting longer than your target, such as 30 minutes for anything blocking a deploy, gets a nudge.
- Spend above a daily ceiling pauses the agent as well as alerting.
- Everything else goes to a digest, not a push.
Write the rule and the action together. "Alert when X" is half a rule. "When X, pause the agent and ping the owner" is a whole one.
Monitoring vs observability vs oversight
These words get mixed up, and the difference decides which tool you need.
| Monitoring | Observability | Oversight | |
|---|---|---|---|
| Question | Is it healthy right now? | Why did it do that? | Should it do this? |
| Data | Heartbeats, counts, thresholds | Traces, spans, prompts, tool calls | Pending decisions, approvals, comments |
| User | On-call person, owner | Developer debugging | Whoever owns the outcome |
| Typical tools | Dashboards, alerting | Langfuse, LangSmith, Phoenix, AgentOps | Approval inboxes, review queues |
Tracing tools are excellent for the "why" question after the fact. They're less useful for "which of my eight agents needs me right now". For that you want a live view of status plus an attention queue. We compare the tracing side in best AI agent observability tools.
A monitoring setup for a small team
You don't need a platform team to do this well. A setup that works for one to five people:
- Every agent reports in. Each run sends at least a start, a result or an error. Many agents can do this with a short instruction in their prompt plus a webhook or MCP tool.
- One status page. A list of agents with last contact, current state and open decisions. See AI agent dashboard: the views that matter.
- One attention queue. Questions, approvals and errors land in the same place, sorted by age.
- Phone alerts for blockers only. Everything else waits for the morning digest.
- Tracing where you debug. Keep Langfuse or LangSmith for the deep "why" when something goes wrong.
A worked example
Say you run three agents: a coding agent on your laptop, a support-triage agent on a small VPS, and a nightly job that summarizes analytics. Here's how the signals play out over one evening.
At 18:40 the coding agent asks to run a database migration and gets no answer, because you've left for dinner. Infrastructure metrics show nothing wrong. The waiting-decisions count for that agent goes to one, and after 30 minutes your phone gets a nudge.
At 21:15 the support agent's API token expires. It starts failing on every ticket, retrying each one. The third identical error in a row triggers an alert, and the agent pauses instead of burning tokens on retries all night.
At 02:00 the nightly job doesn't run at all, because the cron host rebooted. There's no error to catch. The only signal is silence: no start event by 02:30. That's the alert that saves your morning report.
Three different failures, three different signals. A setup that only watched for crashes would have caught none of them.
Monitoring coding agents
Coding agents like Claude Code, Cursor and Codex add their own twist: they often run inside a developer's session rather than as a service. The signals still apply. Claude Code, for example, can fire a Notification hook when a permission prompt has waited a few seconds or when a session goes idle, which you can forward as a "waiting" event. Our guide to monitoring Claude Code sessions shows how.
FAQ
What is AI agent monitoring?
It's tracking whether each AI agent is alive, making progress, failing, spending money, or waiting on a person, with alerts when one of those goes wrong.
How is agent monitoring different from LLM observability?
Observability tools record traces of model calls and tool calls so you can explain behavior later. Monitoring watches live health and status. Most teams use both.
What's the most important metric for AI agents?
Last contact time per agent is the simplest and most useful starting point, closely followed by the number of decisions waiting on a human.
How do I know if an agent is stuck?
Look for silence beyond its normal interval, repeated identical errors, or an open question that's been waiting too long. Any of the three should trigger a check.
Where Tapnod fits
Tapnod's agent monitoring shows when each agent last made contact, which ones are active and which decisions are waiting, next to the inbox where you answer them. Start free.