Healthchecks for AI agents

Know when an agent goes quiet.

StaleAgent is a dead-man's switch for scheduled agents — Claude Code, Codex, or a script of your own. Each agent gets a ping URL. If the ping does not arrive, you get one alert. When it recovers, you get one more.

The open-source wrapper sends exit code, duration, byte counts, and a hash of stdout. It never sends the prompt, the output, environment variables, or API keys.

01 — Setup

A ping URL, then whatever already runs the job.

01

Create an agent

Name it, set every 30 minutes or a cron expression, and choose a grace period. You get a secret URL.

02

Ping it

curl the URL from cron, or wrap the command: staleagent run <token> -- claude -p "triage inbox"

03

Get one email

Missed, failed, empty, too slow, too expensive, or stuck repeating itself. A recovery note when it is healthy again.

02 — Alerts

Six ways a scheduled agent goes stale.

Missed run

No start or success ping by the schedule plus grace.

Failed

A /fail ping, or an exit code that is not zero.

Empty output

A successful run that reports zero bytes.

Runtime

A run still open, or finished, past the limit you set.

Cost

One run, or the last 24 hours, over the limit you set.

Loop

The same stdout hash several times in a row, or pings far faster than the schedule.

03 — Privacy

Metadata in. Prompts stay on the machine.

What we store

  • Ping time and schedule
  • Exit code
  • Duration
  • Stdout and stderr size in bytes
  • SHA-256 of stdout, used only to spot repeated output
  • Optional token counts and cost, if you or the CLI report them

What we never receive

  • Prompts
  • Model outputs
  • Environment variables
  • API keys
  • Files

The hash cannot be turned back into the output. Turn it off with --no-hash.

04 — Pricing

Free for three agents. Paid plans are coming soon.

Billing is not switched on. New accounts are on Free. The alert rules above already run.

Solo

$6/mo

  • 25 agents
  • All alert channels
  • Cost and loop rules
  • Daily digest and 30-day history

Pro

$12/mo

  • 100 agents
  • Team members
  • 90-day history
  • Status page and API keys