Skip to main content

Integrate with Deep Code

Deep Code is an open-source terminal AI coding assistant for the DeepSeek-V4 model, supporting deep thinking, reasoning effort control, and Agent Skills.

1. Install Deep Code

  • Install Node.js 18+.
  • Run the following command in your terminal:
npm install -g @vegamo/deepcode-cli
  • Verify the installation:
deepcode --version

2. Configure Deep Code

Create ~/.deepcode/settings.json with your DeepSeek API key and model settings:

{
"env": {
"MODEL": "deepseek-v4-pro",
"BASE_URL": "https://api.deepseek.com",
"API_KEY": "sk-..."
},
"thinkingEnabled": true,
"reasoningEffort": "max"
}

Get your API Key from the DeepSeek Platform.

Note: The same settings file is shared with the Deep Code VSCode extension.

Configuration options:

OptionDescription
MODELModel name, e.g. deepseek-v4-pro or deepseek-v4-flash
BASE_URLAPI base URL, defaults to https://api.deepseek.com
thinkingEnabledEnable deep thinking mode (defaults to true for deepseek-v4 models)
reasoningEffort"max" or "high" — controls how much reasoning the model performs
notifyPath to a notification script executed after each model turn
webSearchToolEnable the web search capability for the agent

3. Enter a project directory and launch Deep Code

cd /path/to/my-project
deepcode

Key Shortcuts

KeyAction
EnterSend the prompt
Shift+EnterInsert a newline (also Ctrl+J)
Ctrl+VPaste an image from the clipboard
EscInterrupt the current model turn
/Open the skills / commands menu
/newStart a fresh conversation
/resumeChoose a previous conversation to continue
/exitQuit Deep Code

Using Agent Skills

Agent Skills are discovered from these locations:

  • User-level: ~/.agents/skills/<name>/SKILL.md
  • Project-level: ./.deepcode/skills/<name>/SKILL.md

Press / to open the skill picker, or type the skill name directly (e.g., /skill-writer).