Swamp cuts alert triage costs using small language models
The company uses the small model Jev to classify alerts, achieving a 91% cost improvement over larger models. Humans retain final decision-making authority while agents handle context gathering.
Swamp implemented a 'lights-out' factory for alert triage that processes webhooks from GCP, Axiom, and Grafana. The system verifies HMAC signatures, de-duplicates alerts via hashing, and correlates incidents before triage. It uses the small language model Jev for initial classification, distinguishing between actionable and dismissed alerts. This approach achieved a 91% cost improvement because one Claude call costs approximately the same as 1,365 Jev calls. The total cost for Jev usage over two months was 23 cents. The system generates a structured 'dossier' with context, evidence, and recommended actions, which is sent to Discord and on-call phones only after passing deterministic checks. A real alert fired at 2153 UTC on Halloween night regarding an overdue certificate renewal in Grafana; the system identified it as a duplicate of an open incident and suppressed the page. Stack emphasizes that agents never make final management decisions or touch controls; humans retain judgment for remediation, while agents handle the 30-minute context-gathering toil. Stack contends that agents are force multipliers for operators, not replacements, by automating repetitive toil and providing structured context.