VS Code Extension

AI-Powered Code Reviews in Your Editor

Get lightning-fast, expert code reviews and AI-generated commit messages directly in VS Code. Use local Ollama models or connect to Claude, Gemini, Mistral, and more.

v1.19 Latest Version
6+ AI Providers
MIT Open Source
review-output.md
// Staged changes reviewed
function processPayment(amount) {
return amount * 1.1;
}
AI Review
Bug: Magic number 1.1 should be a named constant (TAX_RATE)
Security: Validate amount parameter to prevent negative values
Suggestion: Add JSDoc documentation for clarity

Works with your favorite AI providers

Ollama (Local)
Claude (Anthropic)
Gemini (Google)
Mistral AI
Hugging Face
GLM (Z.AI)

Powerful Features for Modern Development

Everything you need to improve code quality, catch bugs early, and maintain consistent commit messages across your team.

Review Staged Changes

Analyze all your staged Git modifications with comprehensive AI-powered feedback. Detect bugs, security issues, and optimization opportunities before you commit.

Smart Commit Messages

Auto-generate conventional commit messages based on your actual code changes. Maintain consistent, descriptive commits across your entire team.

Inline Code Actions

Use the lightbulb menu to explain code, generate tests, fix issues, add documentation, and get refactoring suggestions—all without leaving your editor.

Agent Skills System

Download specialized review profiles from GitHub repositories for targeted feedback—security audits, performance optimization, accessibility checks, and more.

Performance Metrics

Track token usage, generation latency, and inference costs. Monitor AI performance and optimize your workflow with detailed analytics.

Multi-Provider Support

Switch between local Ollama and cloud providers instantly. Use the status bar to change models on the fly without configuration hassle.

Cross-Branch Analysis

Compare and review differences between any two branches or Git references. Perfect for pull request preparation and code comparison.

Smart Diff Filtering

Automatically excludes node_modules, lock files, and minified code. Detects formatting-only changes to reduce noise and focus on real modifications.

How It Works

Get started in minutes with a simple setup process. No complex configuration required.

1

Install the Extension

Search for "Ollama Code Review" in VS Code Marketplace or install directly from the command line.

2

Configure Your Provider

Set up Ollama locally or add API keys for cloud providers like Claude, Gemini, or Mistral in VS Code settings.

3

Stage Your Changes

Use Git as normal. Stage your code changes and the extension integrates seamlessly with your workflow.

4

Review & Commit

Run the review command, get AI feedback, generate commit messages, and ship better code faster.

Inline AI Actions at Your Fingertips

Right-click any code selection or use the lightbulb menu to access powerful AI-driven code actions. Get instant help without breaking your flow.

Explain Code

Get clear explanations of complex logic and algorithms

Fix Issues

Automatically fix bugs and apply suggested improvements

Generate Tests

Create unit tests for your functions and methods

Add Documentation

Generate JSDoc, docstrings, and inline comments

example.ts
// Select code and use lightbulb menu
async function fetchUserData(id: string) {
const response = await fetch(`/api/users/${id}`);
return response.json();
}
Generated Test
describe('fetchUserData', () => {
it('returns user data', async () => {
const data = await fetchUserData('123');
expect(data).toBeDefined();
});
});

Quick Installation

Choose your preferred installation method and start reviewing code in minutes.

VS Code Marketplace

Open VS Code, go to Extensions (Ctrl+Shift+X), and search for "Ollama Code Review". Click Install.

Open in Marketplace

Command Line

Use the VS Code CLI to install the extension directly from your terminal.

code --install-extension VinhNguyen-Vincent.ollama-code-review

Ollama Setup (Local)

For local AI, install Ollama from ollama.com and pull a coding model.

ollama pull deepseek-coder:6.7b

6+

AI Providers Supported

19+

Feature Releases

100%

Open Source

MIT

Licensed

Ready to Ship Better Code?

Join developers who are catching bugs earlier, writing better commit messages, and shipping with confidence.