2026-06-10 22:57:44 +08:00
# DeepSeek Harness
docs: bilingual docs contract, translation skill, and pairing gate
Establish EN->ZH bilingual documentation for the README and docs tree:
- docs/i18n/README.md — the pairing contract: sibling foo.md <-> foo.zh.md,
English canonical, blob-hash source fingerprints, language switchers,
scope/exclusions, and a manifest-driven rollout ratchet.
- docs/i18n/translation-rules.md — how to translate: faithfulness, structure
preservation, terminology discipline over docs/i18n/terminology.md, and
typography rules grounded in MDN/K8s/Vue/clreq conventions.
- .agents/skills/dsh-translate-docs — the committed agent workflow, following
the dsh-code-review pattern of deferring to docs as sources of truth.
- scripts/verify-translation-pairing.ts + manifest — a doc-sync gate: required
pairs exist; every existing .zh.md is fresh (fingerprint = current source
blob), switcher-linked, structure-matched, and non-orphaned; excluded
(generated) docs stay unpaired. --list prints the translation work list.
- RFC (implemented/process) recording the decision and the alternatives.
- Dogfood: README.zh.md and the two i18n docs translated under their own rules.
Gates: doc-sync green including the new gate; red/green proven for stale
fingerprint, orphan, and excluded-file violations.
2026-07-02 23:12:25 -07:00
English | [中文 ](README.zh.md )
2026-06-10 22:57:44 +08:00
2026-07-23 12:15:56 +08:00
DeepSeek Harness (`dsh` ) is an open-source coding agent built on the DeepSeek Harness SDK.
It uses an architecture where **everything is a plugin** .
2026-06-10 22:57:44 +08:00
2026-07-22 10:55:16 +08:00
## Install
2026-07-23 00:37:30 +08:00
Install `dsh` with one command:
2026-07-22 10:55:16 +08:00
```sh
curl -fsSL https://raw.githubusercontent.com/deepseek-harness/deepseek-harness/master/scripts/install.sh | sh
```
2026-07-23 00:37:30 +08:00
The installer requires `git` and Node `^22.19 || >=24` , offers to install `pnpm` when it is missing, and prompts for a DeepSeek API key.
2026-07-23 00:15:44 +08:00
The installer clones DeepSeek Harness to `~/.dsh/source` , links `dsh` into `~/.local/bin` , and launches it. Re-running the command updates the checkout. See [`scripts/install.sh` ](scripts/install.sh ) for alternate install locations and other options.
2026-07-22 10:55:16 +08:00
2026-07-23 00:15:44 +08:00
## Use DeepSeek Harness
### Web UI
For the recommended local interface, build the frontend after installation and after each update, then start the Web UI:
```sh
2026-07-23 16:37:56 +08:00
pnpm --dir ~/.dsh/source run build & & pnpm --dir ~/.dsh/source run build:web
2026-07-23 00:15:44 +08:00
dsh web
```
The Web UI is served at `http://127.0.0.1:3080` by default.
### TUI
Start the full-screen terminal interface:
```sh
dsh
```
### Headless
2026-06-10 22:57:44 +08:00
2026-07-23 00:15:44 +08:00
Run one task, print the final answer, and exit:
```sh
dsh -p "summarize this workspace"
```
## Why DeepSeek Harness
Built-in capabilities cover file reading, editing, and search; shell execution; reusable skills; task tracking; subagents and workflows; persistent sessions; and context compaction. The TUI also includes Plan Mode.
- **Everything is a plugin.** Models, tools, policies, storage, context management, and interfaces are composable [Cordis plugins ](docs/user/develop/basic/index.md ), so deployments can extend or replace behavior without forking the agent loop. See the [architecture ](docs/architecture.md ) for the underlying design.
2026-07-23 00:37:30 +08:00
- **Code Mode (opt-in).** It exposes a `run_code` tool and a generated TypeScript SDK; only program output re-enters model context. See [Code Mode ](packages/core/tools/README.md#code-mode ).
2026-07-23 00:15:44 +08:00
- **Self-referential Cordis tools are opt-in.** They let the agent inspect its live runtime and mount or unmount plugins while it runs. See the [Cordis tools ](packages/cordis/tool-cordis/README.md ).
## Community
Follow < a href = "https://x.com/Deepseekharness" > DeepSeek Harness on Twitter< / a > for project updates.
## Development
Document the architecture and rewrite AGENTS.md
docs/architecture.md: layering, service map, event taxonomy, the
session/turn/step lifecycle, Cordis waterfall semantics, an extension
cookbook, the plugin sanity checklist mapping every MVP feature to its
extension mechanism, and the deferred-work TODO list (sub-agents,
persistence backends, compaction, DeepSeek V4 adapter, parallel tool
execution, streaming-protocol review).
AGENTS.md: repo layout, commands, conventions (dsh-* naming, ESM,
effect-based registrations, declaration merging, waterfall semantics),
and the vendoring policy pointer.
2026-06-11 10:55:05 +08:00
```sh
2026-06-16 14:55:37 +08:00
pnpm install
2026-07-23 00:15:44 +08:00
pnpm run test:coverage
Document the architecture and rewrite AGENTS.md
docs/architecture.md: layering, service map, event taxonomy, the
session/turn/step lifecycle, Cordis waterfall semantics, an extension
cookbook, the plugin sanity checklist mapping every MVP feature to its
extension mechanism, and the deferred-work TODO list (sub-agents,
persistence backends, compaction, DeepSeek V4 adapter, parallel tool
execution, streaming-protocol review).
AGENTS.md: repo layout, commands, conventions (dsh-* naming, ESM,
effect-based registrations, declaration merging, waterfall semantics),
and the vendoring policy pointer.
2026-06-11 10:55:05 +08:00
```
2026-07-23 00:37:30 +08:00
Start with the [development guide ](docs/development.md ) and read the [architecture ](docs/architecture.md ) before changing packages.
For agents, follow [AGENTS.md ](AGENTS.md ).
2026-07-23 00:15:44 +08:00
DeepSeek Harness is currently pre-release.
## License
2026-06-14 10:47:32 +08:00
2026-07-23 00:15:44 +08:00
[BSD 3-Clause ](LICENSE )