Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Rift AI Coding AssistantNew to Visual Studio Code? Get it now.
Rift AI Coding Assistant

Rift AI Coding Assistant

Tewodros Seble

|
1 install
| (0) | Free
Local AI coding assistant powered by Ollama — explain, refactor, chat, and more.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Rift AI Coding Assistant

Rift AI Coding Assistant

A VS Code extension that brings local AI coding assistance to your editor using Ollama. Your code stays on your machine — no cloud API required.

Install

  1. Install Ollama and start it
  2. Pull a model:
    ollama pull llama3
    
  3. In VS Code, open Extensions (Ctrl+Shift+X) and search for Rift AI Coding Assistant
  4. Click Install

Or install from the command line:

code --install-extension TewodrosSeble.rift-ai-coding-assistant

Quick start

  1. Open any code file in VS Code
  2. Press Ctrl+Shift+P and type Rift AI
  3. Try Rift AI: Ask Local AI or select code → right-click → Rift AI: Explain Selected Code
  4. Click the Rift AI icon in the left activity bar (below Extensions) to open chat

Keyboard shortcut: Ctrl+Alt+R opens the Rift AI chat panel.

Don't see the icon? Reload VS Code (Ctrl+Shift+P → Developer: Reload Window), then scroll the left activity bar — extension icons appear at the bottom. Right-click the activity bar and ensure Rift AI is checked. Or press Ctrl+Alt+R to open chat directly.

Features

Command What it does
Ask Local AI Ask any coding question
Explain Selected Code Plain-language explanation in a side panel
Refactor Selected Code Improve readability and structure in place
Generate Tests Create unit tests for selected code
Fix Error Fix code using a pasted error message
Add Comments Add helpful comments to selected code
Convert Code Convert selection to another language
Optimize Code Performance improvements in place
Index Workspace (RAG) Index your project for smarter context

Chat sidebar — ongoing conversation in the activity bar.

Workspace context — optionally includes open files, package.json, and README in prompts.

Settings

Open VS Code Settings and search for localAiCoder:

Setting Default Description
localAiCoder.model llama3:latest Ollama model for chat and code tasks
localAiCoder.ollamaUrl http://localhost:11434 Ollama server URL
localAiCoder.embeddingModel nomic-embed-text Model for workspace indexing (RAG)
localAiCoder.includeWorkspaceContext true Include project context in prompts
localAiCoder.inlineCompletionEnabled false AI inline autocomplete (can be slow)

Recommended models

ollama pull llama3              # general coding
ollama pull qwen2.5-coder:7b    # code-focused
ollama pull nomic-embed-text    # for RAG indexing (optional)

RAG (project-aware context)

For better answers about your codebase:

  1. Run ollama pull nomic-embed-text
  2. Ctrl+Shift+P → Local AI: Index Workspace (RAG)
  3. Use Ask Local AI or the chat sidebar — relevant files are included automatically

Requirements

  • VS Code 1.85 or newer
  • Ollama running locally
  • At least one Ollama model pulled

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft