Harness: DeepSeek Harness
Agents on DeepSeek Harness: running dsh --profile headless without a person, with a file sandbox in the project folder and the model set by a profile patch; a sensor that the CLI exists.
Harness: DeepSeek Harness
DeepSeek Harness is an agent CLI (dsh) built from the deepseek-harness source. Without a person it works through the headless profile: one task, the answer to stdout, exit.
How to install. From source: pnpm install in the deepseek-harness repository, and a link to dsh in PATH. The DeepSeek key (or another provider's) is in the dsh settings. The package does not read keys.
Models. In the form provider/model: deepseek-official/deepseek-flash (the default in the package and in the profile). The model is passed by a profile patch for the record agent-default-model; if another model choice is saved in the dsh settings, it may override the patch.
Command.
DSH_PERMISSION_MODE=workspace-write dsh --profile headless --patch <temporary model.patch.yml> - < prompt
Rights.
- A file sandbox:
workspace-writemeans writing only in the working folder;read-onlywithaccess: read. The root is the working folder of the run. - Whatever needs approval is refused in
headless: there is nobody to answer. - dsh does not turn the network off: the sandbox limits only files.
network: falsecannot be held; the "warning" line in the dry run says so. - The effort (
effort) is not passed on the command line.
Sensor version: dsh --version. If there is no CLI, a warning; the check does not fail.