Skip to content

Latest commit

 

History

History
104 lines (72 loc) · 2.8 KB

File metadata and controls

104 lines (72 loc) · 2.8 KB

Getting Started

This guide walks through installing Selfcoder, connecting a local model backend, and sending your first message from VS Code.

Requirements

You need:

  • VS Code 1.100.0 or newer.
  • Selfcoder installed from the latest release package.
  • One local model backend:
  • At least one chat-capable model available in the selected backend.

Install Selfcoder

Selfcoder releases are published on the Visual Studio Marketplace.

  1. Open VS Code.
  2. Open the Extensions view.
  3. Search for "Selfcoder" and install the extension published by "Coderoom".
  4. Reload VS Code if prompted.

After installation, Selfcoder appears in the VS Code activity bar.

Option A: Use LM Studio

LM Studio is a friendly way to download, manage, and serve local models.

  1. Install LM Studio.
  2. Download a chat or coding model.
  3. Start the local server in LM Studio.
  4. Confirm that the server is using the default endpoint:
http://localhost:1234
  1. In VS Code, open Settings and search for Selfcoder.
  2. Set Selfcoder.backend to LMStudio.
  3. Keep Selfcoder.backendURL as http://localhost:1234, unless your LM Studio server uses a custom address.

Option B: Use Ollama

Ollama is a local model runtime with a CLI-focused workflow.

  1. Install Ollama.
  2. Pull a chat or coding model. For example:
ollama pull qwen2.5-coder:7b
  1. Make sure Ollama is running.
  2. Confirm that the default endpoint is available:
http://localhost:11434
  1. In VS Code, open Settings and search for Selfcoder.
  2. Set Selfcoder.backend to Ollama.
  3. Keep Selfcoder.backendURL as http://localhost:11434, unless your Ollama server uses a custom address.

Send Your First Message

  1. Open a project in VS Code.
  2. Open the Selfcoder view from the activity bar.
  3. Choose your backend and model from the Selfcoder controls.
  4. Open a source file.
  5. Ask a focused question, such as:
Explain what this file does and point out any risky areas.

Selfcoder streams the answer from your selected local model.

Good First Prompts

Try prompts that give the model a clear task:

Explain the selected function.
Find a simpler way to structure this code.
Review the current git diff for possible regressions.
Write tests for the behavior in the active file.

Next Steps