Repository navigation
FAQ
What is a correction? A human changing, approving, rejecting or escalating an agent's answer. In Overturn each correction becomes a frozen case: the step input, the tool recordings, the original output and the expected answer. Cases are the regression suite.
Does replay call my tools? No. Tool calls are answered from the recording by fingerprint (Fingerprint contract). Side-effect tools are refused in replay, always.
Which models can I replay against?
Anything with a key on the server: openai/…, anthropic/…, google/…, openrouter/…, together/…, or local/<model> for any OpenAI-compatible server (vLLM, Ollama, TGI, LM Studio). OPENAI_BASE_URL points the OpenAI provider at a gateway.
How is a case scored?
On the fields the human changed. An edit that touched priority is scored on priority, so rephrasing a structured answer is not a regression. Free-text answers are scored by a judge model, and the report says which model judged.
What is a regression? A case the baseline passed and the target fails. Regressions are listed first in every report, with baseline, target and the human fix side by side. The PR action fails the check on any regression by default.
How is this different from an eval framework? Eval frameworks need someone to write the test set. Overturn's test set is written by the humans who already correct the agent, where they already work. Nothing to author, nothing to keep in sync.
Can I run it air-gapped?
Yes. Self-host with docker compose, set LOCAL_MODEL_BASE_URL, and replay with local/<model>. Lexical example retrieval and the structured scorers need no key. See Self hosting.
Do my corrections leave my infrastructure?
Self-hosted: never, unless you replay against a hosted model. Training on Together sends the exported rows under your key; overturn-trainer trains in your own cloud and registers only the result. See Owned models.
How do I gate pull requests?
uses: overrule-ai/overturn/packages/replay-action@main with api-key, model and fail-on-regression: 0. The report lands as a PR comment.
Is it open source? Apache-2.0. Capture and replay are free; the hosted app at https://app.overturn.run runs the same code.
Where do I report a bug or ask a question?
Issues for bugs and feature requests, Discussions for questions, and SECURITY.md for vulnerabilities.