explaingit

morlay/deepseek-harness

Analysis updated 2026-05-18

20TypeScriptAudience · developerComplexity · 3/5Setup · easy

TLDR

An OpenCode plugin that translates tool descriptions into Chinese and patches gaps so DeepSeek AI models work better in Chinese-language coding.

Mindmap

mindmap
  root((deepseek-harness))
    What it does
      Localizes tool descriptions
      Patches OpenCode gaps
      Adds custom tools
    Tech stack
      TypeScript
      OpenCode
      DeepSeek
    Features
      Chinese localization
      Failure logging
      Transparent proxy
    Use cases
      Chinese language coding
      Bulk code patches
      API debugging

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Improve DeepSeek model performance in OpenCode by using Chinese-localized tool descriptions.

USE CASE 2

Apply bulk code changes with a custom patch tool that fixes a gap in OpenCode's default tooling.

USE CASE 3

Search code structurally using the bundled ast-grep based tool.

USE CASE 4

Debug failed tool calls or inspect raw API traffic using the built-in logging and proxy mode.

What is it built with?

TypeScriptOpenCodeDeepSeek

How does it compare?

morlay/deepseek-harnessadrianhajdin/job_pilotcneuralnetwork/pracdago
Stars202020
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyeasyhardmoderate
Complexity3/54/52/5
Audiencedeveloperdevelopervibe coder

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires an existing OpenCode installation configured to use a DeepSeek model.

In plain English

DeepSeek Harness is a plugin for OpenCode (an AI-powered coding assistant) that is specifically tuned for DeepSeek language models used in Chinese-language environments. The core idea is that DeepSeek performs better when it receives prompts and tool descriptions in Chinese rather than English, so this plugin translates all of OpenCode's built-in tool descriptions into Chinese and removes redundant parameter explanations to let the model reason and respond more naturally. Beyond language, the plugin also patches gaps in how OpenCode's built-in tools work with DeepSeek, for example, fixing a "patch" tool that did not apply correctly. It ships 11 localized built-in tools, two custom tools (one for applying bulk code changes via unified diff format, another for structured code search using ast-grep), and four agent roles (a main code agent, a chat agent, a documentation agent, and a sub-agent worker for delegated tasks). It also logs every tool call that fails to a JSON lines file for debugging, and includes an optional transparent proxy mode that captures raw API requests and responses for developers who want to inspect exactly what the model is sending and receiving. The plugin is written in TypeScript and installed by adding a single line to an OpenCode configuration file.

Copy-paste prompts

Prompt 1
Show me how to add this plugin to my OpenCode configuration file.
Prompt 2
Explain the difference between the main code agent and the sub-agent worker in this plugin.
Prompt 3
Help me enable the transparent proxy mode to inspect API requests and responses.
Prompt 4
Walk me through using the ast-grep based structured search tool this plugin provides.

Frequently asked questions

What is deepseek-harness?

An OpenCode plugin that translates tool descriptions into Chinese and patches gaps so DeepSeek AI models work better in Chinese-language coding.

What language is deepseek-harness written in?

Mainly TypeScript. The stack also includes TypeScript, OpenCode, DeepSeek.

How hard is deepseek-harness to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is deepseek-harness for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.