System
How OpsPilot is measured, and the parts it is built from.
Evaluation
Retrieval · deterministic replay · 7 cases · 1 scenario
| System | Top-1 | Recall@3 | MRR |
|---|---|---|---|
| Lexical baselinenaive token overlap | 1.000 | 1.000 | 1.000 |
| Hashing hybridfirst hybrid (M3) | 0.714 | 1.000 | 0.833 |
| Semantic hybrid · used by the live runtimebge-small-en-v1.5 (M3.5) | 0.857 | 1.000 | 0.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
Next.js
Investigation workspace (this page)
FastAPI
Typed HTTP API, Pydantic contracts
LangGraph
One linear, checkpointed workflow. It sequences; it never decides.
InvestigationTools
Typed tools: metrics, logs, runbooks, past incidents
Retrieval
Hybrid: full-text plus bge-small-en-v1.5 embeddings
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.