How to run · Web UI guide · Download source (ZIP)
DeepSeek Harness runs a separate agent in a web interface, working with a project, tools and a chosen model. Use it to compare agent environments on one practice task or build a configurable workflow.
What it is useful for
For example, fix validation of an empty form field in a practice project and compare the result with Codex. Give both environments identical source files and a criterion: reject an empty value while preserving valid submission.
Harness is a standalone environment, not a Codex plugin or a model. Its architecture supports plugins, but the first trial needs none. The project is a developer preview with compatibility changes; use a disposable environment and practice files before connecting a production site or customer data.
How to prepare and launch it
The assistant first checks the OS, Node.js and existing processes. The reviewed source requires Node.js 22.19+ within version 22, or 24 and newer. Check the package version separately: during preparation, npm latest pointed to 0.2.0-rc.2 while master already contained later development. This pins the reviewed release for a repeatable trial:
npx @deepseek-ai/dsh@0.2.0-rc.2 web
The command downloads the package and starts a server. Run it only after reviewing dependencies and agreeing on changes, in the prepared environment from the practice folder. The default local address is http://127.0.0.1:3080; use the actual startup URL. If the port is occupied, do not stop an unrelated process. Do not expose the server publicly or add a tunnel for the trial.
The assistant opens Settings → Models and configures the agreed API provider. You handle login or key entry yourself when the interface requires a personal action. DeepSeek needs its key; other supported providers and custom endpoints are covered in model configuration. Check endpoint, protocol and model before providing a key. The reviewed Web UI does not support Codex OAuth login through that screen: do not substitute ChatGPT login data for an API key.
The assistant selects the practice folder through Choose workspace. A fresh interface cannot send a task until a workspace is selected. The launch directory, Harness data and selected workspace differ; the assistant finds the actual paths. An ordinary folder is not OS isolation. The project's launch guidance recommends a disposable environment with minimal access.
How to run a small comparison
- Codex prepares two identical practice copies and preserves the initial state. It finds the existing test command and defines the expected form behavior. Neither environment receives unnecessary keys, working accounts or other people's data.
- After you agree on model usage, the assistant runs the task independently in Harness and Codex. Keep permissions limited to the workspace with necessary approval; do not enable full access to fix an error. Each environment must show changed files and checks that actually ran.
- The assistant compares empty and valid submission, neighboring behavior, changed files, retries, time and usage. It checks an interface on desktop and mobile and records unavailable checks separately. A polished answer or an open Harness page does not prove the task works.
If the models differ, the result compares environment-plus-model combinations, not the shells alone. Do not automatically move a fix into the working project; inspect it and repeat checks first.
Where data goes and what to check
The model receives task context. API access and billing are separate from the Codex subscription; Harness's MIT license does not pay for requests. Plugins can add networking and executable code, so connect them only for a specific need.
Keys saved through Models live in .credentials.yaml under DSH_HOME; the UI returns a redacted descriptor rather than the literal value. Keep that file out of chat and Git. A new workspace does not clear the shared profile or saved sessions.
The reviewed release separately uploads session logs when using the official DeepSeek API. Before testing, inspect Settings → General → Upload Session Log when using the official model API. Turn it off before model requests if the log should not be sent. Re-enabling can upload accumulated events, so treat that as a separate decision.
Feedback-triggered OpenTelemetry delivery is separate from DeepSeek log upload. Current documentation specifies DSH_TELEMETRY_MODE=DISABLED to disable it; that does not disable the previous mechanism. Check both paths: logs can include message text, tool output and file paths. Use only dummy data and verify your version's settings for the comparison.
What you get and how to stop it
You get two outputs from identical source and a checkable comparison of quality, edits and usage. Continue with fixing a project bug or changing an existing website if the chosen fix should reach the main project.
Stop the trial's server with Ctrl+C in its terminal and verify its process and port are released. Closing the browser tab does not stop the server. Saved sessions, profiles, keys and practice files require separate review before deletion. Do not remove shared DSH_HOME data or revoke a key used by other apps without a separate decision.
Prompt for Codex
Paste into Codex to prepare the comparison:
Prepare and, after agreement, compare DeepSeek Harness and Codex on one small practice task. Find the project, rules, source files and a suitable check. If the task is unspecified, ask for the concrete result. Do not use production customer data or modify the main project without a decision.
Read https://github.com/deepseek-ai/deepseek-harness, SAFETY.md and the Web UI/model guides on its actual default branch. Check the published npm package, chosen release, Node.js requirements and differences from development. Prepare a disposable environment with limited files and permissions, explain installations and downloads, and wait for agreement. A new folder alone is not a sandbox.
Create identical practice copies and preserve the initial source. For Harness, check existing processes, a free port and the actual local URL without stopping unrelated services. Before entering a key, agree on provider, endpoint, protocol, model and usage. Do not switch accounts or use Codex authentication as an API key.
Check DeepSeek session-log upload and feedback telemetry separately and explain what they send. After agreement disable unnecessary delivery for the trial; one switch does not disable both paths. Do not expose the interface publicly, install extra plugins or enable full access for the test.
Select the practice workspace in the Web UI. Give both environments the same task and criteria. Check edited files, required and neighboring behavior, test commands and desktop/mobile UI. Compare results, retries, time and actual usage; state explicitly if models differ.
Show conclusions and unavailable checks. Stop only our server and verify its process and port. Preserve results; do not remove sessions, profiles, keys or source without separate confirmation. Keep secrets out of chat and Git.