Back to feed
News Story
InfoQ
3 sources

Claude Code Opens Mods with Highest Privileges; DeepSeek's Cui Tianyi Says It Converges with DSH but Scope Differs

On October 1, Anthropic introduced Mods for Claude Code, allowing developers to deeply customize the agent's interface and runtime logic through in-process function hooks, with hot loading support. Cui Tianyi, team lead of DeepSeek Harness, responded that Claude Mods and DeepSeek Harness are converging in their underlying approach but differ fundamentally in scope: Claude Mods are local plugins patching an existing architecture, while DeepSeek Harness has built its entire runtime on an 'Everything is a Plugin' architecture from day one.

SynthePulse Insight · AI deep reading

Claude Code Opens Up Mods, DeepSeek Harness Responds With 'All Roads Lead to the Same Destination': A Route Divergence Over Runtime Control

Version 1 · 1 source

On October 1, Anthropic introduced the Mods mechanism for Claude Code, allowing developers to customize the agent's interface and runtime logic through in-process function hooks. Cui Tianyi, team lead of DeepSeek Harness, reposted and commented that the two share the same underlying approach—'all roads lead to the same destination'—but the scope of what they open up is entirely different. Behind this lies a divergence between two architectural philosophies: 'host-centric local plugins' versus 'everything is a plugin' microkernel.

  • On October 1, Anthropic officially introduced the Mods mechanism for Claude Code, enabling developers to deeply customize the agent's interface and runtime logic through in-process function hooks.
  • Mods are written in JavaScript or TypeScript, reside in the main process, intervene in the execution flow via event hooks, and can render terminal interfaces, bidirectionally intercept tool calls, register local /command commands, and route models by task complexity.
  • Anthropic provides three examples: Token Weather visualizes context window usage, Blast Radius pauses for confirmation on high-risk commands, and Replay Theater offers /replay for step-by-step review of file modifications.
  • Cui Tianyi, team lead of DeepSeek Harness, commented that the two share the same underlying approach—'all roads lead to the same destination'—but Claude Code's Mods remain local plugins on an established architecture, opening up only a subset of functionality.
  • Cui Tianyi stated that DeepSeek Harness has adopted an 'everything is a plugin' architecture since day one, built on the open-source microkernel framework Cordis, with models, tools, sessions, sandboxes, Agent Loop, and UI all implemented as plugins.
  • DeepSeek Harness was initiated in May, open-sourced its developer preview v0.1 in August, and its Creator Mode empowers the agent with runtime introspection, in-memory on-the-spot writing of Cordis plugins, and hot-mounting persistence.
Open section navigationOne Update, a Head-On Encounter Between Two Architectural Philosophies

One Update, a Head-On Encounter Between Two Architectural Philosophies

On October 1, Anthropic officially announced the introduction of the Mods (Modifications) mechanism for Claude Code, allowing developers to deeply customize the agent's interface and runtime logic through in-process function hooks. Users don't even need to program themselves—they can have Claude Code write and install Mods for itself and hot-load them in the current session.

This update quickly drew responses from peers. Cui Tianyi, team lead of DeepSeek's agent foundation DeepSeek Harness, reposted and commented on social media that Claude Mods and DeepSeek Harness are 'converging at the underlying level—all roads lead to the same destination'—but the scope of what the two open up is entirely different. It should be noted that this is Cui Tianyi's personal opinion, not an official DeepSeek statement, and no response from Anthropic appears in the sources.

Cui Tianyi's background adds weight to this comment: he was formerly a technology expert at top quantitative fund Jane Street, author of the classic open-source tutorial 'Nine Lectures on the Knapsack Problem,' and joined DeepSeek this spring to lead Harness. His judgment is: Mods in Claude Code are essentially still local plugins patching an established software architecture, and Claude Code currently opens only a subset of functionality as Mods; whereas DeepSeek Harness, from its very first day, built its entire runtime on an 'Everything is a Plugin' architecture.

Thus, a product update evolved into a route divergence over 'to whom runtime control is opened, and to what extent.'

What Mods Actually Change: From Out-of-Process Calls to In-Process Interception

Before this update, Claude Code's extension mechanisms mainly relied on three relatively fragmented channels: MCP (Model Context Protocol) exposes external read-only or execution tools via standard JSON-RPC; Skills are purely prompt-driven operation guides; and Settings Hooks launch independent external subprocesses to run shell scripts at specific trigger points. The pain point of this approach is the inability to intrude into the main process—external scripts can neither obtain and modify runtime intermediate states in real time nor perform pixel-level reconstruction of the terminal presentation interface.

The core change of Mods lies in evolving the extension mechanism from 'out-of-process calls' to 'in-process interception.' Technically, a Mod is a piece of code written in JavaScript or TypeScript that resides directly in Claude Code's main process, intervening in the execution flow via event hooks.

In terms of capabilities, Mods have rendering rights over the terminal interface: developers can draw a code change diff panel beside the main conversation area, render a multi-agent call tree, display token consumption rates in real time in the status bar, and even redraw the system's default execution waiting animation. They can also perform bidirectional interception of tool calls—intercepting requests before a tool triggers and popping up a confirmation mechanism for the user, and automatically filtering and desensitizing sensitive credentials (such as API Keys) after execution completes but before results are fed back to the large model. Additionally, Mods support registering custom /command commands that return locally in seconds without invoking the large model, and can route requests to cheaper or faster models based on task complexity within the execution loop.

One noteworthy detail: Anthropic's recently launched /diff panel and agents.md support for multi-agent collaboration have both been refactored at the underlying level into built-in Mods. This means Anthropic itself is also using the Mods mechanism to decouple product functionality—though this claim is paraphrased in the source and is not directly confirmed by Anthropic's official documentation.

Anthropic also provided three intuitive examples: Token Weather draws a weather-forecast-like graphic above the input box, dynamically showing current context window usage; Blast Radius pauses operations when Claude Code is about to execute potentially impactful commands like rm -rf or force push, showing the user what might change and offering continue or cancel buttons; Replay Theater provides a /replay command, allowing users to step through what modifications Claude made to files in the previous round of operations.

The Basis and Boundaries of the 'All Roads Lead to the Same Destination' Judgment

The core logic behind Cui Tianyi's 'all roads lead to the same destination' judgment is that both Anthropic and DeepSeek have realized that relying purely on 'large model + static prompts' cannot solve stability problems in complex engineering scenarios. To enable agents to deliver reliably in real codebases and terminal environments, runtime control must be opened up to developers.

But the two teams have given different-dimensional solutions on 'to whom to open up, and to what extent.' According to Cui Tianyi's description, Claude Code remains a productization-first black-box tool; its core execution mechanisms, session management, and main state machine do not allow external modification. What Mods open up are only a few officially preset facets (interface rendering, tool filtering, prompt injection).

In contrast, DeepSeek Harness is built on the open-source microkernel framework Cordis, with no privileged core in its architecture—every system component is implemented as an independent plugin: basic capability plugins include model adapters (supporting DeepSeek, open-source model endpoints, and other commercial models), tool sets, external Skills, execution sandboxes, and local persistent storage; process and system plugins include session event logs, task scheduling systems, and the execution step loop (Agent Loop); among presentation-layer plugins, the frontend UI (whether web interface or terminal interaction) is itself merely a pluggable Bundle.

Based on this, Cui Tianyi joked: the discipline that used to study how to attach tools and prompts to models externally was called 'Plugin Engineering,' and with the comprehensive devolution of agent control, this technology might now be renamed 'Mod Engineering.'

It should be pointed out that the above descriptions of DeepSeek Harness's architecture all come from Cui Tianyi's personal statements; the source provides no third-party verification, nor any data on developer adoption rates, performance, or ecosystem scale for either product.

Creator Mode: Letting the Agent Rewrite Itself On the Spot

DeepSeek Harness's four official operating modes are Standard (full coding), Code (programming interface), Minimal (minimal evaluation), and Creator (creator mode), among which the most striking is precisely the Creator Mode mentioned in Cui Tianyi's tweet.

According to the source description, Creator Mode grants the agent the introspective modification capability to 'write its own plugins on the spot': in terms of runtime introspection, the Agent has read access to the current system runtime environment and can inspect which model adapters it has loaded, which tools are mounted, and what scheduling strategy is enabled; in terms of in-memory on-the-spot coding, when facing complex tasks beyond its current capabilities, the Agent can directly write a piece of Cordis plugin code in memory; in terms of hot-mounting and persistence, once the new plugin is written, the system can immediately complete mounting, activation, and verification within the sandbox, and once verified as viable, the Agent can solidify it in real time into a brand-new preset mode.

Through this approach, one can modify the UI, adjust the Agent Loop's behavior and operating mechanisms, add new tools, or introduce new task orchestration methods. Using the metaphor from the source: Claude Code's Mods are 'functional peripherals' that human engineers assemble for the agent, while DeepSeek Harness's Creator Mode gives the agent the possibility of 'rewriting its own organs and operating logic on the spot.'

The boundaries of this comparison also need to be marked: the actual capabilities and stability of Creator Mode lack third-party verification, and the source does not disclose the complete API and permission boundaries of Claude Code Mods' function hooks. The actual differences between the two in the degree of runtime control openness lack quantifiable comparison.

Timeline and the Migration of Competitive Dimensions

This technical confrontation did not come out of nowhere. DeepSeek Harness was initiated in May, open-sourced its developer preview v0.1 in August, and the developer preview was officially open-sourced in mid-August. Since Cui Tianyi joined DeepSeek this spring and formed a team, DeepSeek began to fill in the missing link of 'transforming a smart large model into real execution capability.'

The source mentions a formula circulating internally at DeepSeek: Model + Harness = Agent. If the large language model is compared to an engine, Harness is the chassis, transmission, steering wheel, and brake system. Over the past year, global large model vendors have mainly competed on model parameters, inference costs, and context length; the launch of Claude Mods and the open-source advancement of DeepSeek Harness signal that the competitive dimension is extending to the runtime layer.

According to the source's summary, Anthropic, relying on its mature product form, attempts to lower the customization threshold for professional engineering teams through Mods, shaping Claude Code into an extensible productivity benchmark; DeepSeek, on the other hand, attempts to build a boundaryless open-source agent foundation through a thoroughly microkernel plugin-based architecture.

It should be noted that related information mentioned in the source, such as the launch of the DeepSeek Harness desktop preview and V4-Pro programming capabilities, has unclear details and will not be elaborated in this article.

Credibility boundary

The evidence in this article comes only from a single source (InfoQ, article_id 19939), with no first-party Anthropic or DeepSeek official documentation as corroboration. The release of Claude Code Mods is a confirmed fact; regarding Mods technical details (such as the complete API and permission boundaries of function hooks), the source does not fully disclose them. Cui Tianyi's comments are reposts and comments on social media, constituting personal opinion rather than an official DeepSeek statement, and his judgments of 'all roads lead to the same destination' and 'entirely different scope of openness' have not received a response from Anthropic. The architectural description of DeepSeek Harness and the capabilities of Creator Mode all come from Cui Tianyi's personal statements and lack third-party verification. The source provides no data on developer adoption rates, performance, or ecosystem scale for either product. This article is an adaptation of original InfoQ content, does not represent the platform's views, and does not constitute investment advice.

Insight takeaway

The divergence between Claude Code Mods and DeepSeek Harness is essentially not about 'whether to open up runtime control' but about 'on whose architecture to open it up.' Claude Code chooses to drill holes and devolve power on an established host, with Mods as attached plugins; DeepSeek Harness chooses to build from scratch a microkernel with no privileged core, where everything is a plugin. The former is productization-first incremental extension, the latter is architecture-first thorough reconstruction. Whether the two paths can truly 'all roads lead to the same destination' depends on the controllable boundaries developers actually obtain, not on conceptual similarity—and on this point, there is currently no third-party data that can answer.