pager

Benchmarked on 74 live incidents

The on-call agent that shows its work.

Pager picks up the alert, investigates with read-only access to your metrics, logs, traces, Kubernetes, deploys and database, and hands you a root-cause report where every claim links to the evidence behind it. Nothing changes until you approve the fix.

47%
of 74 incidents diagnosed to the exact service and failure mechanism, from one request
$0.0006
model cost per single-request investigation
44 s
median time from fault to page
ErrorBudgetBurnFast orders · 33% failing
@@recent changes E3
deploy payments v1.0.0 → v1.0.1 ruled out
−orders v1.0.0
+orders v1.4.0 bulk discount refactor
@@root cause E8E22
orders / code_regression · 643× “pricing failed”
@@proposed fix
−orders v1.4.0
+orders v1.0.0 rollback
90 s · 25 tool calls · $0.0062 Waiting for a human

Product

An investigator you can audit

Investigates on its own

Starts from the firing alert and works through read-only tools for what you connect: metrics, logs, traces, Kubernetes, deploy history, Postgres, Redis queues and runbooks.

Every claim is cited

Each tool result gets an id like E3. Hypotheses, evidence for and against, and the fix all point at those ids, and a report that cites anything else is sent back.

You approve every change

Tools can only read, and the database, Redis and Kubernetes roles cannot write. A proposed rollback runs only after a signed human approval, and every decision is journaled.

Hard limits on cost and time

Every run has caps on model calls, wall-clock time and spend. On GLM-5.3-flash one request cost $0.0006 on average and a tool-loop investigation $0.0035. A run that reaches a cap is asked for its best report before it stops.

Demo

Watch Pager work an incident

Two recorded investigations by Pager on GLM-5.3-flash, told in five steps. Every step links to the tool output behind it.

0.0 s
    Every tool call, in order
    t = 0.0 s

      Benchmark

      Measured on live faults with known causes

      74 incidents injected into a running system, drawn from 20 fault types, each with recorded ground truth. A diagnosis counts only when the report names both the faulty service and the failure mechanism. Bars show 95% confidence intervals.

      Model and setup Correct root cause Valid reports Harmful fix Cost / run

      After the fixes

      The tool loop now finishes every investigation

      Most of the tool loop's losses above came from the harness, not the model: the request-size limit counted reasoning text that was never sent, and a run that hit a limit ended with no report. After fixing both, GLM-5.3-flash was re-run on one incident per fault, all three setups on the same live incidents (19 paged).

      Model and setup Correct root cause Finished Harmful fix Cost / run

      Every incident

      Each square is one investigation

      Rows are fault types, sorted from easiest to hardest. Each fault ran up to five times with different load, timing and decoy changes. Open a row to see what each setup concluded.

      • Right service and mechanism
      • Right service only
      • Wrong service
      • Report after budget ran out
      • No valid report
      • Proposed a harmful fix

      Architecture

      From fault to approved fix

      Pager handles the alert. The benchmark injects faults with known causes into a live lab and scores every report against them.

      Fault, alert, investigation, cited report, then scoring and human approval Fault injected SLO alert Pager investigates Cited report Scored Human approval 26 faults + decoys burn-rate page 16 read-only tools citations checked vs ground truth then rollback

      The lab

      Seven Go services (gateway, auth, orders, inventory, payments, worker, notifications) on Postgres and Redis under k6 load, observed by Prometheus, Loki and Tempo. Multi-window SLO burn-rate alerts page through Alertmanager, and a synthetic probe watches the edge.

      The faults

      26 faults with recorded ground truth: bad deploys, config regressions, feature flags, lock contention, missing indexes, poison queue messages, expired certificates, memory leaks and network faults. Every incident also lands harmless decoy changes nearby.

      All faults

        The investigator

        A LangGraph tool loop with a typed report schema: hypotheses, evidence for and against, root cause, fix and open questions. A validator checks every citation before a report is accepted.

        Blind scoring

        The investigator never sees ground truth: it is written to disk only after every run has finished. Scoring checks service, mechanism, whether the fix is acceptable and whether it would cause harm.

        Your stack

        Connect it to what you already run

        Pager sits between your alerting and your on-call people. An alert reaches them as usual and, in parallel, reaches Pager, which reads your systems and posts a cited report where they already look. It only gets tools for the sources you configure.

        • Tested against the real software
        • Built from the vendor's documentation; not yet run against the live service

        One config file

        [sources.prometheus]
        url = "http://prometheus:9090"
        [sources.loki]
        url = "http://loki:3100"
        [sources.kubernetes]
        context = "prod"     # read-only role
        
        [model]
        backend = "openai"   # OpenAI-compatible
        base_url = "http://ollama:11434/v1"
        name = "qwen3"
        
        [[notify]]
        type = "slack"
        url_env = "PAGER_SLACK_WEBHOOK"
        pager check --config pager.toml
        pager serve --config pager.toml

        pager check first

        It reaches every source you listed and fails if a database role or Kubernetes credential could write, or read Secrets.

        Secrets stay in the environment

        The config names environment variables for tokens and passwords. Reports and delivery logs never contain them.

        Your model, your network

        OpenRouter, Anthropic, or any OpenAI-compatible server, including a local one, so investigations can stay inside your network.

        Closed by default

        Webhooks can require a token, PagerDuty signatures are checked, and Pager will not listen beyond localhost without a token.

        Roadmap

        What comes next

        Planned, in order. Each item ships with its evidence or not at all.

        1. Installable in minutes

        A container image, pip install from the repository, pager demo, and a five-minute quickstart.

        2. Open to contributors

        Contribution and security guides, and continuous integration on every change.

        3. A tighter accuracy answer

        Two incidents per fault on the current code, enough to tell the tool loop and the single prompt apart.

        4. Fewer harmful fixes

        Before blaming a recent deploy, check that it touches the failing path, then measure the change.

        5. Vendor adapters run live

        PagerDuty, Opsgenie, Datadog, Teams, Discord, GitHub and Jira tested against real accounts.

        6. Approve from chat

        Approve or reject a proposed fix with a button in Slack.

        See how it was built and measured.

        Python, Go, LangGraph, Prometheus, Loki, Tempo, Kubernetes, Postgres.