System

How OpsPilot is measured, and the parts it is built from.

Evaluation

Retrieval · deterministic replay · 7 cases · 1 scenario

SystemTop-1Recall@3MRR
Lexical baselinenaive token overlap1.0001.0001.000
Hashing hybridfirst hybrid (M3)0.7141.0000.833
Semantic hybrid · used by the live runtimebge-small-en-v1.5 (M3.5)0.8571.0000.929

Semantic retrieval improved over the first hybrid implementation but still trails the naive lexical baseline on one of seven evaluation cases. The regression is intentionally kept visible; amber marks scores below the baseline.

Whole investigations are scored the same way: a recorded run is replayed against an answer key the runtime never reads, with deterministic checks and no LLM judge.

Architecture

One controlled workflow, no autonomous agents

  1. Next.js

    Investigation workspace (this page)

  2. FastAPI

    Typed HTTP API, Pydantic contracts

  3. LangGraph

    One linear, checkpointed workflow. It sequences; it never decides.

  4. InvestigationTools

    Typed tools: metrics, logs, runbooks, past incidents

  5. Retrieval

    Hybrid: full-text plus bge-small-en-v1.5 embeddings

  6. PostgreSQL + pgvector

    One database for documents and vectors

Alongside

MCP
Read-only agent interoperability
Langfuse
Optional observability
Human
Approves production changes

Workflow: triage → collect signals → normalize evidence → generate hypotheses → assess business impact → recommend → evaluate policy → human approval (pause) → decision record. Business impact, policy and risk are deterministic domain services, not agents. No code path executes the recommended change.