# Incident Pilot: Alert Triage & Deploy Correlation

> Triage firing alerts with a deterministic rule engine. Correlates Alertmanager alerts with recent deploys, error logs and traces into a structured incident with cited evidence and a concrete next step. An LLM only rephrases findings; it never invents causes.

Incident Pilot: Alert Triage & Deploy Correlation is a free AI agent skill on Agensi by Anshika Pundeel, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Anshika Pundeel](https://www.agensi.io/creators/anshika-pundeel)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Version: 1.0
- Last updated: 2026-11-23
- Security: scan passed (2026-11-23); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/incident-pilot-alert-triage-deploy-correlation
- Tags: go, sre, observability, incident-response, alertmanager, aiops, devops

## About this skill

### What it does
Teaches your agent to run and operate **incident-pilot**, an open-source Go service that turns a firing alert plus recent context into a structured incident. Ask "why did this alert fire?" and get findings with evidence, not guesses.

### What your agent can do with it
- Start the service and record deploys, error logs and traces as context
- Send Alertmanager alerts and read back the incident
- Explain which rule fired, with severity, confidence and cited evidence
- Check whether an alert lines up with a recent deploy
- List, inspect and resolve incidents

### Why it's different
Analysis is done by **five deterministic rules**, not an LLM:
- `deploy.recent_correlated`: deploy to the same service shortly before the alert
- `logs.error_spike`: ERROR volume, with the dominant message clustered
- `traces.tail_latency`: p99 over recent traces
- `incident.duplicate_open`: alert storms folded into one incident
- `routing.team`: makes the routing decision auditable

Every finding cites evidence. The agent is instructed to quote findings and never add causes they don't support or soften severity.

### Requirements
- Go 1.22+ and `curl`
- The incident-pilot service (source: github.com/anshikapundeel/incident-pilot, MIT)
- No API keys. Slack and LLM narration are optional and set by environment variables.

### Honest limits
This is v0. Incidents are stored in memory and lost on restart. Rules read context from the last hour only. It correlates and explains; it does not remediate.

## Requires

- Git
- Go 1.22+
- curl

Runs a local service on port 9099 (change with -addr). Incidents are kept in memory and lost on restart. Slack and LLM calls happen only if you set the INCIDENT_PILOT_* environment variables.

## Known limitations

In-memory storage only; data is lost on restart. Trace findings require at least 20 samples. Service names must match labels exactly for correlation.
Only the last hour of context (deploys, logs, traces) is considered.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Incident Pilot: Alert Triage & Deploy Correlation skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does Incident Pilot speed up the on-call triage process compared to manual investigation?

It automates the manual 'swivel-chair' investigation by using a deterministic rule engine to link firing alerts to specific deployment commits, error log spikes, and trace latency patterns within a 60-minute window.

### What are the system requirements and third-party integrations needed to run this skill?

Go 1.22+ and curl. Alerts come from Alertmanager (or any sender of the alert JSON). Slack delivery and LLM narration are optional: set the INCIDENT_PILOT_* environment variables to enable them, or leave them unset for fully local, templated reports.

### Why should I use this deterministic engine instead of just sending my logs to a standard LLM?

Rules, not a model, produce the findings. Every finding must cite at least one piece of evidence (a deploy time, a log count, a latency figure) or the engine drops it. An optional LLM can only rephrase those findings; it never adds causes or changes severity.

### What exactly is included in the purchase of this skill?

The SKILL.md (agent instructions for starting the service, sending context and alerts, and explaining findings) plus the incident-pilot source: Go code, tests, docs and example payloads. The source is MIT-licensed and also public on GitHub; the skill is what teaches your agent to operate it correctly.

### Are there any specific data volume requirements or limitations I should be aware of?

Incidents, fingerprints and context (deploys, logs, traces) are held in memory, so everything is lost when the process restarts. Only the last hour of context is considered, and the trace rule needs at least 20 samples for a service before it reports p99 latency.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
