agent-incident
incident.io triage CLI for AI agents
- Language
- Go
- Version
- 0.3.1
- License
- MIT
- Category
- CLI Tool
An incident.io CLI designed for AI agent triage workflows — incidents, alerts, on-call schedules, escalations, and status pages. Structured output with classified errors so agents can self-correct, and multi-org support for switching between organizations.
Features
Token-efficient output — NDJSON for lists, JSON for single items, YAML available
Structured error classification — every error includes fixable_by: agent|human|retry
Triage-focused — incidents, alerts, on-call, escalations, and status pages
Multi-org support — switch between incident.io organizations with --org
Self-documenting — agent-incident llm-help for agent-friendly reference
Single compiled Go binary — no runtime dependencies
Install
Homebrew
$ brew install shhac/tap/agent-incident AI Agent Skill
$ npx skills add shhac/agent-incident GitHub Release (macOS)
$ curl -L https://github.com/shhac/agent-incident/releases/latest/download/agent-incident-darwin-arm64.tar.gz | tar xz Go Install
$ go install github.com/shhac/agent-incident/cmd/agent-incident@latest Build from Source
$ git clone https://github.com/shhac/agent-incident.git && cd agent-incident && make build Getting Started
agent-incident needs an incident.io API key before it can query anything. Store credentials per organization for easy multi-org switching.
01 · Add your organization
$ agent-incident auth add prod --api-key YOUR_API_KEY Keys are stored in macOS Keychain when available.
02 · Test the connection
$ agent-incident auth check 03 · List incidents
$ agent-incident incident list Returns NDJSON by default for token-efficient streaming.
Usage
$ agent-incident incident list $ agent-incident incident get INC-123 $ agent-incident oncall schedule list $ agent-incident alert list $ agent-incident status-page list $ agent-incident oncall escalation create --path engineering