Documentation | Quick Start | Installation
Continuous code review for AI coding agents. roborev runs in the background, reviews every commit as agents write code, and surfaces issues in seconds -- before they compound. Pull code reviews into your agentic loop while context is fresh.
How It Works
- Run
roborev initto install a post-commit hook - Every commit triggers a background review -- agents write, roborev reads
- View findings in the TUI, feed them to your agent, or let
roborev fixhandle it
Quick Start
cd your-repo roborev init # Install post-commit hook git commit -m "..." # Reviews happen automatically roborev tui # View reviews in interactive UI
Features
- Background Reviews - Every commit is reviewed automatically via git hooks. No workflow changes required.
- Auto-Fix -
roborev fixfeeds review findings to an agent that applies fixes and commits.roborev refineiterates until reviews pass. - Code Analysis - Built-in analysis types (duplication, complexity, refactoring, test fixtures, dead code) that agents can fix automatically.
- Multi-Agent - Works with Codex, Claude Code, Gemini, Copilot, OpenCode, Cursor, Kiro, Kilo, Droid, and Pi.
- Runs Locally - No hosted service or additional infrastructure. Reviews are orchestrated on your machine using the coding agents you already have configured.
- Interactive TUI - Real-time review queue with vim-style navigation.
- Review Verification -
roborev compactverifies findings against current code, filters false positives, and consolidates related issues into a single review. - Extensible Hooks - Run shell commands on review events. Built-in beads integration creates trackable issues from review failures automatically.
The Agentic Fix Loop
When reviews find issues, copy-and-paste the reviews into your
interactive agent sessions, or invoke the roborev:fix skills. You
can also address open reviews on the command line non-interactively
with roborev fix.
roborev fix shows the review findings to an agent, which applies
changes and commits. The new commit gets reviewed automatically,
closing the loop.
For fully automated iteration (advanced feature), use refine:
roborev refine # Fix, re-review, repeat until passingrefine runs in an isolated worktree and loops: fix findings, wait for
re-review, fix again, until all reviews pass or --max-iterations is hit.
Code Analysis
Run targeted analysis across your codebase and optionally auto-fix:
roborev analyze duplication ./... # Find duplication roborev analyze refactor --fix *.go # Suggest and apply refactors roborev analyze complexity --wait main.go # Analyze and show results roborev analyze test-fixtures *_test.go # Find test helper opportunities
Available types: test-fixtures, duplication, refactor, complexity,
api-design, dead-code, architecture.
Analysis jobs appear in the review queue. Use roborev fix <id> to
apply findings later, or pass --fix to apply immediately.
Installation
Shell Script (macOS / Linux):
curl -fsSL https://roborev.io/install.sh | bashHomebrew (macOS / Linux):
brew install roborev-dev/tap/roborev
Windows (PowerShell):
powershell -ExecutionPolicy ByPass -c "irm https://roborev.io/install.ps1 | iex"
With Go:
go install github.com/roborev-dev/roborev/cmd/roborev@latest
Commands
| Command | Description |
|---|---|
roborev init |
Initialize roborev in current repo |
roborev tui |
Interactive terminal UI |
roborev status |
Show daemon and queue status |
roborev review <sha> |
Queue a commit for review |
roborev review --branch |
Review all commits on current branch |
roborev review --dirty |
Review uncommitted changes |
roborev fix |
Fix open reviews (or specify job IDs) |
roborev refine |
Auto-fix loop: fix, re-review, repeat |
roborev analyze <type> |
Run code analysis with optional auto-fix |
roborev compact |
Verify and consolidate open review findings |
roborev show [sha] |
Display review for commit |
roborev run "<task>" |
Execute a task with an AI agent |
roborev close <id> |
Close a review |
roborev skills install |
Install agent skills for Claude/Codex |
See full command reference for all options.
Configuration
Create .roborev.toml in your repo:
agent = "claude-code" review_guidelines = """ Project-specific review instructions here. """
See configuration guide for all options.
Supported Agents
| Agent | Install |
|---|---|
| Codex | npm install -g @openai/codex |
| Claude Code | npm install -g @anthropic-ai/claude-code |
| Gemini | npm install -g @google/gemini-cli |
| Copilot | npm install -g @github/copilot |
| OpenCode | go install github.com/opencode-ai/opencode@latest |
| Cursor | cursor.com |
| Kiro | kiro.dev |
| Kilo | npm install -g @kilocode/cli |
| Droid | factory.ai |
| Pi | pi.dev |
roborev auto-detects installed agents.
Documentation
Full documentation available at roborev.io:
- Quick Start
- Installation
- Commands Reference
- Configuration
- Auto-Fixing with Refine
- Code Analysis and Assisted Refactoring
- Hooks
- Agent Skills
- PostgreSQL Sync
License
MIT