Awesome DeepSeek Agent
repository·main·Indexed 26 days ago
https://github.com/deepseek-ai/awesome-deepseek-agentA curated collection of integration guides for using DeepSeek models, such as DeepSeek-V4-Pro and DeepSeek-V4-Flash, within AI agent frameworks, terminal-based coding assistants, and IDE extensions. Includes setup instructions for tools like AstrBot, Cherry Studio, Claude Code, Cline, and various CLI agents.
What's inside awesome-deepseek-agent
- Awesome DeepSeek Agent is a curated collection of guides designed to help developers integrate DeepSeek models (such as DeepSeek-V4-Pro or DeepSeek-V4-Flash) into various AI agent frameworks and coding assistants. Each guide provides specific instructions for installation, configuration, and initial execution within the respective tool.
Run Pi and select a DeepSeek model
mainTo start using Pi with DeepSeek:
- Navigate to your project directory:
cd /path/to/my-project - Launch Pi by running the
picommand. - Inside the Pi terminal, type
/modelto open the model switcher. - Select the deepseek provider and choose either
DeepSeek-V4-ProorDeepSeek-V4-Flash.
pi- Navigate to your project directory:
Run Codex with Moon Bridge
mainOnce Moon Bridge is running and Codex is configured, you can use Codex in your project directory. Codex will route requests through Moon Bridge to DeepSeek.
Manual Start
- Start Moon Bridge:
go run ./cmd/moonbridge --config config.yml - In a new terminal, navigate to your project:
cd /path/to/my-project - Run Codex:
codex
One-Click Script
Use the provided scripts to automate the entire process (building/starting Moon Bridge, generating config, and starting Codex).
macOS / Linux:
./scripts/start_codex_with_moonbridge.sh --project-directory /path/to/my-projectWindows PowerShell:
.\scripts\start_codex_with_moonbridge.ps1 -ProjectDirectory C:\path\to\my-project- Start Moon Bridge:
Configure local models in WorkBuddy/CodeBuddy
mainCreate or edit a
models.jsonfile to define DeepSeek models.File Locations:
- User-level (Global):
C:\Users\<your-username>\.codebuddy\models.json - Project-level:
<your-project>\.codebuddy\models.json
Important Requirements:
- Save the file as UTF-8 without BOM. Desktop versions may fail to read files with a UTF-8 BOM header.
- Set your API key as an environment variable
DEEPSEEK_API_KEYbefore configuring, or paste the key directly into the JSON.
Configuration Schema: Use the following structure to add
deepseek-v4-proanddeepseek-v4-flashto youravailableModelslist.{ "models": [ { "id": "deepseek-v4-pro", "name": "DeepSeek V4 Pro", "vendor": "DeepSeek", "url": "https://api.deepseek.com/v1/chat/completions", "apiKey": "${DEEPSEEK_API_KEY}", "maxInputTokens": 128000, "maxOutputTokens": 8192, "supportsToolCall": true, "supportsImages": false, "relatedModels": { "lite": "deepseek-v4-flash", "reasoning": "deepseek-v4-pro" } }, { "id": "deepseek-v4-flash", "name": "DeepSeek V4 Flash", "vendor": "DeepSeek", "url": "https://api.deepseek.com/v1/chat/completions", "apiKey": "${DEEPSEEK_API_KEY}", "maxInputTokens": 128000, "maxOutputTokens": 8192, "supportsToolCall": true, "supportsImages": false } ], "availableModels": [ "deepseek-v4-pro", "deepseek-v4-flash" ] }- User-level (Global):
Configure GitHub Copilot CLI to use DeepSeek V4 models
mainTo use DeepSeek V4 models with GitHub Copilot CLI via BYOK (Bring Your Own Key), you must use the
anthropicprovider type. Using theopenaiprovider type will result in a400error because DeepSeek requiresreasoning_contentto be echoed back, which the OpenAI integration does not support. The Anthropic Messages API endpoint is used to avoid this.Environment Variables (Linux / Mac)
export COPILOT_PROVIDER_TYPE=anthropic export COPILOT_PROVIDER_BASE_URL=https://api.deepseek.com/anthropic export COPILOT_PROVIDER_API_KEY=sk-your-deepseek-api-key export COPILOT_MODEL=deepseek-v4-proEnvironment Variables (Windows PowerShell)
$env:COPILOT_PROVIDER_TYPE="anthropic" $env:COPILOT_PROVIDER_BASE_URL="https://api.deepseek.com/anthropic" $env:COPILOT_PROVIDER_API_KEY="sk-your-deepseek-api-key" $env:COPILOT_MODEL="deepseek-v4-pro"Available Models
deepseek-v4-prodeepseek-v4-flash
# Linux / Mac example export COPILOT_PROVIDER_TYPE=anthropic export COPILOT_PROVIDER_BASE_URL=https://api.deepseek.com/anthropic export COPILOT_PROVIDER_API_KEY=sk-your-deepseek-api-key export COPILOT_MODEL=deepseek-v4-proInstall Hermes Agent
mainYou can install Hermes Agent on Linux, macOS, or WSL2 using a one-line installer. The only prerequisite is having
gitinstalled. The installer handles all other dependencies automatically.curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bashConfigure Cline using OpenAI Compatible mode for DeepSeek
mainIf you prefer using the OpenAI compatible interface to access DeepSeek, configure Cline with the following settings:
- Select Bring my own API Key.
- Set API Provider to OpenAI Compatible.
- Set Base URL to
https://api.deepseek.com. - Enter your DeepSeek API Key.
- Enter the Model ID (e.g.,
deepseek-v4-pro). - (Optional) Use Model Configuration to adjust window size, temperature, pricing, and limits.
Configure Moon Bridge for DeepSeek
mainMoon Bridge acts as a forwarding layer between Codex and the DeepSeek API. After cloning the Moon Bridge repository, create a
config.ymlfile. This configuration enables DeepSeek V4 Pro/Flash models and sets up the routing to use Moon Bridge as the default model for Codex.mode: "Transform" server: addr: "127.0.0.1:38440" models: deepseek-v4-pro: context_window: 1000000 max_output_tokens: 384000 default_reasoning_level: "high" supported_reasoning_levels: - effort: "high" description: "High reasoning effort" - effort: "xhigh" description: "Extra high reasoning effort" supports_reasoning_summaries: true default_reasoning_summary: "auto" extensions: deepseek_v4: enabled: true deepseek-v4-flash: context_window: 1000000 max_output_tokens: 384000 default_reasoning_level: "high" supported_reasoning_levels: - effort: "high" description: "High reasoning effort" - effort: "xhigh" description: "Extra high reasoning effort" supports_reasoning_summaries: true default_reasoning_summary: "auto" extensions: deepseek_v4: enabled: true providers: deepseek: base_url: "https://api.deepseek.com/anthropic" api_key: "sk-your-deepseek-api-key" offers: - model: deepseek-v4-pro - model: deepseek-v4-flash routes: moonbridge: model: deepseek-v4-pro provider: deepseek defaults: model: moonbridge max_tokens: 65536Install Cherry Studio
mainCherry Studio is an open-source desktop AI client for Windows, macOS, and Linux that allows unified access to various LLM providers.
Download the appropriate installer from the Cherry Studio Releases or the official website:
- Windows:
.exe - macOS:
.dmg(supports Intel and Apple Silicon) - Linux:
.AppImage,.deb, or.rpm
- Windows:
Run Crush and switch to DeepSeek models
mainTo start using Crush in your project:
- Navigate to your project directory:
cd /path/to/my-project - Launch Crush:
crush - Switch Models:
- Press
Ctrl+Lor type/modelto open the model switcher. - Select the DeepSeek provider.
- Choose either
DeepSeek-V4-ProorDeepSeek-V4-Flashto begin coding.
- Press
crush- Navigate to your project directory:
Use DeepSeek V4 for Advanced Features in Cherry Studio
mainOnce configured, DeepSeek V4 can be utilized across several Cherry Studio features:
- Knowledge Bases: Use the Knowledge Base tab to upload PDFs, Markdown, or Office files for RAG (Retrieval-Augmented Generation) using DeepSeek V4.
- AI Translation: Select a DeepSeek V4 model as the engine on the Translate page.
- MCP Servers: Add servers via Settings → MCP to allow DeepSeek-driven conversations to call external tools.
- OpenClaw: Use the OpenClaw page in the sidebar to install the personal AI assistant and point it at your DeepSeek V4 model to power IM bots (e.g., for Feishu or WeChat).
Configure the DeepSeek Provider in LobeHub
mainTo use DeepSeek models in LobeHub (Web, Desktop, or Self-hosted), you must configure the provider settings.
- Navigate to Settings → Service Model or go directly to the DeepSeek provider page at
https://app.lobehub.com/settings/provider/deepseek. - Select DeepSeek from the provider list and ensure the provider switch is enabled.
- Enter your DeepSeek API Key (obtained from the DeepSeek Platform) into the API Key field.
- Leave API Proxy URL empty unless using a custom proxy (default is
https://api.deepseek.com). - Use Connectivity Check (defaults to
deepseek-v4-flash) to verify the connection. - In the Model List, ensure DeepSeek V4 Pro and DeepSeek V4 Flash are enabled. Use Fetch models if they are missing.
- Navigate to Settings → Service Model or go directly to the DeepSeek provider page at