Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Delta Code by NileAGINew to Visual Studio Code? Get it now.
Delta Code by NileAGI

Delta Code by NileAGI

NileAGI

|
1 install
| (0) | Free
Offline-first AI coding assistant. Connect to Delta or any OpenAI-compatible base URL.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Delta Code

Offline-first VS Code extension for AI coding against Delta or any OpenAI-compatible API. Set a base URL, paste an API key from Delta Desktop, pick a model, chat with streaming, and apply file edits from fenced code blocks.

Requirements

  • VS Code 1.85+
  • Delta Desktop (or any OpenAI-compatible host)
  • Default local API: http://127.0.0.1:8081/v1

Delta exposes:

Method Path Purpose
GET /v1/models List models
POST /v1/chat/completions Chat (streaming supported)
POST /v1/completions Text completions
POST /v1/embeddings Embeddings

API key (Delta Desktop)

  1. Open Delta Desktop and create an API key (API / keys section).
  2. In VS Code, open the Delta Code chat panel.
  3. Paste the key → Save key (stored in VS Code SecretStorage, never in settings.json).
  4. Click Fetch models.

You can also use Command Palette → Delta Code: Set API Key.

Requests send Authorization: Bearer <key>. If Delta returns 401/403, the extension prompts you to create or fix the key in Delta Desktop.

Develop / run

npm install
npm run build

Then press F5 (Run Extension) to open an Extension Development Host, or:

# optional live check against Delta (API key from Delta Desktop)
DELTA_API_KEY=your_key node scripts/verify.mjs

Configure

Open Settings and search for Delta Code, or set:

Setting Default Notes
deltaCode.baseUrl http://127.0.0.1:8081/v1 Any OpenAI-compatible root
deltaCode.model (empty) Filled after Fetch models
deltaCode.chatMode chat chat or agent (tool calling)
deltaCode.requestTimeoutMs 600000 10 minutes for slow local models
deltaCode.systemPrompt (coding assistant) Sent as the system message

Other OpenAI-compatible hosts work the same way — point deltaCode.baseUrl at e.g. Ollama (http://127.0.0.1:11434/v1) or your own gateway and paste that host’s key if required.

Use

  1. Open the Delta Code activity bar icon → Chat.
  2. Open Settings (gear) → Providers. Use a preset (Delta Local / Ollama / LM Studio / OpenAI), or Add provider with a custom name + base URL. Paste your API key, Save, then Fetch models.
  3. Pick a model from the composer chip, toggle Chat / Agent mode, or use Settings → Models.
  4. Chat across sessions: + new session, ↻ history / recent list on the welcome screen.
  5. In Agent mode the model can call tools (read_file, list_dir, search_files, write_file with approval).
  6. When the assistant returns a fenced block with a path, use Apply / Preview (only shown when applyable blocks exist):
```ts path=src/example.ts
export function greet() {
  return "hello";
}
```

Also accepted: ```ts src/example.ts `` or a first-line comment // file: src/example.ts.

Offline guarantees

  • No telemetry or analytics endpoints
  • Webview has no CDN scripts — UI is bundled in the extension
  • Runtime network traffic goes only to your configured baseUrl
  • API keys stay in SecretStorage on the machine

Commands

  • Delta Code: Open Chat
  • Delta Code: Set API Key / Clear API Key
  • Delta Code: Fetch Models
  • Delta Code: New Chat

Roadmap

  • Terminal tool + richer approvals / auto-approve settings
  • Display and autocomplete settings panes as capabilities land
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft