HexaLab

DeepSeek open-sources DeepInfer, its production inference engine

DeepSeek releases DeepInfer (26,271 ★) and the dsh-superagent coding agent (24,107 ★): the practical half of its open stack, the part that matters for self-hosting.

By HexaLab · · 4 min read

In 30 seconds

  • DeepInfer, the engine that serves DeepSeek models in production, has been open source (Apache-2.0) since 16 October 2026: 26,271 stars on 21 November.
  • The release does offline inference of DeepSeek-V4.1-Flash on NVIDIA SM100 GPUs or Huawei Ascend 950 NPUs, without a KV cache or disaggregation.
  • dsh-superagent, a proactive coding agent wired into GitHub, is a "research prototype": 24,107 stars, but not an official product.
Contents 6
  1. DeepInfer: the production engine, offline edition
  2. What the release does not include
  3. dsh-superagent: an agent that opens its own PRs
  4. The foundation: DeepSeek Harness and its ecosystem
  5. How to try it
  6. HexaLab's take

DeepSeek has open-sourced DeepInfer, the inference framework that runs its own large-scale services, and dsh-superagent, a coding agent that works on a GitHub repository by itself. The DeepInfer repository, created on 16 October 2026 under Apache-2.0, had 26,271 stars as of 21 November 2026; dsh-superagent, published on 31 October under MIT, had 24,107. Both build on DeepSeek Harness, the agent environment opened in August, which has passed 284,000 stars. For anyone who wants to host DeepSeek models themselves, this is the missing piece of the stack — with limits worth knowing before you start.

DeepInfer: the production engine, offline edition

An inference engine is the software that takes a trained model and makes it answer quickly, for many users, on expensive GPUs. It is where the price of a token is decided. DeepInfer's README is blunt about what it is:

The high-performance inference framework that powers DeepSeek's large-scale production services.
deepseek-ai/DeepInfer README (GitHub)

The published release covers offline inference (batch processing, no exposed server) and a single model: DeepSeek-V4.1-Flash, whose DeepSeek-V4.1-Flash-1017 checkpoint went up on Hugging Face on 17 October 2026. The README also notes that DeepInfer was originally built mainly on vLLM, with inspiration from SGLang and TensorRT-LLM.

What's inside:

  • In-house optimized kernels — FlashMLA, DeepGEMM, DeepEP, TileKernels, DeepSelect and custom TileLang kernels. A "kernel" is the low-level routine that runs one specific computation on the GPU.
  • Parallelism: attention DP / balanced CP, plus MoE expert parallelism with load balancing (EPLB). A mixture-of-experts model activates only some of its "experts" per token; those experts must be spread across GPUs without overloading any one of them.
  • Faster decoding with draft tokens whose verification is scheduled by a confidence estimate.
  • Reproducibility: batch-invariant inference and deterministic sampling (NVIDIA only). Same input, same parameters, same output — valuable for testing and auditing.
  • Structured outputs constrained by regex, JSON schema or EBNF grammar.
26,271DeepInfer starsas of 21/11/2026
24,107dsh-superagent starsas of 21/11/2026
284,802DeepSeek Harness starsas of 21/11/2026

What the release does not include

This is the most important point, and DeepSeek states it plainly. A complete service still needs three pieces:

  • a KV-cache system (the memory of already-processed tokens, which avoids recomputing everything on each request);
  • prefill/decode disaggregation (reading the prompt and generating the answer on separate machines) — the README says most of the required engine logic is already implemented;
  • load balancing across data-parallel replicas, for both prefill and decode.

The hardware list is short: NVIDIA SM100 GPUs (the data-centre Blackwell generation) and Huawei Ascend 950 NPUs. Published benchmarks were measured on 4 SM100 GPUs for prefill and 64 for decode, and are provided only as charts, with no table of figures.

DeepInfer: what is open, what is not
In the releaseNot included
Offline inferenceYes—
Optimized kernels + MoE EPYes—
Structured outputsYes—
KV cache—Bring your own
Prefill/decode disaggregationPartialTo complete
DP load balancing—Bring your own

Source: deepseek-ai/DeepInfer README

dsh-superagent: an agent that opens its own PRs

The second repository is a different beast. dsh-superagent is a proactive coding agent attached to a single GitHub repository. It listens to GitHub (and, optionally, the Feishu messenger); when an authorised person asks it for something, it opens a work item, works in its own session and directory, then answers in the original conversation — with a pull request, for example. A web panel lists what needs a human.

Its philosophy fits in one line of the README: take as little human attention as possible and give as much value as possible. The agent only acts when asked, or when a rule written by the team allows it.

DeepSeek keeps its distance, though: it is a "research prototype for reference only, not an official DeepSeek product". The code grew out of the team's daily work, much of it written by coding agents, may contain bugs and is not identical to the internal version.

The foundation: DeepSeek Harness and its ecosystem

Both projects sit on DeepSeek Harness, opened on 13 August 2026: an agent environment where "everything is a plugin", with a desktop app for macOS/Windows and a web UI. dsh-superagent is in fact shipped as a "bundle" for Harness. The community is following: dsh-Go, a third-party project created on 25 October 2026 to run Harness on a phone, already has 29,171 stars.

GitHub stars as of 21 November 2026
deepseek-harness284802
dsh-Go (community)29171
DeepInfer26271
dsh-superagent24107

Source: GitHub API

  1. DeepSeek Harness opened

    The "Everything is a Plugin" agent environment goes open source.

  2. DeepInfer repo created

    Apache-2.0, offline inference.

  3. V4.1-Flash-1017 checkpoint

    Published on Hugging Face, DeepInfer's default model.

  4. dsh-Go

    Community project running Harness on mobile.

  5. dsh-superagent published

    Research prototype, MIT licence.

How to try it

DeepInfer needs Linux, GCC ≥ 13, Python 3.12 and CUDA 13 (or CANN 9.2 for Ascend), in an empty Python environment. The README commands:

git clone https://github.com/deepseek-ai/DeepInfer && cd DeepInfer
# use "ascend" instead of "nvidia" for Huawei NPUs
export DEEPINFER_ACCELERATOR=nvidia
./build.sh

# Downloads DeepSeek-V4.1-Flash-1017 from Hugging Face on first run
python examples/offline_inference.py

For structured outputs, pass so_args={"schema_type": ..., "schema": ...} to SamplingParams; for determinism, set DEEPINFER_BATCH_INVARIANT=1 DEEPINFER_ENABLE_MTP_VARLEN=0 and a fixed seq_seed.

DeepSeek Harness can be tried in one line through its web UI:

npx @deepseek-ai/dsh web

dsh-superagent is not installed by hand: the README suggests asking your coding agent to read SETUP.md and set everything up with you, one question at a time. For development, pnpm check runs typecheck, tests and build.

HexaLab's take

DeepInfer is a rare gift: the production engine of a frontier lab, with its kernels and determinism, under Apache. But without a KV cache or disaggregation it is not a turnkey server — vLLM and SGLang remain simpler for most teams. dsh-superagent is mostly interesting for its "minimal attention" philosophy; read it and test it on a demo repository, don't plug it into your production code.

Verified sources

  1. GitHub — deepseek-ai/DeepInfer github.com
  2. GitHub — deepseek-ai/dsh-superagent-prototype github.com
  3. GitHub API — deepseek-ai org repositories by stars api.github.com
  4. DeepSeek — Harness product page deepseek.com
  5. GitHub — ccch1mneyyy/dsh-Go github.com

Written and checked by HexaLab from the sources listed.

Share WhatsApp LinkedIn X Facebook