RevHive
10 AI reviewers. 30 seconds. One merge decision.
RevHive scans every pull request with 10 specialized agents (9 reviewers + 1 coordinator) for security holes, logic bugs, performance traps and test gaps — then hands you one risk score and a deduplicated list worth reading. No 90-comment noise. No "LGTM" gambling.
pip install revhive-ai && revhive demo # 30-second taste — no API key, no setup
Two ways to use it:
- CLI / CI — run it yourself, data never leaves your machine. Free forever under BSL.
- GitHub App — every PR gets auto-reviewed. Free for 50 reviews/month, no credit card.
Status: early-stage and solo-built. We run RevHive on every PR we open in our own repos. False positives are the #1 thing we care about — if a finding is noise, tell us and we'll fix the agent, not the symptom.
Why people use it
| The problem | What RevHive does about it |
|---|---|
| Reviewing a big PR properly takes 1–2 hours of a senior dev's day | 9 specialist agents read it in parallel, report in 1–3 minutes |
| Bugs ship because "LGTM" and nobody actually looked | Every PR gets a scored, deduplicated audit — no skipped files |
| Security findings surface in prod, not in review | A dedicated Security agent hunts SQLi, XSS, secrets, weak crypto, auth flaws before merge |
| Reviewer comments are noisy and ignored | Coordinator dedups findings across agents; you read one score, drill into what matters |
| Team pays per-seat for review tools and still worries about data leaving the repo | BYOK: your code and keys go to the LLM you chose (DeepSeek, MiMo, Qwen, GLM, Kimi, OpenAI…), not to us |
| Chinese models? Most tools assume OpenAI | 5 Chinese LLMs are first-class citizens — this is the only review tool with native DeepSeek/MiMo/Qwen/GLM/Kimi support |
Who it's for — and who it isn't
For: solo devs and small teams that already do PR review but want a reliable second pair of eyes; teams that want a pre-merge quality gate without buying per-seat SaaS; anyone who cares where their code and API keys go.
Not (yet) for: replacing your senior engineers' judgment; org-scale governance dashboards (on the roadmap); non-GitHub Git hosts (roadmap).
See it work
pip install revhive-ai
revhive demo
The demo runs the full 10-agent pipeline locally with mock responses — same report structure as a real run, zero cost. You'll get a severity-ordered, deduplicated report ending in:
🚨 Risk Score: CRITICAL (91/100)
1 Critical · 1 High · 8 Medium · 11 Low
| Score | Level | Meaning |
|---|---|---|
| 0–20 | ✅ LOW | Safe to merge |
| 21–50 | ⚠️ MEDIUM | Review recommended before merge |
| 51–80 | 🔴 HIGH | Fix before merge |
| 81–100 | 🚨 CRITICAL | Do not merge |
Get started in 3 ways
A. CLI — real review of a file or diff (30 seconds)
pip install revhive-ai
export LLM_API_KEY=your-key # DeepSeek, MiMo, Qwen, GLM, Kimi, OpenAI…
revhive review --file src/main.py # or: revhive review --diff HEAD~1
B. GitHub App — automatic review on every PR
- Install the GitHub App on the repos you care about
- Paste your LLM key in the auto-created dashboard (DeepSeek is pre-selected — ~$0.05/review)
- Done. Every new PR gets a review comment with the risk score.
C. CI — as a GitHub Action or Docker step
docker build -t revhive .
docker run --rm -e LLM_API_KEY=$LLM_API_KEY -v $(pwd):/code revhive review --file /code/src/main.py
Full GitHub Actions workflow (copy-paste)
# .github/workflows/code-review.yml
name: AI Code Review
on:
pull_request:
types: [opened, synchronize]
jobs:
review:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install revhive-ai
- name: Run RevHive Review
env:
LLM_API_KEY: ${{ secrets.LLM_API_KEY }} # DeepSeek ≈ $0.05/review
LLM_BASE_URL: https://api.deepseek.com/v1
LLM_MODEL: deepseek-chat
run: |
revhive review --diff HEAD~1 --format markdown --output review_report.md
- name: Post Review Comment
uses: actions/github-script@v7
with:
script: |
const fs = require('fs');
const report = fs.readFileSync('review_report.md', 'utf8');
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: report
});
Pricing — honest numbers
| Tier | Price | Reviews | Agents | Inline comments | Commit status gate | History | Slack | Support |
|---|---|---|---|---|---|---|---|---|
| Free | $0 | 50/mo | 4 core | — | — | — | — | Community |
| Pro | $9/mo | Unlimited | All 10 | ✅ | ✅ | 30 days | — | Email (48h) |
| Business | $19/mo | Unlimited | All 10 | ✅ | ✅ | Permanent | ✅ | Priority (4h SLA) |
- Free — for trying it out and light use. 50 reviews/month is roughly one active repo.
- Pro ($9/mo) — the "stop bad merges" tier: inline annotations + commit status gates so a risky PR blocks the merge.
- Business ($19/mo) — for teams that treat review as part of delivery: Slack alerts, permanent history, SLA.
CLI mode is free forever — pip install revhive-ai, bring your own key, run locally or in CI for non-production use. Under BSL 1.1, evaluation, testing, personal and open-source use are free; production use (reviewing code that ships in a commercial environment) requires a commercial license. The one thing nobody can do: resell RevHive as a competing hosted review service. If you're a team that wants self-hosted production use, tell us what you need — that's the enterprise roadmap, and the license is the reason we can build it.
Why BYOK? Because you already pay your LLM provider. We charge for the orchestration that makes 9 agents behave like one disciplined reviewer — no token markup, no model lock-in. Point it at whatever model fits your budget and compliance rules:
| Provider | Typical cost / PR review |
|---|---|
| DeepSeek | ~$0.05 |
| MiMo (Xiaomi) | ~$0.05–0.15 (free credits available) |
| Qwen (Alibaba) | ~$0.05–0.10 |
| OpenAI GPT-4o | ~$0.10–0.30 |
| Anthropic Claude | ~$0.15–0.40 |
Compare that with a per-seat review subscription ($10–45/user/month) plus your own spend — and remember the free tier already covers a full month of light use.
RevHive vs the alternatives
| Feature | RevHive | CodeRabbit | Sourcery | SonarQube | Copilot Review |
|---|---|---|---|---|---|
| AI-driven review | ✅ | ✅ | ✅ | ❌ | ✅ |
| Multi-agent parallel review | ✅ 10 | ❌ | ❌ | ❌ | ❌ |
| Chinese LLM support (DeepSeek/MiMo/Qwen/GLM/Kimi) | ✅ | ❌ | ❌ | ❌ | ❌ |
| Risk score (0–100) | ✅ | ✅ | ❌ | ✅ | ❌ |
| CLI local-first (code stays on your machine) | ✅ | ❌ | ❌ | ❌ | ❌ |
| Demo mode (no API key) | ✅ | ❌ | ❌ | N/A | ❌ |
| PR inline comments | ✅ | ✅ | ✅ | ✅ | ✅ |
| Quality gate (commit status) | ✅ | ❌ | ❌ | ✅ | ❌ |
| Source-available (BSL 1.1) | ✅ | Partial | ❌ | ✅ | ❌ |
| Self-hostable | ✅ | ❌ | ❌ | ✅ | ❌ |
| IDE integration | 🔜 | ❌ | ✅ | ✅ | ✅ |
Trust & security
We eat our own dog food — RevHive's own CI runs pip-audit and bandit on every push, and the container runs as a non-root user:
- Dependency scanning —
pip-auditon every push/PR for known CVEs - Static analysis —
banditfor hardcoded secrets, unsafe deserialization, injection - Docker hardening — non-root
appuser, sensitive files excluded via.dockerignore
pip install pip-audit bandit && pip-audit && bandit -r src/ -ll --skip B101
Roadmap
- Precision benchmark — a public dataset of real PRs with our false-positive/false-negative rates. We believe review tools should publish their noise ratio.
- GitLab / Gitee support
- Enterprise tier — org-wide dashboards, audit log, SSO, self-hosted license with support
- Fix-PR workflow — one-click PR that applies suggested fixes
- IDE integration
Want something else? Open an issue — it directly sets the order above.
Reference
The agents — 9 reviewers plus a coordinator
| Agent | Job |
|---|---|
| SecurityAgent | SQLi, XSS, secrets, weak crypto, auth flaws |
| PerformanceAgent | N+1 queries, memory leaks, algorithmic complexity |
| LogicAgent | Edge cases, error handling, race conditions, type safety |
| StyleAgent | Naming, formatting, documentation |
| RepoAgent | Design patterns, SOLID, module structure, testability |
| RefactorAgent | Code transformation, incremental migration |
| FixAgent | Complete corrected code with root-cause analysis |
| TestAgent | Unit tests, edge-case tests, security regression tests |
| DocAgent | API / architecture / usage docs |
| Coordinator | Dedupes findings, resolves agent conflicts, computes risk score, writes the report |
Supported LLM backends & configuration
| Provider | Model | Cost / review | Setup |
|---|---|---|---|
| DeepSeek | deepseek-chat |
~$0.05 | LLM_BASE_URL=https://api.deepseek.com/v1 |
| MiMo (Xiaomi) | mimo-v2.5-pro |
~$0.05–0.15 (free credits) | LLM_BASE_URL=https://api.xiaomimimo.com/v1 |
| OpenAI | gpt-4o |
~$0.10–0.30 | LLM_BASE_URL=https://api.openai.com/v1 |
| Qwen (Alibaba) | qwen-plus |
~$0.05–0.10 | LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1 |
| GLM (Zhipu) | glm-4 |
~$0.05–0.15 | LLM_BASE_URL=https://open.bigmodel.cn/api/paas/v4 |
| Kimi (Moonshot) | kimi |
~$0.05–0.15 | LLM_BASE_URL=https://api.moonshot.cn/v1 |
| SenseNova (商汤日日新) | deepseek-v4-flash |
free token-plan quota | LLM_BASE_URL=https://token.sensenova.cn/v1 |
| Anthropic | claude-sonnet-4-20250514 |
~$0.15–0.40 | pip install -e ".[anthropic]", set ANTHROPIC_API_KEY |
Presets: set LLM_MODEL to deepseek / openai / qwen … and RevHive auto-configures the base URL. CLI default: MiMo. GitHub App dashboard default: DeepSeek (cheapest).
Env vars
| Variable | Required | Default | Description |
|---|---|---|---|
LLM_API_KEY |
Yes | — | API key for your LLM provider |
LLM_BASE_URL |
No | https://api.xiaomimimo.com/v1 |
LLM API endpoint |
LLM_MODEL |
No | mimo-v2.5-pro |
Model name |
Config file — create .revhive.yml in your project root to toggle agents, set severity thresholds and ignore paths. Full example in README_zh.md or examples/.
Supported languages
Python, JavaScript/TypeScript, Go, Rust, Java — full security & performance patterns. C/C++, Ruby, PHP, Swift, Kotlin — core patterns. Other languages still work via LLM understanding, with fewer specialized checks.
Architecture & project structure
┌─────────────┐
│ Coordinator │ ← synthesizes, dedupes, resolves conflicts, scores
└──────┬──────┘
│ collects results from 9 parallel agents
▼
Style Security Perf Logic Repo Refactor Fix Test Doc
src/revhive/
agents/ # 10 agents (9 reviewers + coordinator)
graph/ # LangGraph workflow orchestration
utils/ # LLM client, dedup, config
team/ # batch processing engine
analysis/ # trend analysis
demo.py # demo mode (no API key)
main.py # CLI entry point
tests/ # 54+ tests: agents, workflow, demo, dedup, integration
examples/ # ready-to-run examples
Contributing
All contributions welcome — see CONTRIBUTING.md. Found a false positive or a missed bug? That's the most valuable issue you can file.
License
BSL 1.1 — see LICENSE. Converts to Apache 2.0 on 2030-05-12.
What the license means in practice:
- Free — evaluation, testing, personal projects, open-source development, internal non-production use, and the hosted GitHub App's free tier.
- Paid (commercial license) — production self-hosting: using RevHive to review/gate code that ships in a commercial or business environment. Contact us for a license.
- Never allowed — reselling RevHive as a competing hosted code review service.
Questions on licensing? Open an issue or email souljian67@gmail.com.
Metadata
Release files for revhive-ai 0.3.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| revhive_ai-0.3.20.tar.gz | 80.4 kB | Without provenance | Details for revhive_ai-0.3.20.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| revhive_ai-0.3.20-py3-none-any.whl | Python 3 | none | any | Details for revhive_ai-0.3.20-py3-none-any.whl |
Total release size: 158.7 kB
Release files / revhive_ai-0.3.20.tar.gz
| Download URL | revhive_ai-0.3.20.tar.gz |
|---|---|
| Size | 80.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22bdf62505fd9ddf9740917d7e8e916d1f78650bc07dc1a8d935ae877dd90d41
|
|
BLAKE2b-256 checksum How to use checksums |
c0e5e0a2aa06f301908c85427c9b7ba4dd9c3d60dd49239c16f1b005bb14c72f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.12
|
Release files / revhive_ai-0.3.20-py3-none-any.whl
| Download URL | revhive_ai-0.3.20-py3-none-any.whl |
|---|---|
| Size | 78.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3f2228e57cb14de876a1f3730ca6ca0276e22f243c0008ba83390d1dad934784
|
|
BLAKE2b-256 checksum How to use checksums |
2b454173d8c78bdbcb66c6c8e81c98995ad65113ac320fb224640397bf3672f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.12
|
Security for revhive-ai 0.3.20
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.