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

Deepseek AI Assistant

DiogenDev

| (0) | Free
Copilot-style inline completions and an agentic chat panel powered by DeepSeek.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Deepseek AI Assistant

Deepseek AI Assistant is a Copilot-style coding assistant for VS Code. It combines inline completions with a chat panel and an agent that can inspect, create and edit files in the open workspace. All model and tool logic runs in a local Python backend bundled with the extension.

Features

  • Chat panel: ask questions, paste code and keep per-chat history.
  • Agent mode: reads, searches and edits workspace files, with a review step when automatic apply is disabled.
  • Inline completions: ghost-text suggestions while you type.
  • Selection actions: Explain Selection and Fix Selection from the editor menu.
  • Inline requests: write # ai: ... in Python, // ai: ... in JS/TS/Go/Rust, or /* ai: ... */ in CSS and press Enter (or use the keyboard shortcut).
  • Per-chat controls: provider, model, reasoning effort and context size.
  • Attachments: add snippets and files to the current conversation.
  • Usage panels: input/output tokens, cache hits and remaining context.
  • Automatic file apply: generated file= blocks can be written to the open workspace automatically, and newly created files can be opened immediately.
  • Free mode: deepseek free through a local FreeDeepseekAPI proxy, with no conversation memory.

Requirements

  • VS Code 1.85 or newer.
  • Python 3.10+ available as python on PATH, or set aiAssistant.pythonPath to the interpreter.
  • A DeepSeek API key for deepseek v4.1 flash 1017, or a logged-in FreeDeepseekAPI instance for deepseek free.

Quick start

  1. Install Deepseek AI Assistant from the VS Code Marketplace, or install the VSIX: Extensions -> ... -> Install from VSIX....
  2. Open a trusted folder. The extension waits for a trusted workspace before starting the local backend.
  3. Run Deepseek: Setup / Settings from the Command Palette and complete Quick Setup. It installs the missing Python dependencies and asks for your DeepSeek API key.
  4. Open the chat view in the activity bar and start a conversation.

For more control, run Deepseek: Advanced Settings or Deepseek: Install Backend Dependencies.

Free mode

Select deepseek free in the provider/model menu. The extension starts the FreeDeepseekAPI proxy when it is available and logged in. Free mode is separate from the agent: it has no conversation memory and does not use workspace tools.

Privacy and security

  • The backend binds to 127.0.0.1 and is protected by a per-installation token.
  • API keys are stored in VS Code SecretStorage and the local configuration file, never in the extension package.
  • Agent file tools are restricted to the open workspace. Automatic apply is constrained to canonical paths inside that workspace.
  • The backend only starts in a trusted workspace.

Extension settings

Setting Default Purpose
aiAssistant.provider auto auto, deepseek or free.
aiAssistant.model deepseek-flash Backend model name.
aiAssistant.contextLimit 1000000 Context window budget.
aiAssistant.autoApplyFiles true Apply generated file blocks automatically.
aiAssistant.openCreatedFiles true Open files after they are created.
aiAssistant.pythonPath python Python executable for the backend.
aiAssistant.autoStartBackend true Start the local backend on activation.
aiAssistant.enableInline true Enable ghost-text completions.

Commands

  • Deepseek: Open Chat
  • Deepseek: Explain Selection
  • Deepseek: Fix Selection
  • Deepseek: Run Inline Request
  • Deepseek: Setup / Settings
  • Deepseek: Install Backend Dependencies
  • Deepseek: Advanced Settings

Links

  • Repository: https://github.com/DiogenDev/astra-ai-assistant
  • Issues: https://github.com/DiogenDev/astra-ai-assistant/issues
  • Changelog: https://github.com/DiogenDev/astra-ai-assistant/blob/main/client-vscode/CHANGELOG.md

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft