Coding agent · DeepSeek Experimental
DeepSeek Harness
DeepSeek’s own agent harness for the terminal.
DeepSeek or DeepSeek Harness?
DeepSeek is a chat app. It answers from what you paste or upload, and you carry the result back into your project yourself. DeepSeek Harness is a coding agent: it works inside your project folder, reads the files it needs, makes the change, runs your tests or build and tells you what it did.
Install and sign in
- macOS
npm install -g @deepseek-ai/dsh- Linux
npm install -g @deepseek-ai/dsh- Windows
npm install -g @deepseek-ai/dsh
Sign in
Go to your project folder and run:
dshThe first run walks you through signing in. After that, the same command starts a session.
Run it once, without the chat screen
One-shot mode answers a single request and exits. It is how StoicSoft apps run DeepSeek Harness, and how you put it in a script.
dsh --profile headless -- "Explain how this project is organised"Pick up where you left off
Resume a past session with dsh --session-id <session-id>.
Choose a model
The model is chosen in DeepSeek Harness’s own settings.
Reasoning effort levels: off, minimal, low, medium, high, xhigh, max.
Permission levels
How much DeepSeek Harness may do without asking you. Start low; raise it once you trust it on this project.
| Level | What it means | Flag |
|---|---|---|
| Read only | Looks, answers, changes nothing. | --permission-mode read-only --approval-policy never |
| Edit files | Edits inside the project folder, asks before commands. | No verified flag |
| Edit and run commands | Edits and runs commands such as your tests. | --permission-mode workspace-write --approval-policy never |
| Full auto | No questions asked. Use in a throwaway folder or sandbox. | --permission-mode danger-full-access --approval-policy never |
“No verified flag” means the StoicSoft catalog has no tested command-line switch for that level. The agent may still offer it in its own settings; otherwise it asks you each time.
DeepSeek Harness in StoicSoft apps
No app lists DeepSeek Harness in its agent picker yet. It is in the shared catalog, so the apps can find it and plan a run.
Who checked these facts
Each record is a real run of DeepSeek Harness, by the app or test station that relies on it. It stays experimental until it has a recorded run on macOS, Windows and Linux.
| Checked by | DeepSeek Harness version | System | Date |
|---|---|---|---|
| StoicSoft test station | 0.2.2-rc.5 | macOS | 2026-11-30 |
| StoicSoft test station | 0.2.2-rc.5 | macOS | 2026-12-02 |
| StoicSoft test station | 0.2.2-rc.5 | macOS | 2026-12-04 |
Binary names: macOS: dsh · Linux: dsh · Windows: dsh.cmd, dsh.exe. Also known as @deepseek-ai/dsh, deepseek-harness.
DeepSeek Harness: common questions
- What is the difference between DeepSeek and DeepSeek Harness?
- DeepSeek is a chat app: it answers from what you paste, and you carry the result back into your project. DeepSeek Harness is a coding agent: it works in your project folder, edits the files and runs commands, then shows you what it changed.
- How do I install DeepSeek Harness?
- Run npm install -g @deepseek-ai/dsh in a terminal. Then type dsh in your project folder; the first run asks you to sign in.
- How do I run DeepSeek Harness without the interactive screen?
- Use its one-shot mode: dsh --profile headless -- "Explain how this project is organised". It prints the answer and exits, which is how StoicSoft apps and scripts run it.
- Which StoicSoft apps support DeepSeek Harness?
- No StoicSoft app offers it in its agent list yet; it is in the shared catalog so the apps can find and plan it.