English | 中文
Lh0326's fork of deepseek-ai/deepseek-harness. This repository provides a source checkout for studying and extending the upstream harness. The related dsh-pet-desktop project adds a desktop pet interface in a separate repository.
DeepSeek Harness (dsh) is an open-source agent harness developed by DeepSeek AI.
It uses an architecture where everything is a plugin, and is powered by Cordis, whose design is described in A Programming Paradigm for Spatiotemporal Composability.
- Run an agent: use the Web UI or a headless profile to work with project files, commands, plans, and delegated tasks.
- Compose capabilities: assemble model providers, tools, permissions, and session services through Cordis plugins and profile configuration.
- Build integrations: use the TypeScript or Python SDK, or develop a plugin using the existing extension points.
These capabilities come from the upstream project. This fork's README distinguishes the source checkout below from the upstream npm release.
DeepSeek Harness is currently in developer preview and is iterating rapidly. THERE WILL BE COMPATIBILITY-BREAKING CHANGES.
With Node.js 22.19+ in the 22.x line, or Node.js 24+, run the upstream published package:
npx @deepseek-ai/dsh webThe command starts the Web UI, served at http://127.0.0.1:3080 by default. Open Settings → Models to configure a provider, then select a workspace before sending a task. See Web UI guide.
To run this fork, use the same Node.js requirement and the pnpm@11.7.0 version pinned in package.json. Installation and build require network access; running model tasks requires a configured provider.
git clone https://github.com/Lh0326/dsh.git
cd dsh
pnpm install --frozen-lockfile
pnpm run build
pnpm dsh webThe server prints its listening URL. For other launch modes and arguments, see the CLI reference. If setup fails, check the required runtime versions and the development guide before changing the lockfile.
| Start here | What it covers |
|---|---|
| Architecture | Plugin composition, the agent loop, and extension points |
| Package groups | How capabilities are divided across packages |
| Runnable examples | Example configurations and application entry points |
| Plugin development | Creating and composing your own plugin |
| TypeScript SDK / Python SDK | Integrating the harness into another application |
- Feel free to submit feedback or bug reports through GitHub Discussions.
- Add the
dsh-plugintopic to your plugin repository for discoverability. - Join DeepSeek Harness Discord community.
See CONTRIBUTING.md.
Start with the development guide and architecture documentation.
For agents, follow AGENTS.md.
Third-party dependencies and their licenses are disclosed in THIRD_PARTY_NOTICES.md.