English | 中文
Your project. Your next move.
Inspect a codebase, make changes, and work through test failures from your terminal. Install once, open a project, and type dsh.
This independent fork of DeepSeek Harness pairs a native Rust + Ratatui interface with the existing Node.js agent engine. Tools and persisted sessions stay in the harness; your workspace stays in the terminal.
Quick start · Daily workflow · Screenshots · CLI reference · Report an issue
Recorded from the real dsh --demo interface. Messages and tool results are sample data; no model request is made. Prefer a still image? Open the conversation screenshot.
| Stay focused | Stay in control |
|---|---|
| Streaming conversation — follow answers as they arrive, with code blocks and a scrollable transcript. | Visible tool activity — inspect tool arguments, results, and failures with Ctrl+T. |
| A proper composer — multiline input, Unicode, bracketed paste, and prompt history. | Explicit approvals — dedicated permission prompts; Enter rejects a request. |
Commands within reach — type /, select with arrow keys, and complete with Tab. |
Sessions you can resume — use /session to get the current id and resume command. |
You need Rust 1.88+ with Cargo, Node.js ^22.19 or >=24, and pnpm (the version is pinned in package.json). The shell installer supports Linux and macOS; see the installation reference for Windows and custom paths.
Build and install this fork:
git clone https://github.com/Liohtml/deepseek-harness-cli.git
cd deepseek-harness-cli
pnpm install
pnpm run build
./install.sh
export PATH="$HOME/.local/bin:$PATH"Open your project and start a session:
cd /path/to/your/project
dshInside dsh, run /login to enter your API key in a masked field, then /model to choose a model. Use /check for a short API connection test (normal charges apply). The key is stored in the private DSH credential file; see the storage and security details. You can also use DEEPSEEK_API_KEY from your environment or project's .env. Keep the built checkout: the installed executable uses its Node.js runtime. Add the install directory to your shell's PATH configuration for future terminals. The installation reference covers runtime paths and selecting the right dsh when multiple versions are installed.
Want to explore the interface first? After installation, run dsh --demo without an API key. Press 1 for the welcome screen, 2 for a sample conversation, 3 for a permission prompt, and Esc to exit.
dsh # Work in the current project
dsh --cwd /path/to/project # Open another project
dsh --resume session-… # Continue a saved session
dsh headless "Run tests and summarize failures" # One task, then exitStart with a concrete task:
Explain how this project is organized and where requests enter the system.
Find the cause of the failing tests, make a focused fix, and run the relevant checks.
Review my uncommitted changes for bugs and missing error handling.
Use /session to find your resume command and /exit to close the session. Resume from the same project directory. For scripts and pipes, select headless explicitly; the interactive interface needs a real terminal.
| Key | What it does |
|---|---|
| Enter | Send a message or answer |
Ctrl+P or / |
Browse commands; ↑ / ↓ select, Enter runs |
| Alt+Enter / Ctrl+J | Add a newline |
| ↑ / ↓ | Browse prompt history |
| PgUp / PgDn | Scroll the conversation |
| Ctrl+T | Expand or collapse tool details |
| F1 / F2 | Open keyboard help / runtime diagnostics |
| Ctrl+C | Stop the current turn; exit when idle |
| Ctrl+D | Close the session |
See the complete terminal reference for commands, permissions, and input behavior.
The images below come from the same offline demo as the GIF. Click an image to view it at full resolution.
This fork is in developer preview. Interfaces and compatibility may change. Read the safety notice before running an agent in your projects.
The frontend is native Rust; running the agent still requires Node.js and the built checkout. The upstream npm package does not include this fork's terminal interface. For startup problems, open diagnostics with F2 and consult build and runtime troubleshooting.
Use the Web UI or the Node.js frontend
From this built checkout, pnpm dsh opens the plain Node.js terminal frontend; pnpm dsh web starts the Web UI without rebuilding. With the Rust executable installed, dsh web also forwards to the web profile.
To try the upstream Web UI through npm:
npx @deepseek-ai/dsh webIt serves http://127.0.0.1:3080 by default and opens a browser on local launch. SSH launches print the URL; your SSH client or editor handles port forwarding. Pass --no-open to suppress browser launch. See the Web UI guide.
- This CLI: bug reports and feature requests.
- Upstream harness: Discussions and Discord.
- Plugins: add the
dsh-plugintopic to help others discover your extension.
Start with CONTRIBUTING.md, the development guide, and the native frontend guide. Agents should read AGENTS.md. README media can be regenerated with the capture script.
DeepSeek AI develops the upstream harness. Its everything-is-a-plugin architecture is powered by Cordis, described in A Programming Paradigm for Spatiotemporal Composability. Explore the architecture and upstream documentation for the underlying engine.
Cite the upstream project
@misc{deepseek-harness2026,
title={DeepSeek Harness: Everything is a Plugin},
author={DeepSeek-AI},
year={2026},
publisher={GitHub},
howpublished={\url{https://github.com/deepseek-ai/deepseek-harness}},
}MIT. See third-party notices for dependency licenses.



