incident.io reduces Investigations agent LLM latency 4x through prompt format optimization
incident.io's Investigations agent LLM prompt calls were slow, taking up to 11 seconds to respond, driven by verbose JSON output with reasoning fields and uncompressed Grafana dashboard definitions that inflated input tokens to about 15k.
The initial prompt included reasoning fields that inflated output tokens to 315 and represented Grafana dashboards as verbose JSON, inflating input tokens to about 15k — together driving latency to 11 seconds per call.
Through three sequential optimizations — removing reasoning fields, compressing input format, and compressing output format — the Investigations agent prompt went from 11 seconds to reliably under 2.3 seconds, a 4x improvement overall.
Show all 10 reported metrics
Frequently asked questions
What did this team achieve with this AI workflow?
Through three sequential optimizations — removing reasoning fields, compressing input format, and compressing output format — the Investigations agent prompt went from 11 seconds to reliably under 2.3 seconds, a 4x im…
What tools did this team use?
Grafana, Go.
What results were reported?
Overall latency improvement: 4x faster; Output tokens after removing reasoning fields: 315 to 170; Latency improvement from removing reasoning fields: 40%; Latency after removing reasoning fields: 11s to 7s (source-reported, not independently verified).
What failed first in this deployment?
The initial prompt included reasoning fields that inflated output tokens to 315 and represented Grafana dashboards as verbose JSON, inflating input tokens to about 15k — together driving latency to 11 seconds per call.
How is this incident management AI workflow structured?
Incident alert received → LLM plans dashboard examination → Screenshots pulled from Grafana → Dashboards ready for responders.