AcademyMCP serversDevelopment

DeepSeek as a Sub-Agent for Claude Code and Codex

Development teams that want a second model to handle well-defined coding tasks inside their agent setup.

  • Recommendedour rating
  • 39gitHub stars
  • MITlicence
  • todaylast update
git clone https://github.com/PsChina/deepseek-as-subagent.git
README.md

Loading the file...

What it does

deepseek-as-subagent runs DeepSeek, or a local OpenAI-compatible model, as a sub-agent inside Claude Code or Codex CLI. The sub-agent has its own loop for reading files, editing them and running commands in a sandboxed workspace. The main agent keeps the conversation, planning and verification, and hands over execution-heavy work.

Use cases

  1. 01Delegating a well-scoped refactor to a sub-agent
  2. 02Running a local model for code changes
  3. 03Handing off file edits and command runs to a workspace

Questions about
DeepSeek as a Sub-Agent for Claude Code and Codex.

What is DeepSeek as a Sub-Agent for Claude Code and Codex used for?

Development teams that want a second model to handle well-defined coding tasks inside their agent setup. deepseek-as-subagent runs DeepSeek, or a local OpenAI-compatible model, as a sub-agent inside Claude Code or Codex CLI. The sub-agent has its own loop for reading files, editing them and running commands in a sandboxed workspace. The main agent keeps the conversation, planning and verification, and hands over execution-heavy work.

How do I install DeepSeek as a Sub-Agent for Claude Code and Codex?

Run this in your terminal: git clone https://github.com/PsChina/deepseek-as-subagent.git

Is DeepSeek as a Sub-Agent for Claude Code and Codex open source?

Yes. The code is on GitHub (PsChina/deepseek-as-subagent) under the MIT licence.

Is DeepSeek as a Sub-Agent for Claude Code and Codex safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.