AI/TLDR

DeepSeek Harness

DeepSeek's open agent harness where every capability is a plugin

Agent Frameworks & BuildersOpen source
Language
TypeScript
License
MIT
Coverage
1 story
$npx @deepseek-ai/dsh web

Overview

DeepSeek Harness (`dsh`) is an open-source agent harness from DeepSeek AI. Its organising idea is that everything is a plugin: models, tools, skills, sessions, sandboxes, storage, loops, scheduling and the UI are all supplied by plugins that collaborate through services and events, so you can select, replace or extend any capability from configuration instead of forking the source. DeepSeek frames the split as 'Agent = Model + Harness' — the model reasons, the harness gives it an environment, tools and the loop that keeps it working.

The plugin system is powered by Cordis, an existing open plugin framework. Capabilities are composed as profiles: an ordered stack of plugin bundles plus your own patch layer. The launcher ships `web` and `headless` profiles that auto-initialise from templates on first use, and `dsh plugin` creates and manages further profiles by forwarding to pnpm inside the profile directory. `--dump-default-config` and `--dump-config` let you inspect the composed tree without booting it.

The project is MIT-licensed, written in TypeScript, and released by DeepSeek as a developer preview — the README warns in capitals that there will be compatibility-breaking changes while it iterates. It runs any DeepSeek API key out of the box, and its model-configuration guide covers other providers and custom OpenAI-compatible endpoints.

What it does

  • Everything-is-a-plugin architecture: models, tools, skills, sessions, sandboxes, storage, loops, scheduling and UI all arrive as plugins
  • Built on Cordis, so plugins collaborate through shared services and events rather than hard-wired imports
  • Profiles compose ordered plugin bundles plus your own `cordis.patch.yml` layer, with `--dump-config` to inspect the result before booting
  • Ships a Web UI profile and a `headless` profile that runs one persisted session, prints the final answer and exits — good for scripting and CI
  • Agents can read and edit workspace files, run commands, delegate work and keep a plan, with approval prompts governed by a permission policy
  • Works with DeepSeek models by default and with other providers or custom OpenAI-compatible endpoints
  • A Python SDK and a `dsh-plugin` GitHub topic for discovering community plugins

Getting started

The fastest path is the Web UI over npx — no clone required. You need Node.js installed and a DeepSeek API key (or another OpenAI-compatible endpoint) to configure a model.

Start the Web UI

Run the launcher with npx. It serves the Web UI at http://127.0.0.1:3080 by default.

bashbash
npx @deepseek-ai/dsh web

Configure a model and pick a workspace

In the UI, open Settings → Models and save a DeepSeek API key — the model route becomes usable immediately, with no server restart. Then click Choose workspace and add the project directory you started `dsh` in; the session composer stays disabled until a workspace is selected.

Run a task

Start a session and give it work. The agent can read and edit workspace files, run commands, delegate and maintain a plan, and the UI asks before anything the active permission policy gates.

texttext
Summarize this repository and identify its main packages.

Run headless instead

For scripts and CI, the headless profile runs one fresh persisted session, prints the final answer and exits.

bashbash
npx @deepseek-ai/dsh --profile headless "run the tests"

Or build from source

To hack on it, clone the repo and build with pnpm before running the local entry point.

bashbash
git clone https://github.com/deepseek-ai/deepseek-harness.git
cd deepseek-harness
pnpm install
pnpm run build
pnpm dsh web

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Run a coding agent over a local workspace from a browser UI, with per-operation approval prompts
  • Script one-shot agent jobs in CI or a cron with the headless profile, which prints a final answer and exits
  • Swap a capability — a different model route, sandbox, storage or loop — by changing plugins and config instead of forking an agent framework
  • Build and publish your own agent capability as a `dsh-plugin` package rather than patching a monolith

How DeepSeek Harness compares

DeepSeek Harness alongside other open-source agent frameworks & builders tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
DeepSeek Harness★ 209kDeepSeek's open agent harness where every capability is a plugin
AutoGPT★ 187kOne of the earliest autonomous agent projects, now a platform for building and running agents from reusable blocks and workflows.
DeerFlow★ 81.3kByteDance's open-source super agent harness built on LangGraph: skills, sub-agents, sandboxes, a filesystem and long-term memory for long-horizon research, coding and content tasks.
nanobot★ 47.7kLightweight self-hosted personal AI agent framework in Python, with a WebUI, terminal and chat-app channels, tools, long-term memory, MCP and scheduled automations.
Agno★ 42kA fast Python framework (formerly Phidata) for building agents with memory, tools, and multimodal inputs, plus a runtime for deploying them in production.
LangGraph★ 40.9kA library from the LangChain team for building stateful, graph-based agent workflows with explicit control over steps, memory, and human-in-the-loop checkpoints.
AgentGPT★ 36.3kAgentGPT lets you name a custom AI, give it a goal, and watch it plan tasks, run them, and learn from the results, all from a web browser.
STORM★ 31.2kStanford OVAL's LLM-powered knowledge curation system that researches a topic and generates a Wikipedia-style article with citations.