Concepts
Architecture
One self-hosted binary sits between Alertmanager and your AI agent, and turns raw alerts into context worth investigating.
Webhook Transmission
Alertmanager fires a POST to the AlertINT webhook receiver over HTTP(S). The payload is the standard Alertmanager webhook JSON — no custom format required.
Data Persistence & Deduplication
Received alerts are written to local state (SQLite by default). Duplicate firings of the same alert fingerprint within the dedup window are collapsed — one record per logical alert.
Correlation Engine
Alerts that fire within a configurable time window and share common label dimensions (alertname, cluster, namespace, service) are grouped into a single incident record. Grouping is deterministic and re-evaluated as new alerts arrive.
AI Synthesis
When the correlation window closes, AlertINT sends the grouped alert payloads to the configured LLM (Anthropic Claude). The model returns a structured finding: probable cause, severity assessment, and suggested next checks. The finding is stored locally alongside the incident.
Outbound Notification
The AI finding is posted to the configured Slack channel via the Bot Token API. When all alerts recover, AlertINT updates the original message in-place (🔴 → ✅) and posts a short resolution note in the thread. stdout is always available as a fallback.
Agent Entry via MCP
An engineer opens their MCP-capable AI client (Claude Code, Cursor, Windsurf, or any MCP-compatible tool). The client is pointed at the AlertINT MCP server endpoint, which runs as part of the same binary. No separate daemon is needed.
Evidence Query
The agent calls AlertINT MCP tools to list recent incidents, retrieve alert payloads, and read the stored AI finding. All data is served from local state — no external calls at this stage.
Telemetry Context
The agent issues read-only PromQL queries through AlertINT MCP tools. AlertINT proxies the query to the configured Prometheus instance and returns the result. The agent can inspect CPU, memory, latency, error rate, or any metric stored in Prometheus — scoped to the incident time window.
Decision Point
The agent synthesizes alert payloads, the stored AI finding, and live metric context into a response. The engineer decides the next action — re-query, escalate, or begin remediation — with full context already in the conversation.
The engineer acts with full incident context — alert history, correlated findings, and live metrics — all sourced read-only from within the local runtime.
MCP-first investigation
An MCP server is the primary way you and your agent interact with AlertINT.
List recent AlertINT incidents.
Open the latest critical incident and summarize the evidence.
Show the alert labels and annotations for this incident.
Query Prometheus for CPU and memory around the incident window.
Compare the finding with the metric trend and suggest next checks.