RaiviewCode reviews powered by AI, without leaving your editor.
Raiview is a VS Code extension that brings AI-powered code review into your sidebar. Point it at your git changes or the file you're working on, and get structured findings grouped by category — Critical issues, Warnings, and Suggestions — with a summary verdict. Ask follow-up questions, switch models mid-conversation, and revisit past reviews at any time. Works with Ollama (local or remote), OpenAI, and Anthropic Claude. ✨ HighlightsStructured, categorized findings Findings are grouped by category — Correctness, Performance, Design, and more — with color-coded severity chips and a summary verdict. No more walls of text to parse.
One-click git diff review Click Review Git Changes to review everything staged and unstaged. Large diffs are split by file and reviewed in sequence — a progress bar tracks each part.
Multi-turn conversation After any review, ask follow-up questions directly in the panel. An exchange counter keeps track of your session budget (up to 20 exchanges).
Active file review Review the file open in your editor. Large files are split at function and method boundaries so each chunk gets proper attention, then findings are merged into a combined summary.
Persistent session history Your last 5 review sessions are saved automatically. Click any session card to open a read-only transcript and revisit the findings.
Enhanced Reviewer (Ollama) Create a purpose-built
🔌 Provider SupportRaiview works with three LLM backends. You can switch provider or model at any point in a session without losing your conversation history.
📦 InstallationFrom the VS Code Marketplace (coming soon)
Manual install (.vsix)
🚀 Quick StartStep 1 — Open the panelClick the Raiview icon in the Activity Bar (left sidebar). The Raiview panel opens on the side. Step 2 — Choose a provider and modelExpand the Provider section and select your LLM provider. The model list populates automatically. Pick a model from the dropdown.
Step 3 — Add your API key (if required)Click the gear icon (⚙) in the topbar to open Settings. Under API Keys, select your provider, paste your key, and click Save Key. Required for OpenAI and Claude; optional for remote Ollama instances. The key is stored in VS Code's encrypted secrets store — never on disk in plain text.
Step 4 — Run your first reviewMake some changes in your repo (or open a file), then click:
Findings appear as the model generates. When the review completes, the full structured output is shown:
Step 5 — Ask follow-up questionsWhen the review finishes, a text input appears at the bottom of the panel. Type any question about the findings and press Send or 📖 Feature GuideGit Diff ReviewClick Review Git Changes to review all staged and unstaged changes in your repository at once. If the diff is large, Raiview splits it by file and reviews each part in sequence. A progress bar shows which part is currently being reviewed and which are complete.
You can stop a review at any time using the Stop button that appears during generation. File ReviewClick Send for Review to review the file currently open in your editor. Raiview tries to split the file at function and method boundaries using VS Code's symbol provider. If that's not available, it falls back to line-based chunking. Each chunk produces up to 5 findings. After all chunks are reviewed, findings are de-duplicated and merged into a combined summary.
Understanding FindingsEvery review produces findings organized by category. Each finding has:
At the bottom, a Summary Rating gives an overall verdict:
Conversations & Follow-upsAfter a review completes, a text input appears at the bottom of the panel. You can ask anything — request a code fix, ask why something is flagged, or explore a specific finding in depth. The exchange counter (e.g.
Click ↺ Start new session at any time to clear the conversation and begin fresh. Switching Provider or Model Mid-SessionYou can change your provider or model at any point — even while a session is active. Open the Provider section, make your selection, and the next message will use the new provider and model. Your conversation history is preserved.
Session HistoryRaiview saves your last 5 review sessions automatically. The Recent Sessions section at the bottom of the panel lists them by date, provider, and number of exchanges. A colored dot indicates the overall rating from that session. Click any session card to open a read-only transcript of the full review.
Enhanced Reviewer (Ollama only)The Enhanced Reviewer creates a dedicated Ollama model tuned specifically for code review — not a general-purpose chat model. It uses a structured system prompt that directs the model to find issues across 8 categories, be concise, and respond in a parseable format. To set it up:
Raiview streams the build progress. Once complete, the new model (
GPU Memory Management (Ollama)When you finish a session, the Ollama model stays loaded in GPU/RAM by default — ready for the next review without a reload delay. If you want to free that memory immediately:
⚙️ ConfigurationAll settings are available in VS Code Settings under
🔧 Provider SetupOllama
Using Ollama with an API key? Enter it under Settings → API Keys → Provider: Ollama. OpenAI
Anthropic Claude
🛠 Development
Press F5 in VS Code to launch an Extension Development Host with the extension loaded. See LicenseMIT — see LICENSE for details. |