DeepSeek Open-Sources DeepSeek Harness: Modular Agent Runtime Built on Cordis Plugin Framework

DeepSeek AI has released DeepSeek Harness (dsh), an open-source agent harness built on a modular "everything is a plugin" design. Published under the MIT license on GitHub, the project provides a runtime framework where all core agent functions—including model adapters, session storage, tool registries, sandboxes, and the execution loop itself—are implemented as interchangeable, hot-swappable plugins. Rather than developing a monolithic agent runner, DeepSeek structured the system around Cordis

2 min
DeepSeek Open-Sources DeepSeek Harness: Modular Agent Runtime Built on Cordis Plugin Framework

DeepSeek AI has released DeepSeek Harness (dsh), an open-source agent harness built on a modular "everything is a plugin" design. Published under the MIT license on GitHub, the project provides a runtime framework where all core agent functions—including model adapters, session storage, tool registries, sandboxes, and the execution loop itself—are implemented as interchangeable, hot-swappable plugins.

Rather than developing a monolithic agent runner, DeepSeek structured the system around Cordis, an open-source composition meta-framework originally authored by developer shigma and refined over four years within the Koishi chatbot ecosystem.

DeepSeek Harness Runtime Architecture and Cordis Plugin Lifecycle

The Cordis Foundation and Reversible Effects

DeepSeek Harness leverages Cordis v4 to solve key lifecycle and state management challenges common in dynamic agent environments:

  • Reversible Side Effects (ctx.effect): Every plugin modification registers an explicit inverse cleanup function. When a plugin or tool is unmounted or reloaded, Cordis automatically executes its teardown in reverse registration order, preventing resource leaks and dangling state.
  • Spatial and Temporal Composability: The framework formalizes dependency management, ensuring plugins only initialize after prerequisite services are active and unload before upstream dependencies terminate.
  • Path Independence: Application state is determined strictly by the set of currently enabled plugins rather than the sequence in which they were attached or modified.

Runtime Modes and Multi-Agent Orchestration

DeepSeek Harness ships with a local Web UI (defaulting to port 3080), headless execution modes, and a Python SDK for programmatic integration. The environment supports four distinct session presets:

  1. Standard Mode: A full-featured agent environment including file editing, workspace terminal execution, web search, skills, planning tools, and subagent delegation.
  2. Code Mode: Executes multi-step workflows by allowing the model to author single TypeScript programs against a unified SDK, collapsing multiple sequential tool invocations into a single execution turn.
  3. Minimal Mode: A stripped-down configuration containing only a persistent bash shell and a file editor, replicating the baseline environment DeepSeek uses for standardized evaluations.
  4. Creator Mode: An inspection and authoring preset allowing developers to experiment with plugin configurations and author custom session templates.

The harness natively supports parallel subagent orchestration, providing live progress indicators for concurrent workers and a detailed Trajectory timeline that profiles turn latencies, token consumption, and granular tool execution metrics. Provider connectivity is managed via the pi-ai library, supporting official DeepSeek endpoints, OpenCode Go, and generic OpenAI-compatible APIs with credential segregation in local configuration files.

DeepSeek AI currently designates the repository as a developer preview with active community contributions and plugin development underway.

Sources

Written by

More to read

  • Data Ingestion and Incremental Sync for Production RAG: CDC Streams, Content Hashing, Backpressure, and Zero-Downtime Indexing

    Maintaining retrieval-augmented generation (RAG) systems in production introduces a fundamental distributed systems challenge that rarely surfaces in proof-of-concept architectures: state synchronization. While initial ingestion across a static document corpus is straightforward, production data sources (PostgreSQL databases, transactional stores, object storage, and enterprise knowledge hubs) undergo continuous mutation. Records are inserted, updated, soft-deleted, and reassigned new access per

    1 min
  • Unsloth Releases Dynamic V3.0 GGUFs for Qwen 3.8 27B with 1-Bit Mode and MTP

    Unsloth AI has published its Dynamic V3.0 quantization suite for Alibaba's Qwen 3.8 27B model family, releasing optimized GGUF and NVFP4 checkpoints alongside public calibration matrices. The release claims a greater than 10 percent increase in top-1 percent accuracy at identical file sizes compared to standard baseline quantizations, while introducing an ultra-low-bit dynamic tier that operates within 8GB of memory. Qwen 3.8 27B is a dense vision-language model utilizing hybrid attention layer

    1 min
  • HoneyBook Launches Claude MCP Connector for Autonomous Small Business CRM

    Small-business CRM platform HoneyBook has rolled out an official integration for Anthropic's Claude built on the Model Context Protocol (MCP). The connector exposes structured customer records, project timelines, and billing systems to conversational AI agents, allowing service professionals to run client workflows through natural language interfaces. While large enterprises have increasingly deployed autonomous AI agents into core enterprise resource planning systems, smaller operators face st

    1 min