DeepSeek Harness: What It Does and How to Start

Start DeepSeek’s coding agent in a terminal or desktop app. See which models it runs, what leaves your machine and how to switch off session-log uploads.

Published

DeepSeek Harness: What It Does and How to Start

DeepSeek Harness lets a DeepSeek model work directly in a project folder, from finding the code behind a feature to running its tests. DeepSeek AI released the open-source framework in developer preview in August 2026. Before opening a private repository, check the session-log setting. By default, Harness can send DeepSeek a record of what the agent read and did.

What DeepSeek Harness does in a repository

Ask where a project defines its navigation, and Harness can look for the answer in the project itself. DeepSeek’s demo shows the agent listing the workspace files, searching for NAVIGATION and reading the README. You can inspect which tools it called and what they returned. That matters when a plausible answer about your code turns out to describe a file the agent never opened.

DeepSeek’s product page showing a workspace task and the agent’s tool calls
DeepSeek Harness

The model decides what to try next. The harness is the workbench around it. It makes tools available, carries their results into the conversation and applies the permission rules when a tool needs approval. In DeepSeek’s implementation those pieces are plugins. A developer can use the supplied workbench to edit a file or run tests, or change the tools available for a particular workflow. That distinction also matters when choosing an open-source AI agent.

DeepSeek’s release-day README already documented the terminal-launched web interface on August 13. The August 17 release candidate followed. DeepSeek also distributes a native desktop app, verified against its downloads page on December 6, 2026. These dates describe the agent software. The DeepSeek V4 model guide covers the models behind it.

What leaves your machine by default?

When you use DeepSeek’s hosted API, it receives the input needed to answer, which can include file contents returned by a tool. Harness also enables a field called dsh_session_log by default. On eligible requests to DeepSeek’s domain or its subdomains, it attaches the next batch of session events the server hasn't yet acknowledged. Those records can contain messages, tool arguments, results and workspace paths. A read-only task can still put the contents of a file into a request.

A workspace sends model input and a separately switchable session log to the API
Closing the session-log route still leaves the ordinary model request.

To turn off the extra log in the web interface, open Settings → General → Data management and switch off Upload session log when using the official model API. To apply the same preference across profiles, add this entry to the home-level $DSH_HOME/cordis.patch.yml. It targets the session-log entry in DeepSeek’s base configuration.

YAML
- id: session-log-deepseek
  config:
    enabled: false

The change applies to the next request. A request already prepared can still carry its log. Turning upload back on can send events recorded while it was off. Think of the switch as pausing delivery. The session keeps its place at the last accepted event. DeepSeek’s session-log reference

A roll of session events divided into accepted and pending records, with pending records clipped for the next request
When delivery resumes, the pending part of the record can travel with later requests.

Two other controls matter for private work. Giving explicit feedback, such as a message rating, can separately release session history through that point. Set DSH_TELEMETRY_MODE=DISABLED in the launch environment to disable feedback-based session delivery. Desktop also reports selected app interactions by default under its own product analytics setting. Ordinary web clients skip those desktop events. If your repository has a rule against sending source code to hosted models, the workplace guide to DeepSeek data handling is a better starting point than either switch.

Start the DeepSeek Harness CLI or desktop app

For a first session, the browser route lets you choose the project folder and check the settings before you send a prompt. The command-line interface, or CLI, starts the local app. You can also use it to run a single task entirely from the terminal.

  1. Open the workspace interface

    Install Node.js, open a terminal in a disposable copy of a project, and run the command below. It opens the local web interface at http://127.0.0.1:3080 by default.

    Shell
    npx @deepseek-ai/dsh web

    Prefer an app window? DeepSeek’s desktop downloads include Apple silicon Macs running macOS 13 or later and 64-bit Windows. Desktop offers Set up later if you want to open the workspace before entering an API key.

  2. Choose the provider and the folder

    For the API-key route, open Settings → Models, enter your DeepSeek API key and save. Check the log setting, then click Choose workspace, add the project directory and select it. Opening the browser alone leaves the workspace unselected.

  3. Give the agent a question you can verify

    The official quickstart suggests “Summarize this repository and identify its main packages.” Compare the package names with your project files. If the summary names a package that has no directory or manifest, ask which file supports the claim before letting the agent edit anything.

For a shell script, the headless CLI profile takes a task, prints the answer and exits. With model credentials available to that profile, DeepSeek’s example can be launched through npm.

Shell
npx @deepseek-ai/dsh --profile headless "run the tests"

Which models does it run?

The web app defaults to deepseek-flash. On December 6, DeepSeek’s API model list maps that name to DeepSeek-V4.1-Flash-1017 and also offers deepseek-v4-pro. A signed-in DeepSeek account gets its model list from the account service. With your own provider credentials, you can also select providers including Anthropic and OpenAI or add a custom OpenAI-compatible endpoint. The model configuration guide describes each route.

Choose the model before comparing results on a task. Changing the picker sets the default for new sessions. A session that has already sent a request keeps its recorded model.

Harness is MIT-licensed. On the paid DeepSeek API, off-peak Flash costs $0.15 per million uncached input tokens and $0.60 per million output tokens. Official API rates · DeepSeek pricing guide

How does it compare with Claude Code and Codex?

All three can work on a repository. The choice turns on what you want to do after opening it.

Agent and makerWhere to startA reason to choose it
DeepSeek Harness, DeepSeek AILaunch dsh web or open Desktop.Change the model provider or the tools in the agent itself.
Claude Code, AnthropicRun claude in the terminal, or use an IDE extension.Work across files and run commands from the editor or terminal you already use.
Codex, OpenAIRun codex in a project directory and choose a sign-in method.Ask for a review of uncommitted changes. The dedicated review reports findings while leaving the working tree intact.

Claude Code also has desktop and web interfaces. For a developer already editing in an IDE, an integrated agent may save more work than maintaining a custom set of plugins.

Anthropic’s Claude Code documentation with its terminal and editor setup options
Claude Code

Codex’s review workflow fits a different moment, when the patch already exists and you want another read before committing. The Grok Build, Claude Code and Codex comparison covers that broader choice.

OpenAI’s Codex CLI documentation showing its terminal workflow
Codex

Who should try the preview?

Try Harness if you want to inspect which tools an agent uses or adapt them to a project of your own. Start with a disposable repository and a question whose answer you know. Before you let the agent change a file, look at its tool results and the approval it requests under your chosen policy.

If your team needs an audited execution environment, keep the preview away from production credentials. DeepSeek’s safety notice says the project has yet to undergo a security audit and recommends an isolated environment with limited privileges. If all you need is a model to answer a question about a pasted function, a coding agent with shell access adds little.

If you're choosing the agent your team will use every day, compare Codex alternatives by the work you need them to do.

Published
Category
Build

Related Articles

SiteDrop AI: What It Is, What It Costs and How to Start

SiteDrop AI: What It Is, What It Costs and How to Start

Which SiteDrop did you see? Compare the two addresses, see how a shop listing becomes a website, and find out who keeps the files and domain.BuildDec 6
Tinsel Alpha: What It Is and How to Use It in a Coding Agent

Tinsel Alpha: What It Is and How to Use It in a Coding Agent

See where Tinsel Alpha fits in a coding agent, how to call it through Vercel AI Gateway, and which client code to keep off the stealth preview.BuildDec 6
Gemini Implicit Caching

Gemini Implicit Caching

Put shared input first, read cached tokens on each Gemini 4 response, and see how durable storage differs for projects with approved zero data retention.BuildDec 5
Claude Terraform Provider

Claude Terraform Provider

Create one Claude workspace per client, review agent changes before applying them, and see which resources AWS, Google Cloud and Bedrock support.BuildDec 5
Codex CLI Cloud

Codex CLI Cloud

Start and reopen Codex cloud chats from the terminal, choose a project environment, and review local and cloud tasks in the Agent Command Center.BuildDec 5
GPT-Live API: Build a Voice App With WebRTC, a Sideband and Delegation

GPT-Live API: Build a Voice App With WebRTC, a Sideband and Delegation

Build a voice app on the GPT-Live API: open a WebRTC session, attach a sideband, delegate to a backend, keep state, test it and price each call.BuildDec 5
AI SDK 7.1 for TypeScript agents: what to adopt first

AI SDK 7.1 for TypeScript agents: what to adopt first

Which AI SDK 7.1 features belong in your agent? Start with tool ordering and steering, check your 7.0 patch, then choose batch, audio or durable execution.BuildDec 5
Codex Models by Surface and Task

Codex Models by Surface and Task

Choose a Codex model for your task and plan, see where GPT-5.6 threads go, and set a default or a one-run CLI override.BuildDec 5
Newsletter

One letter, every Sunday.Working systems, not hot takes.

Weekly. No spam. Unsubscribe anytime.