Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

DeepSeek Harness First Use

DeepSeek Harness First Use (Web UI)

This chapter starts by launching the Web UI, then configuring the model, selecting a workspace and doing the first file analysis.

Desktop users can read directlyDesktop Hands-on, without running the launch commands in this chapter.

1. Launch Web UI

First confirm Node.js 24.9 or later, then start with either of these methods:

node -v

npx @deepseek-ai/dsh@latest web

You can also install globally and then start:

npm install -g @deepseek-ai/dsh

dsh web

Keep the terminal process running and open the access address it prints. The default is usually http://127.0.0.1:3080. If the port is in use:

dsh web --port 8080

# or let the system choose a free port

dsh web --port 0

If a preview notice appears on first visit, read it and continue.

Then click the login button in the lower right to sign in to DeepSeek and you can start using it:

The page opening only means the local service started successfully:


2. Configure the Model

For normal use, you now only need to sign in to your DeepSeek account; if you need to configure a third-party model you can set the corresponding API key.

You can also set your own API key: open Settings → Models, fill in and save your own API key in the DeepSeek card. Application entry:DeepSeek API Platform。

Third-party models can be configured via the Add Model Provider button; for third-party services and custom APIs seeModel Configuration。

Model settings entry, screenshot from desktop version 0.2.1-rc.3, shared model configuration interface


3. Add and Select a Workspace

Create a demo directory in the terminal and put README.md in it:

mkdir -p ~/runoob-harness-demo

printf '# RUNOOB Demo\n这是一个 Harness 测试项目。\n' > ~/runoob-harness-demo/README.md

Click Select Workspace, then add and select this directory.

A fresh Web UI does not automatically select a workspace; the directory where dsh was launched is only the default filesystem location.

If the browser and server are not on the same computer, the workspace path points to the server filesystem where dsh runs.


4. Select Preset, Model and Access Mode

Option First-use Recommendation Purpose
Agent Preset Standard Mode Decides which tools and capabilities the session combines
Model Select an available model from configured providers Decides the model that actually handles requests
Access Mode Check current permissions and do read-only tasks first Decides sandbox and approval policy; independent of the Agent preset

Mode descriptions:

When starting out, just get Standard mode working; switching presets does not change file permissions.

Permission descriptions:


5. Send the First Task

请读取当前工作区的 README.md,概括项目用途。

这次只读取,不创建、修改或删除文件。

请说明实际读取了哪个文件。

Check whether README.md appears in the tool record and whether the final answer matches the file content. The read-only requirement in the prompt is a task constraint; the technical write boundary is still determined by the current permission policy.


Troubleshooting and Completion Checklist

Symptom Check first
Page won't open Is the terminal process still running; does the access port match the output
Cannot send messages Is a workspace and a valid model selected
401 or missing credentials Does the key belong to the current provider; are the API address and protocol correct
Waiting for approval Expand the request, check the command, target path and reason, then decide whether to allow
File content doesn't match Is the session's actual workspace wrong; check the path the tool read

Completion criteria: Web UI opens, workspace selected, model replies, tool actually read README.md.