Code review that understands your architecture.
Not another GPT wrapper.
How it works
80% of checks are deterministic — fast, free, reproducible. LLM reasoning is opt-in and never sees your raw source.
Parses every file via Tree-sitter into AST and builds a full dependency graph. Detects cross-file breaking changes instantly.
9 specialized modules covering security, ML, infrastructure, React, async, dependencies, error handling, and duplication. All deterministic, all toggleable.
Only invoked when you ask. Receives structured graph context, never your raw source code. Bring your own API key — Anthropic, OpenAI, or run locally with Ollama.
Language Support
Powered by Tree-sitter for fast, accurate AST parsing. Functions, classes, interfaces, generics, decorators — fully understood across every major language.
Domain Analyzers
Each module targets a specific class of bugs. Enable exactly what your stack needs in .revet.toml. Three are on by default; the rest are opt-in.
.revet.toml with optional auto-fix. No Rust required.Usage
From a quick diff review to continuous watch mode and inline GitHub PR comments — all from the same binary.
$ revet review
Review changes vs main. Builds graph, runs all enabled modules.
$ revet review --full .
Review the entire codebase, not just the diff.
$ revet diff main
Findings only on lines you changed. Perfect for PR reviews.
$ revet review --fix
Auto-remediate fixable findings in-place.
$ revet watch
Continuous mode — re-analyzes on every file save.
$ revet baseline
Snapshot current findings. Future runs only report new ones.
$ revet review --ai
LLM reasoning for ambiguous findings. Bring your own API key.
$ revet explain SEC-001 --ai
Deep explanation of any finding ID.
$ revet review --format sarif
SARIF 2.1.0 output for GitHub Code Scanning.
$ revet review --format github
Inline annotations for GitHub Actions workflows.
$ revet review --post-comment
Post findings as inline comments on a GitHub PR.
$ revet review --format json
Machine-readable JSON for custom tooling and dashboards.
$ revet review --gate error:0
Quality gate — fail CI if finding counts exceed per-severity limits.
$ revet stats
Clean run rate, week-over-week trend, top noisy rules across all past runs.
$ revet report
Generate a self-contained HTML quality report with trend charts and debt estimate.
$ revet config check
Validate .revet.toml without running analysis. Catches regex errors, unknown fields.
GitHub Actions Marketplace
Drop revet into any GitHub workflow. SARIF upload to Code Scanning included — no extra configuration needed.