Selvage Logo

AI Code Review, Start Now

Extracts only the essentials from your changes for precise reviews.

Claude, GPT, Gemini — pick the model that fits.

Claude Code Plugin

Recommended

One-click install, no API key required

STEP 1-- Install Plugin
/ plugin marketplace add selvage-lab/selvage
/ plugin install selvage@selvage-lab-selvage
STEP 2-- Start Reviewing
# Review unstaged changes
/ review
# Review staged changes
/ review staged
# Review changes against main
/ review branch main
# Review from specific commit
/ review commit abc1234

No API key required! The plugin uses get_review_context to leverage Claude Code's own LLM for code review.

Code Review with an Edge!

Analyze code changes and receive quality improvement suggestions with a simple command

What Makes Selvage Special

Cutting-edge AI technology meets developer-friendly workflows to deliver a completely new code review experience

IDE Integration

MCP Server Mode

Register as MCP server in Cursor, Claude Code, etc. and request code reviews through natural language

No API Key

Agent-Delegated Review

Host agents perform code reviews with their own LLM using structured context — no API key required

Latest AI

Multiple AI Model Support

Leverage latest LLM models including OpenAI GPT-5, Anthropic Claude, Google Gemini

Developer Friendly

Git Workflow Integration

Supports analysis of staged, unstaged, and specific commit/branch changes

Optimized

Smart Context

Provides optimized context based on Tree-sitter AST analysis

Large Code Review

Large Context Review

Stable large-scale code review support even when exceeding model context limits

Bug Detection

Comprehensive Code Review

Detects bugs and logic errors, suggests code quality and readability improvements

Apache-2.0

Open Source

Free to use and modify under Apache-2.0 license

Smart Context Feature

Selvage uses AST to precisely extract only the code blocks related to changed lines, ensuring both cost efficiency and review quality.

How Smart Context Works

Precise Extraction

Extracts only the minimal function/class blocks containing changed lines and related dependencies (e.g., import statements)

Cost Optimization

Significantly reduces token usage by sending only necessary context instead of entire files

Quality Assurance

Maintains high review accuracy through AST-based precise code structure understanding

Smart Context Auto Application

Selvage analyzes file size and change scope to automatically select the most efficient review method:

Small Changes
Fast and accurate analysis with Smart Context
Small Files
Complete context understanding through full file analysis
Partial Changes in Large Files
Focused analysis of related code only with Smart Context
Large Changes in Large Files
Comprehensive review through full file analysis

Auto Optimization: The optimal analysis method for each situation is automatically applied without additional configuration.

Smart Context Supported Languages

PythonJavaScriptTypeScriptJavaKotlin

General Context Extraction Supported Languages

Supports general context extraction for major programming languages

GoRubyPHPC#C/C++RustSwiftDart+ More

Provides excellent code review quality in major programming languages through general context extraction methods.
Smart Context supported languages are continuously expanding.

Latest AI Models Support

Easily use various cutting-edge AI models with a single API key through OpenRouter integration

Manage all models below with one OpenRouter API key!

Access all AI models with a single API key through OpenRouter. Individual Provider API keys are also supported.

OpenAI Models
(OpenRouter or OpenAI API Key)

gpt-5.2-codex

Recommended

High reasoning codex model (400K context)

Anthropic Models
(OpenRouter or Anthropic API Key)

claude-opus-4.5

Most capable model with extended thinking (200K context)

claude-sonnet-4.5

Recommended

High quality reasoning model (200K context)

claude-sonnet-4-thinking

Recommended

Extended thinking process support (200K context)

claude-sonnet-4

Hybrid reasoning model optimized for coding (200K context)

Google Models
(OpenRouter or Google API Key)

gemini-3-pro

Large context and advanced reasoning (1M+ tokens)

gemini-3-flash

Recommended

Optimized for response speed and cost efficiency (1M+ tokens)

OpenRouter Provided Models
(OpenRouter API Key Required)

qwen3-coder

QwenRecommended

480B parameter MoE coding-specialized model (1M+ tokens)

kimi-k2

Moonshot AI

1T parameter MoE large-scale reasoning model (128K tokens)

minimax-m2.1

MiniMax

Advanced reasoning with 16K thinking tokens

glm-4.7

Zhipu AI

Thinking-enabled reasoning model (16K thinking tokens)