# agent-roast

> Open-source (MIT) offline checker that catches AI coding agents turning a red build green by weakening the checks instead of fixing the code: loosened assertions, skipped or deleted tests, lowered coverage thresholds, CI steps allowed to fail. Runs as a stop hook for Claude Code, Codex and Cursor, a Git pre-commit hook, an MCP tool and a GitHub Action. Deterministic, no model, no tokens, no network.

- Page: https://vibetoolrank.com/tools/agent-roast/
- Markdown: https://vibetoolrank.com/tools/agent-roast.md
- Official: https://github.com/Nari-Ab/agent-roast
- Category: Code Review & Security (https://vibetoolrank.com/best/code-review/ · https://vibetoolrank.com/best/code-review.md)
- Pricing: Free and open source (MIT); runs via npx with no model or tokens.
- Free tier: Yes: free, open source, runs offline with no tokens (per the official README, checked 2026-11-13)
- Last checked: 2026-11-13

## Agent test

- Overall: **9.1/10** (outcome 8, speed 10, cost 10, DX 9, reliability 10)
- Cost per run: Not measured
- Tested: 2026-11-13 · Runs: 3 runs · Edition: agent-roast 0.20.0 via npx, offline and deterministic, no model or key (seeded weakened-check test)
- Score label: rubric v0.1
- Summary: 3/3 identical runs on a fixture of 9 seeded weakened-check edits and 5 harmless look-alikes: it flagged 8 of 9 seeded edits in 0.6s and raised 0 false positives. It missed a Python assert weakened from "== 4" to a bare truthiness check. We tested only 14 hand-written cases, not real repositories; its own docs report a high false-alarm rate on unseen repos.
- Evidence: docs/tests/agent-roast/RESULTS.md

## Pros / cons

- Pro: Free, offline npx command with no key or model; a full review took 0.6s
- Pro: Flagged 8 of 9 seeded weakened checks: toBeDefined swap, it.skip, trivial assert, deleted test, it.only, lowered coverage thresholds, CI continue-on-error, pytest skip
- Pro: 0 false positives on 5 look-alike edits (reformat, rename, raised threshold, new tests, environment-gated skip)
- Con: Missed a Python assert weakened from "== 4" to a bare truthiness check, although its README lists that pattern
- Con: Its own docs report between a quarter and two thirds of blocked commits were false alarms on repositories it was not tuned on (we did not replicate this)
- Con: It only checks for weakened tests and guards; it does not review code for bugs

## Sources

- https://github.com/Nari-Ab/agent-roast
- https://news.ycombinator.com/item?id=50468500

Methodology: https://vibetoolrank.com/methodology/
