← Projects

Alert-to-diagnosis agents

Firing alerts reach a fenced AI agent over A2A; it answers from the runbook or runs one diagnostic workflow.

Firing alerts reach a kagent triage agent over A2A JSON-RPC, deduplicated by alert start time: a six-hour alert went from about 72 agent runs to one. A second agent answers from the runbook index or submits one diagnostic Argo Workflow, and declines otherwise. 64 of the 81 alerts have no scripted action, so declining is designed behaviour.

One operator, 81 alerts, and a phone that rings at 03:00: the point is that every alert arrives with the first diagnosis already done, in the same Telegram chat the alert came from. The loop is a poll, not a webhook, so there is no ingress and no shared secret, and a daily ceiling stops it from spending without limit.

every firing alertAlertmanagertriage CronJobtriage agentTelegrampollA2Aevery 10 min, deduped by start time: ~72 runs → 14 tools, all read-onlyon demanddiagnose agentrunbook indexone Argo Workflowreadscreates1 · read-only tool grants2 · RBAC: create Workflows in argo, nothing else3 · admission policy: the tool server may not write anything else
The only write an agent can reach is one Workflow, and three independent fences hold it there.

Three independent fences hold it: read-only tool grants, RBAC that can only create Workflows, and a ValidatingAdmissionPolicy that denies every other write. Its first live diagnosis was wrong, which is why it now has an eval corpus. Details: Fencing an alert agent.

A2A · kagent · Argo · Workflows · Kubernetes