TrustPager Docs

← Help Center

AI Features

How to Set Up Agent Alert Rules

Create alert rules that notify you when AI agents hit consecutive failures, duration limits, missed runs, or error rate thresholds, via email, Slack, or in-platform.

Agent alert rules let you tell TrustPager what "wrong" looks like for your AI agents, and what to do when it happens. There is no separate Alerts page any more (its old address takes you to Agent Hub at https://app.trustpager.com/ai-agents/agent-hub). You set up and read alerts by asking Claude, or through the API.

How it works

Rules run continuously in the background. You set them up once and TrustPager checks every agent run against them automatically. Fired alerts stay on record until someone acknowledges them.

The four rule types

When you create a rule via the API or MCP, you choose one of four types based on what you want to catch.

Notification channels

Each rule has a notify_channel field that controls where the alert goes. The supported channels are:

You can leave notify_channel blank, it defaults to Slack.

Scoping a rule to one agent

By default a rule applies to every agent in your workspace. Set the agent_name field to restrict the rule to a specific agent. Leave it empty to watch all agents.

Creating and managing rules

Alert rules are created and updated via the TrustPager API or the MCP server. The relevant tools are:

Ask Claude to set rules up for you, for example: "Alert me if my daily report agent has not run in 26 hours." Exact names and fields are at https://docs.trustpager.com/reference.

Acknowledging alerts

Ask Claude "What agent alerts haven't I looked at?" to see the ones still waiting, then tell it to acknowledge any you have dealt with. Each alert records who acknowledged it and when, so you have an audit trail if something comes back later.

Good habit: Create a "No Run Since" rule for any scheduled agent that should run at least daily. It is the simplest way to catch a missed cron or a silently paused agent before it affects your clients.
← Back to Help Center Open on trustpager.com ↗