RepoPilot
Review what you or an AI agent changed before you merge.
RepoPilot is a fast, local-first Rust CLI for Git change review. It flags security-boundary changes, behavioral and algorithmic shifts, taint-lite flows, and blast radius so maintainers can focus on the parts of a diff that deserve extra attention. It is deterministic, runs entirely on your machine, and can be called by coding agents over MCP. Nothing is uploaded.
git diff -> boundary + behavior + taint + blast radius -> review or CI gate
RepoPilot reports structural evidence, not a security verdict. Use it beside tests, linters, type checkers, and dedicated security tools.
Install
# or
Homebrew, curl, GitHub Releases, and source builds are documented in Installation.
Review A Change
Review the working tree against HEAD:
Review a branch before merge:
RepoPilot groups review evidence into confidence tiers:
- security boundaries: access control, request trust, deploy surface, supply chain, and secret configuration;
- behavioral changes: network, subprocess, filesystem, SQL, dependencies, migrations, removed error handling, or removed auth checks;
- algorithmic changes: deeper nesting, nested loops, growth, or recursion;
- taint-lite flows: changed request or process input reaching SQL, exec, filesystem-write, or outbound-network sinks;
- blast radius: files that import a changed file.
All review signals ship at preview. They are advisory by default; enable the
explicit high-confidence gate with:
For a complete agent run:
# let the agent or developer work
Full Repository Audit
The broader scan remains available for repository adoption and CI:
Default scans hide broad maintainability noise. Use --profile strict for the
full audit surface.
AI Agents And MCP
RepoPilot exposes local review, scan, context, and explain tools over stdio:
The MCP server is synchronous, root-confined, and makes no network or LLM calls. See MCP server.
Distribution
Official CLI channels are crates.io, npm, Homebrew, and GitHub Releases.
Platform-specific VSIX files are attached to GitHub Releases as a preview integration. RepoPilot is not currently published to the VS Code Marketplace or PyPI.
Documentation
- Documentation index
- Common workflows
- CLI reference
- Configuration
- Reports and schemas
- GitHub pull request integration
- Signal contract
- Release process
Development
License
RepoPilot is licensed under MIT OR Apache-2.0.