This guide walks through installing Selfcoder, connecting a local model backend, and sending your first message from VS Code.
You need:
- VS Code
1.100.0or newer. - Selfcoder installed from the latest release package.
- One local model backend:
- At least one chat-capable model available in the selected backend.
Selfcoder releases are published on the Visual Studio Marketplace.
- Open VS Code.
- Open the Extensions view.
- Search for "Selfcoder" and install the extension published by "Coderoom".
- Reload VS Code if prompted.
After installation, Selfcoder appears in the VS Code activity bar.
LM Studio is a friendly way to download, manage, and serve local models.
- Install LM Studio.
- Download a chat or coding model.
- Start the local server in LM Studio.
- Confirm that the server is using the default endpoint:
http://localhost:1234
- In VS Code, open Settings and search for
Selfcoder. - Set
Selfcoder.backendtoLMStudio. - Keep
Selfcoder.backendURLashttp://localhost:1234, unless your LM Studio server uses a custom address.
Ollama is a local model runtime with a CLI-focused workflow.
- Install Ollama.
- Pull a chat or coding model. For example:
ollama pull qwen2.5-coder:7b- Make sure Ollama is running.
- Confirm that the default endpoint is available:
http://localhost:11434
- In VS Code, open Settings and search for
Selfcoder. - Set
Selfcoder.backendtoOllama. - Keep
Selfcoder.backendURLashttp://localhost:11434, unless your Ollama server uses a custom address.
- Open a project in VS Code.
- Open the Selfcoder view from the activity bar.
- Choose your backend and model from the Selfcoder controls.
- Open a source file.
- 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.
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.
- Learn the main product surfaces in Core Workflows.
- Learn how Selfcoder gathers context in Context and Attachments.
- Tune models and backend settings in Models and Backends.