Back to feed
News Story
InfoQ
1 sources

DeepSeek Harness releases experimental Claude Mods compatibility layer, lead says it validates subset claim

After Anthropic launched the Mods extension mechanism for Claude Code, DeepSeek Harness lead Tianyi Cui commented on X that the two approaches converge but Claude Mods is essentially a local plugin, while DSH was built from day one as an all-plugins microkernel architecture. Less than 24 hours later, DeepSeek pushed dsh v0.2.1-alpha.1 to GitHub, adding an experimental Claude Code Mods compatibility layer authored by Cui, stating the goal is to verify that the Claude Code Mods API is roughly a subset of DSH plugins.

SynthePulse Insight · AI deep reading

A Compatibility Layer in Under 24 Hours: What DeepSeek Harness Wants to Verify Isn't Compatibility, but a "Subset"

Version 1 · 1 source

Less than 24 hours after Anthropic opened up Claude Code Mods permissions, DeepSeek Harness team lead Cui Tianyi personally signed off on pushing dsh v0.2.1-alpha.1, adding an experimental Claude Code Mods compatibility layer. The changelog states that its main purpose is to verify that Claude Code Mods API functionality is roughly a subset of DSH plugins, rather than to provide full compatibility.

  • Anthropic pushed the Mods extension mechanism for Claude Code, allowing developers to customize the interface and intercept tools through in-process Function Hooks.
  • Less than 24 hours later, DeepSeek pushed dsh v0.2.1-alpha.1 to GitHub, adding an experimental Claude Code Mods compatibility layer, with the commit log noting it was personally authored and signed by Cui Tianyi (@tianyicui).
  • The compatibility layer is essentially a cross-runtime API semantic bridge layer (API Shim), mapping Claude Code Mods' TypeScript Hook functions onto DSH's event bus and lifecycle.
  • The DSH team validated it using Anthropic's three official upstream benchmark examples: Token Weather, Blast Radius, and Replay Theater; reports say all three use cases ran successfully.
  • DSH documentation states that Claude Code's most prominent official built-in capabilities (such as the /diff panel and agents.md cross-agent specification parsing) explicitly cannot run within the compatibility layer, because of objective architectural differences in the terminal rendering engine and main state machine definitions.
  • Cui Tianyi responded on Zhihu that the compatibility layer is an experimental feature in the alpha version, cannot guarantee 100% compatibility, and currently cannot make all Claude Code Mods run seamlessly.
Open section navigationA "Subset" Verification, Not a Compatibility Promise

A "Subset" Verification, Not a Compatibility Promise

The starting point of this discussion is that Anthropic pushed a brand-new extension mechanism called Mods for Claude Code, allowing developers to deeply customize the interface and intercept tools through in-process Function Hooks. Then, less than 24 hours later, DeepSeek pushed the DeepSeek Harness (dsh) v0.2.1-alpha.1 version update to its GitHub repository.

What really pushed this update into the spotlight was a sentence in the changelog: it added an experimental Claude Code Mods compatibility layer, and the main purpose at this stage is to verify that Claude Code Mods API functionality is roughly a subset of DeepSeek Harness plugins, rather than to provide users with actual full compatibility. The commit log clearly notes that this compatibility layer was personally authored and signed by team lead Cui Tianyi (@tianyicui).

Therefore, understanding this move as "DeepSeek wants full compatibility with Claude Code Mods" is not accurate. According to the changelog's wording, it is more like an architectural comparison experiment: using code to test which of the two extension systems' capability boundaries contains the other.

What the Bridge Layer Does: Mapping Hooks onto the Event Bus

From a systems engineering perspective, the technical essence of this compatibility layer is a cross-runtime API semantic bridge layer (API Shim). DeepSeek Harness is built on the open-source microkernel framework Cordis; the kernel itself has no privileges, and all modules run through service publication, dependency injection, and event subscription.

What Cui Tianyi did within those less than 24 hours was essentially write an adapter plugin on top of Cordis: mapping the TypeScript Hook functions defined by Claude Code Mods onto DSH's event bus and lifecycle.

This also explains why the "subset" judgment can be verified through engineering means—if all of Claude Code Mods' extension primitives can find corresponding positions in DSH's event and lifecycle model, then the "subset" relationship holds at least at the level of extension primitives.

Three Official Use Cases: What's Verified Is Primitive Mapping, Not Full Compatibility

To verify the "subset" claim, the DSH team directly used the three upstream benchmark examples officially provided by Anthropic for acceptance testing: Token Weather verifies interface rendering capability, drawing token consumption status losslessly onto the terminal; Blast Radius verifies high-risk operation interception, suspending before the shell executes destructive commands and requiring confirmation; Replay Theater verifies event recording and playback of operation history and file Diff changes.

Reports say all three official use cases ran successfully, proving that Claude Mods' existing extension primitives can all find corresponding mappings within the DSH system. It should be noted that this "all ran successfully" currently comes from the reporting party's statement and lacks independent first-party verification, so it can only be treated as a source claim.

Even if this claim holds, what it proves is only mappability at the level of extension primitives, not full compatibility at the user level. The gap between these two things is exactly the hard limitation discussed in the next section.

The Parts Explicitly Unable to Run Expose the Hard Boundary of Architectural Differences

The DSH documentation is quite candid: several of Claude Code's most prominent official built-in capabilities, such as the /diff panel and agents.md cross-agent specification parsing, explicitly cannot run within the DSH compatibility layer.

The reason given by the report is that this is not because the bridge layer was written too slowly, but because the two systems have objective architectural differences in their terminal rendering engines and main state machine definitions. In other words, what can be bridged are extension primitives; what cannot be bridged are built-in capabilities deeply rooted in their respective rendering and state machines.

This also constitutes an important qualification to the "subset" claim: the scope in which the subset relationship holds is the extension capabilities available to plugin authors, not all of Claude Code's functionality. Treating the former as the latter would overestimate the actual coverage of this compatibility layer.

Cui Tianyi's Public Response: Alpha, Experimental, No 100% Compatibility Guarantee

Facing intense discussion, Cui Tianyi gave a systematic response in the Zhihu community, confirming that he is the author of the compatibility layer and stating that it is an experimental feature in the alpha version, still has many imperfections, and cannot guarantee 100% compatibility.

He explicitly stated that it currently cannot make all Claude Code Mods run seamlessly in DeepSeek Harness; if this is considered a goal worth investing in, it is technically possible to achieve in the future. This means that "whether to pursue full compatibility" remains an open question, depending on whether the team considers it worth investing in, and there is no clear plan yet.

Regarding the philosophy of "everything is a plugin," Cui Tianyi said it was established from the very beginning of the project, before the first line of code was written, and that open source was also a direction established at the founding of DeepSeek, not something forced or imitated from others. This statement is his personal account and can serve as a clue for understanding the team's motivation, but it is not equivalent to independently verifiable fact.

From "Models Writing Plugins" to "Agent Self-Evolution," What's Still Missing

Cui Tianyi places another layer of potential in the plugin architecture further out: letting the Agent change itself during operation, exploring the co-evolution of the model and the Harness. He said that DSH's "Creation Mode" already allows the Agent to write and install plugins according to user needs, extending the Harness's capabilities and interface, which is a small step in the direction of "words become law."

But he also pointed out that advancing "Agent self-evolution" requires more complete engineering implementation of plugin hot-swapping and hot-reloading, and on the model side requires training large language models in new ways so that models learn to self-iterate by changing their own Harness; the related work has only just begun.

Here it is necessary to distinguish two levels: Creation Mode can already let the Agent write plugins, which is the current capability; while letting the Agent achieve self-iteration by rewriting its own Harness is a goal for which specific training methods and experimental progress have not yet been publicly disclosed. Treating the former as the latter would misread the current progress.

What's Open Source Is the Framework; What's Closed Source Is Industry Plugins

Regarding enterprise deployment, Cui Tianyi revealed that developers have already used DSH plugins to build "AI workbenches" for specific industries. These industry plugins are generally not publicly open-sourced, but they comply with the MIT open-source license, and the team explicitly supports and recognizes them.

This actually draws a boundary: what is open-sourced is the foundational framework and extensibility, which does not mean enterprises must disclose their own industry plugins. However, how to further develop the public plugin community and achieve cross-framework compatibility has not yet been given a specific plan in this response.

There is another detail from the report's paraphrase: the first version of dsh already had a built-in plugin that can call Claude Code and Codex as subagents, disabled by default, and a design record from about two months ago shows that DSH has two built-in Subagent Providers. This detail has not been corroborated by first-party documentation and can only be treated as a source claim.

Credibility boundary

The factual basis of this article comes from InfoQ's report on the dsh v0.2.1-alpha.1 update and Cui Tianyi's Zhihu response. Among these, Anthropic's push of Mods, the dsh version number and the interval between pushes, the compatibility layer being signed by Cui Tianyi, the statement of the compatibility layer's purpose, the Cordis microkernel architecture, the names of the three official use cases, the built-in capabilities being unable to run, and the key points of Cui Tianyi's Zhihu response are all content that can be directly quoted from the report. It should be noted that: the three official use cases "all ran successfully" is currently only the reporting party's statement and lacks independent first-party verification; the DSH built-in subagent plugin and the design record from about two months ago also come from the report's paraphrase and have not been corroborated by first-party documentation; the actual development timeline of the compatibility layer, whether full compatibility will be pursued in the future, and the specific training methods and experimental progress of "Agent self-evolution" are all still undetermined.

Insight takeaway

The key to this update is not that "DeepSeek is compatible with Claude Code Mods," but that a bridge layer written in less than 24 hours is being used to verify an architectural judgment: the extension capabilities that Claude Code Mods provides to plugin authors are roughly a subset of DSH's "everything is a plugin" architectural capabilities. But the scope in which the subset holds is limited to extension primitives—built-in capabilities such as the /diff panel and agents.md parsing explicitly cannot run due to differences in terminal rendering engines and main state machines, and the compatibility layer is still in the alpha experimental stage and does not guarantee 100% compatibility.

Primary report

InfoQ

Primary source