3 repositoriesJun – Aug 2026Python, Chroma, CrewAI, FastAPI, Kubernetes
Incident copilot: retrieval that knows when to distrust itself
An anomaly detector flags a metric. The copilot searches a postmortem knowledge base for incidents that looked like this one, and two agents draft a root-cause hypothesis for a human to review. Retrieval is sparse and dense, fused with reciprocal rank fusion. An eval harness scores the whole pipeline against eight held-out anomalies.
The dense retriever, falling back to LSA because the sandbox couldn't reach HuggingFace, ranked an unrelated incident first on two of the eight cases that sparse retrieval alone got right. Fusing it in made the system worse. The fix was a corpus-size gate: below 50 documents the dense signal is untrusted and queries fall back to sparse only.