Connect DeepSeek to your agent

Pick the guide for your tool — Claude Code, Cline, OpenCode, and 20+ more. Config feels too complex? Use CC Switch instead.

How to connect

Step-by-step guides, not another app

We write clear tutorials synced with awesome-deepseek-agent. Follow the guide for your agent, or use CC Switch when hand-editing JSON is too much.

  • 23 integration guides (Claude Code, OpenCode, Cline, …)
  • CC Switch guide for visual, one-click CLI setup
  • Official DeepSeek API docs linked on every page

Best for beginners using Claude Code, OpenCode, Codex, or OpenClaw.

Best for beginners using Claude Code, OpenCode, Codex, or OpenClaw.

  1. Install CC Switch (free desktop app)
  2. Add DeepSeek preset and paste your API Key
  3. Enable provider → restart terminal → run your agent
CC Switch + DeepSeek

Same request, two outcomes

Help me connect this project to the DeepSeek API
LLM · answers only
You can add base_url and api_key to settings.json…
Then run curl to test whether the endpoint works.
If it fails, double-check the model name.
Agent · gets it done
Open ~/.config/my-agent/settings.json
Write ANTHROPIC_BASE_URL and API key
Run curl… 401, fix auth header
Test again… ✓ connected, config saved

Left: an LLM tells you what to do. Right: an agent uses an LLM as its brain and runs tools until the job is done. Claude Code, Cline, and OpenClaw are the right side.

A day with agents

Agents aren't just chat. Same person, different moments.

  1. Terminal · Claude Code

    This test is failing — fix it

    Agent reads the stack trace, patches the test, runs pytest until green. You never opened the file tree.

  2. VS Code · Cline

    Add a refund endpoint to the payment module

    Agent scans routes, writes handler + tests, shows diffs file by file. You click accept.

  3. Feishu · OpenClaw

    Summarize today's PR comments on my repos

    Agent hits GitHub API, ranks by priority, posts a digest in Feishu. You read it on your phone.

  4. Desktop · Cherry Studio

    Compare risk clauses in these three contracts

    Agent reads local PDFs, builds a comparison table, highlights gaps — a conclusion you can forward, not a snippet.

Same agent, swap in DeepSeek

Already on Cline or Claude Code? Keep the tool. Change the model behind it — a few lines of config, same workflow.

Claude Code · settings.json

{  "env": {    "ANTHROPIC_BASE_URL": "https://api.deepseek.com/anthropic",    "ANTHROPIC_AUTH_TOKEN": "<your DeepSeek API Key>",    "ANTHROPIC_MODEL": "deepseek-v4-pro[1m]"  }}
  • Steadier reasoning on big refactors — fewer missed files
  • Flash model keeps terminal back-and-forth snappy
  • Pay-as-you-go pricing that scales with daily coding

DeepSeek isn't another chat app — it's a brain your agent can switch to. Every tool below has a step-by-step guide to wire it in.

Using a tool? Open its guide.

Find your agent below. Using a terminal CLI and hate editing config files? Start with the CC Switch guide (first in the list).

  • CC Switch

    Free desktop app: connect Claude Code, OpenCode, Codex, and other CLIs to DeepSeek with a GUI. **Start here if manual config feels too hard.**

    View guide
  • AstrBot

    Open-source agent assistant for Feishu, Telegram and more, extensible with skills, plugins, and MCPs.

    View guide
  • Cherry Studio

    Open-source cross-platform desktop AI client with 300+ assistants, MCP support, knowledge bases, and multi-model chat.

    View guide
  • Claude Code

    AI coding assistant that runs in the terminal.

    View guide
  • Cline

    AI coding assistant extension for VS Code supporting multiple API providers.

    View guide
  • Codex

    OpenAI's coding agent.

    View guide
  • Crush

    Glamorous open-source AI coding agent for the terminal with multi-model support and LSP integration.

    View guide
  • Deep Code

    Open-source terminal AI coding assistant for DeepSeek-V4 with deep thinking, reasoning effort control, and Agent Skills.

    View guide
  • DeepSeek-TUI

    Open-source Rust terminal coding assistant for DeepSeek-V4 — Codex-style architecture, sandboxed tools, MCP client + server, 1M context.

    View guide
  • GitHub Copilot

    AI peer programmer built into VS Code.

    View guide
  • GitHub Copilot CLI

    Terminal-native AI coding assistant with agentic capabilities.

    View guide
  • Hermes

    Open-source self-improving AI agent built by Nous Research.

    View guide
  • Kilo Code

    AI coding assistant available as a CLI and editor extension.

    View guide
  • Langcli

    Open-source AI coding assistant 100% compatible with Claude Code, supporting mainstream LLM models.

    View guide
  • LobeHub

    Chief Agent Operator — hire, schedule, and report on your entire AI team, 24/7.

    View guide
  • nanobot

    Open-source lightweight AI agent with chat platform integration, memory, MCP, and more.

    View guide
  • Oh My Pi

    Terminal AI coding agent forked from Pi with OMP-specific tools, model roles, MCP, plugins, and agent workflows.

    View guide
  • OpenClaw

    Open-source personal AI assistant that plugs into chat tools (Feishu, WeChat) and is extensible via Skills.

    View guide
  • OpenCode

    Open-source AI coding assistant available in terminal, web, and other forms.

    View guide
  • Pi

    Minimal, extensible terminal coding harness with tree-structured sessions and custom providers.

    View guide
  • Qwen Code

    Coding agent CLI by the Alibaba Qwen team — now with built-in DeepSeek provider support.

    View guide
  • Reasonix

    DeepSeek-native coding agent that runs in the terminal — cache-first loop, MCP-native.

    View guide
  • WorkBuddy / CodeBuddy

    AI agent and coding assistant with custom OpenAI-compatible model configuration.

    View guide

Frequently asked questions

Still curious? Expand any of these.

What's the difference between an LLM and an Agent?+
An LLM generates language from a prompt. An Agent wraps an LLM in a loop with tools, memory, and execution — so it can run commands, edit files, and complete multi-step tasks, not just reply in chat.
Do I need an Agent, or is a chat model enough?+
For quick Q&A or drafting text, a chat model is enough. Choose an Agent when you want hands-on help — building features, refactoring a repo, automating workflows, or operating through your editor, terminal, or chat apps.
Why use DeepSeek as the model inside an Agent?+
DeepSeek offers strong reasoning and coding performance with competitive API pricing. Many popular agents let you replace the default model with DeepSeek via API key and endpoint configuration.
How do I actually connect DeepSeek to my tool?+
Browse the integration guide for your tool below. Most guides require a DeepSeek API key from platform.deepseek.com and a few lines of config in the agent's settings file or environment variables.
The config looks too complex — is there an easier way?+
For terminal CLIs like Claude Code, OpenCode, Codex, or OpenClaw, try the free CC Switch desktop app: pick the DeepSeek preset, paste your API key, enable — no manual JSON editing. See our CC Switch guide (first item in the tool list).