DeepSeek Harness

August 28, 2026 · View on GitHub

English | 中文

DeepSeek Harness (dsh) is an open-source agent harness developed by DeepSeek AI.

It is built on an everything-is-a-plugin architecture and powered by Cordis, whose design is described in A Programming Paradigm for Spatiotemporal Composability.

Documentation: https://deepseek-harness.github.io/deepseek-harness/

Added on top of upstream — this repository adds two capabilities you won't find in stock DeepSeek Harness: a token-usage dashboard and session-attention reminders.

Added features

This repository adds two capabilities on top of the upstream DeepSeek Harness.

Token usage dashboard

@deepseek-ai/dsh-token-usage persists provider-reported usage for every model call into a SQLite-backed store and aggregates it into daily summaries per (provider, model) — tokens split into uncached input, cache read, cache write, and output, plus TTFT and wall-time averages. The built-in web dashboard (packages/bundle/token-usage-dashboard) surfaces these as cross-session statistics in the Web GUI. See the token-usage subsystem doc.

The token-usage dashboard: per-day cross-session statistics grouped by provider and model

Session attention reminders

When a background session awaits the user — a pending interaction (approval / plan review / question) or a finished AI reply not yet opened — a floating overlay (@deepseek-ai/dsh-client-ui-session-attention) appears in the top-right of the Web GUI. It tags the tab title (N) and plays one of four distinct Canvas2D animations keyed by the highest-priority attention kind, so you can tell at a glance what kind of reminder is owed. See the session-attention package.

The session-attention overlay announcing sessions awaiting the user

Developer preview

DeepSeek Harness is in developer preview and iterating rapidly. THERE WILL BE COMPATIBILITY-BREAKING CHANGES.

Review the safety notice before running the project.

Run

Run from npm

Install Node.js, then run:

npx @deepseek-ai/dsh web

The command starts the Web UI at http://127.0.0.1:3080 by default and opens it in the default browser for a local launch. An SSH launch only prints the host URL because the SSH client or editor owns the local forwarded address. Pass --no-open to run the server without opening a browser. See Web UI guide.

Run from source

To run from a repository checkout:

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

pnpm run build prepares the repository artifacts. pnpm dsh web uses those built artifacts without rebuilding.

Community and support

Contributing

See CONTRIBUTING.md.

Development

Start with the development guide and architecture documentation.

For agents, follow AGENTS.md.

License

MIT

Third-party dependencies and their licenses are disclosed in THIRD_PARTY_NOTICES.md.