OpsPilot AI
Local-first incident investigation: a LangGraph agent correlates telemetry, change history, service dependencies and runbooks, proposes a fix, waits for a human to approve it, runs it in a sandbox and writes the RCA.
- Type
- Agentic AI
- Status
- Experimental · v0.12
- Built with
- LangGraph, MCP, pgvector, Ollama, PostgreSQL, Next.js
Problem
On-call engineers piece together logs, metrics, recent deploys and runbooks by hand before they can even guess at a root cause.
What I built
A LangGraph investigation workflow that calls two MCP servers (13 read tools, 2 action tools), retrieves runbooks with hybrid pgvector and full-text search, writes evidence-cited root-cause hypotheses and proposes a remediation from a fixed catalogue. A signed, hash-bound operator approval is required before the sandboxed action runs.
How AI was used
Open-weight models on local Ollama for investigation and embeddings, schema-constrained output with validated citations, and no paid APIs or cloud services.
Outcome
Working local prototype with deterministic incident scenarios and read-only evidence providers for Loki, Prometheus, Datadog, Azure Monitor and AWS CloudWatch (CloudWatch tested against a synthetic fixture only).
More screenshots
Want to talk about engineering leadership or AI adoption?
LinkedIn is the quickest way to reach me. My CV and executive profile are here too.