Agent Regression Flywheel
A closed loop that turns live agent failures into tomorrow's regression suite, and gates every version promotion behind a significance test instead of a raw pass-rate diff.
The question
Most eval harnesses run a fixed benchmark. This one asks what should be in the benchmark, based on what is actually breaking in production, and whether a fix is real or just sampling noise.
How it works
A LangGraph agent runs live and is traced in LangSmith. A failure-mining service embeds the traces and clusters them with HDBSCAN to surface new failure modes, rather than matching a predefined list of known bugs.
Each cluster becomes a Harbor-style task with a sandboxed environment spec and a verifier. Temporal fans regression trials out into isolated Modal sandboxes with retries and resumability.
A candidate version is compared to the baseline with paired trials, and needs a McNemar's-test-significant improvement before it is promoted. FastAPI serves the agent and dashboard APIs, Django runs the task-approval queue, and a Next.js dashboard shows the mining funnel and the significance result.
Stack
Python · FastAPI · Django · LangGraph · FastMCP · Temporal · Modal · Next.js · TypeScript · PostgreSQL · Redis · Kubernetes
Next
Running against a live Temporal server, and deploying the 10 Kubernetes manifests to a real cluster.