Skip to Main Content

The project "RouteCause" is an autonomous diagnostics agent for LLM inference infrastructure on Kubernetes. When shared model-serving degrades, it investigates and hands platform/infra engineers a root-cause report with a concrete fix — turning a slow, manual, four-source correlation into one automated run. The problem: LLM serving on Kubernetes (Gateway API Inference Extension / InferencePool / Endpoint Picker (EPP) scheduling, now llm-d Router) usually degrades because of routing and scheduling misconfiguration, not capacity. Symptoms — P95 Time to First Token(TTFT)/latency breaching SLO, queue depth piling on some replicas while others idle, KV-cache saturation, prefix-cache hit-rate collapse after a rollout — require cross-referencing gateway/EPP metrics, scheduler config, endpoint health, and recent manifest diffs. When you're paged on an SLO breach, that correlation is slow and error-prone. How it works: an SLO breach (or a manual POST /diagnose) triggers the agent. Context-isolated subagents each pull one evidence source — Prometheus metrics, the EPP ConfigMap, and live cluster/endpoint state — and form hypotheses independently, so no single context owns all the evidence. Each surviving hypothesis then faces an independent verifier subagent whose job is to falsify it. The output is a single root-cause report: the diagnosis, ≥2 pieces of cross-source evidence, and a fix as a manifest diff or "kubectl patch" validated with "kubectl apply --dry-run=server". It targets three fault classes — EPP scorer-weight misconfig, an unhealthy endpoint left in rotation, and prefix-cache routing silently disabled by a rollout. Stretch goal: apply the fix and confirm recovery against the SLO. Scope and provenance: the agent was built today in "nsega/routecause". The Kubernetes test environment (kind cluster + llm-d Router + InferencePool + simulated backends + fault injection) is a pre-existing project, "nsega/inference-lab", brought in as scaffolding and referenced, not rebuilt — see PROVENANCE.md for the build-today vs. brought-in boundary. The deliverable is the agent and its reports; there is no metrics dashboard.

Team

nsega

Placement

Participant

More from Claude Build Day

ekton is an evidence-driven 3D digital reconstruction platform for ancient architecture, specializing in the preservation and visualization of Tang Dynasty…

Tekton project preview

Sim Francisco: a living digital twin of San Francisco's population: poll a representative, Census-seeded synthetic city in seconds, and run what-if futures…

sim francisco project preview

A realtime synthetic-data engine for world models. Make a photorealistic scene from crude 3D objects online or brought by you. 1. Take a pictures of an…

www.loom.com/…

DogeHouse Babel is a live voice chat room where everyone speaks their own language and hears everyone else in theirs. A Claude Opus 4.8 interpreter joins the…

DogeHouse Babel project preview

Imagine a planet you can talk to. Rewilding Earth is a "search the Earth" tool. You ask in plain language: "where can I find kelp forests like Monterey Bay?"…

www.loom.com/…

Bel — a health companion that lives in your text messages. Most people's health data is scattered, jargon-heavy, and stranded in PDFs and dashboards they…

Generation Lab project preview