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
Install Deepseek AI Assistant from the VS Code Marketplace, or install the VSIX:
Extensions -> ... -> Install from VSIX....
Open a trusted folder. The extension waits for a trusted workspace before
starting the local backend.
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.
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.