Skip to content
AIRepoHub

deepseek-harness

by deepseek-ai

Plugin-based harness from DeepSeek for running AI agents, where every feature is added as a plugin.

AI AgentsTypeScriptMIT license
Stars
286,694
stars
Forks
36k
forks
Last push
3 days ago
Activity
Active
deepseek-harness: quick start
# Start the Web UI with npx$ npx @deepseek-ai/dsh web

Commands from the project's README. Run them after installing (see below).

Overview

Understand deepseek-harness in 60 seconds

What it does
DeepSeek Harness (dsh) is an open-source agent harness from DeepSeek AI. It runs an AI agent you control through a local web interface, and almost everything in it is a plugin.
The problem it solves
Agent tools often bundle fixed features that are hard to change. DeepSeek Harness is built on an everything-is-a-plugin design using the Cordis framework, so parts can be added or swapped.
Why choose it
Choose it if you want to try DeepSeek's own agent harness and are comfortable with a developer preview that will change. For a stable daily tool, a mature harness is safer for now.
Who should use it
  • Developers experimenting with AI agent harnesses
  • People who want to run DeepSeek's agent locally in a browser UI
  • Plugin authors building on an extensible agent
Setup difficulty

You'll need:

  • Node.js
  • pnpm and Git if running from source

How deepseek-harness works

DeepSeek Harness is an agent harness developed by DeepSeek AI. It uses Cordis, a plugin framework, so features are plugins that can be composed. Community plugins can be tagged with the dsh-plugin GitHub topic.

It runs a Web UI on your machine, by default at http://127.0.0.1:3080, and opens it in your browser on a local launch. Over SSH it only prints the URL.

The project is in developer preview and the README warns that there will be compatibility-breaking changes. It also asks you to read its safety notice before running it.

Features

Key features

Everything is a plugin

Built on Cordis so parts of the harness can be added or replaced.

Local Web UI

Starts a browser interface on 127.0.0.1:3080.

One-command start

Run it straight from npm with npx.

Runs from source

Build it yourself with pnpm for development.

Strengths

  • Official project from DeepSeek AI
  • Extensible plugin architecture
  • MIT licensed

Limitations

  • Developer preview with breaking changes expected
  • Short documentation in the README itself
  • Read the safety notice before running it

Practical use cases

Try DeepSeek's agent locally

Run the Web UI and work with the agent in your browser.

Build a plugin

Extend the harness and tag your repo with dsh-plugin.

Installation

Install deepseek-harness

Based on official documentation

Commands come from DeepSeek Harness's README. AIRepoHub hasn't run them yet. View source

Prerequisites

  • Node.js

Supported systems

  • Windows
  • macOS
  • Linux
  1. 1

    Install Node.js

  2. 2

    Start the Web UI

    Opens http://127.0.0.1:3080 in your browser. Add --no-open to only start the server.

    Shell
    npx @deepseek-ai/dsh web
  1. 1

    Clone and build

    Shell
    git clone https://github.com/deepseek-ai/deepseek-harness.gitcd deepseek-harnesspnpm installpnpm run build
  2. 2

    Start the Web UI

    Shell
    pnpm dsh web

Configuration and API keys

SettingWhat it's for

First run

  1. 1

    Start dsh

    Shell
    npx @deepseek-ai/dsh web
  2. 2

    Open http://127.0.0.1:3080 if the browser doesn't open by itself

deepseek-harness's documentation doesn't include sample output, so we don't show any. Expect the results in your terminal.

Your first project

Run DeepSeek Harness locally

Start the harness and open its Web UI.

Before you start

  • Node.js installed
  • The safety notice (SAFETY.md) read
  1. 1

    Start the Web UI

    Shell
    npx @deepseek-ai/dsh web
  2. 2

    Use the browser tab that opens

    On SSH launches, open the printed URL through your forwarded port.

What to expect

The DeepSeek Harness Web UI opens at http://127.0.0.1:3080.

Next steps

  • Read the documentation site
  • Look at the architecture docs if you want to write a plugin

Costs and requirements

What it costs to run

License
MIT. Free to use, modify and use commercially.Free
Software
Free and open source.Free
Model usage
Any model API you connect may charge for usage.Depends

Troubleshooting

Common setup issues

The browser doesn't open over SSH

That's expected. Over SSH dsh prints the URL; open it through your forwarded port.

Source: README.md

Something broke after an update

The project is a developer preview with breaking changes; check the release notes and docs.

Source: README.md

Alternatives

Similar AI repositories