Dual-engine review · Out of the box · Multi-language

Make every line of code
go through dual-engine review

Rule engine performs deterministic static scan, LLM does semantic deep analysis, cross-validation reduces false positives. Outputs 5-dimension scores and directly applicable fix code.

26
Built-in Rules
5
Dimension Scores
7
MCP Tools
4
Languages

Why Dual-Engine

A single rule engine only finds known patterns; a single LLM may miss issues. Dual-engine cross-validation balances determinism and depth.

Rule Engine — Deterministic Scan

22 cross-language rules covering security vulnerabilities, performance anti-patterns, AI hallucination patterns. Millisecond response, zero API cost, offline capable.

🧠

LLM Semantic Analysis — Deep Understanding

Receives rule pre-scan results then does semantic review: logic errors, architecture flaws, business boundaries. Confirms or denies rule hits, eliminating false positives.

Cross-Validation — 3-Level Traceability

Each issue is tagged with source: rule (engine only), llm (LLM only), confirmed (both agree). Confidence auto-boosted.

📊

5-Dimension Scoring — Quantified Quality

Correctness, Security, Performance, Maintainability, Best Practice — each 0–100. Composite score weighted: security 30% + correctness 25%.

🔧

Fix Code — Directly Applicable

Each issue includes a fix_code snippet, copy-paste ready. Rule engine auto-generates for 8 key rule types, LLM covers complex scenarios.

🔌

MCP + REST — Dual Protocol

7 MCP tools for Agent calls, REST API for integration. Remote /mcp endpoint and /v1/* coexist on the same server.

Try Online

Paste code or diff, click review. Or use CLI: python cli.py --commit HEAD~1

Code Review
Diff Review
Multi-File
Auto Fix
Click "Start Review" to see results

API Overview

REST API and MCP tools coexist on the same server, ready to use after deployment.

POST
/v1/review
Review source code, return 5-dimension scores + issues + fix code
POST
/v1/review_diff
Review Unified Diff, return change metadata + review report
POST
/v1/review_files
Multi-file batch review, per-file scan + cross-file analysis
POST
/v1/suggest_fix
Generate complete fixed version (fixed_code + change notes)
GET
/v1/rules
List all 26 rule engine rules
GET
/v1/rules/{rule_id}
View single rule details and fix guidance
GET
/mcp
Remote MCP streamable HTTP endpoint (7 tools)
GET
/health
Health check, returns deployment commit