# DeepSeek Harness: Start Your First Web UI Task

Once the DeepSeek Harness Web server is running, the first task is a sequence, not a single step: configure a model, select a workspace, then send a bounded request. Skip any one of those and the input box stays unusable — and the three failures look completely different from each other.

This post walks the sequence, shows what each step actually establishes, and separates the three things people usually confuse: a disabled composer, a model that cannot be reached, and a server that never started.

## DeepSeek Harness: what should be running first?

The [Web UI guide](https://deepseek-harness.github.io/deepseek-harness/en/guide/quickstart) begins after the server starts. The [repository README](https://github.com/deepseek-ai/deepseek-harness#run) says to install Node.js and run the following from the intended project directory:

```sh
npx @deepseek-ai/dsh web
```

By default the local server uses `http://127.0.0.1:3080` and opens the default browser. The command prints its URL. An SSH launch prints the host URL instead of opening a browser; the SSH client or editor owns the forwarded local address. `--no-open` suppresses automatic browser opening. Use the address printed for your installation rather than assuming every deployment uses the default.

The directory from which `dsh` starts is its default filesystem location. A fresh Web UI nevertheless starts without a selected workspace. Starting in the project directory and selecting the workspace are related but separate steps — and treating them as the same step is the first place people get stuck.

![Start the server, configure a model, select a workspace, and send a task](https://dsh-plugin.com/media/blog/start-my-first-task-in-the-web-ui/flow.en.webp align="center")

## DeepSeek Harness: how do I prepare the first session?

1. **Open the URL printed by the running server.** Keep the process running while using the UI.
2. **Open Settings → Models**, enter a DeepSeek API key and save. The guide says the model route becomes usable immediately; a server restart is not required for this change.
3. **Click Choose workspace**, add the project directory from which you started `dsh`, and select it. The session composer is unavailable until a workspace is selected.
4. **Start a session and send a bounded example:** "Summarize this repository and identify its main packages."
5. **Read the response and any tool activity.** If the active permission policy requires approval for an operation, the UI asks before it proceeds. Decide based on the actual requested action.

The first request is deliberately about understanding the repository. It gives the agent a concrete subject and a useful deliverable without assuming it will edit files.

| Step | Expected result | If it is missing |
| --- | --- | --- |
| Start server | A URL is printed | Inspect the startup output |
| Save model key | Model route becomes usable | Recheck the setting and key |
| Select workspace | Composer becomes available | Add and select the project directory |
| Send task | Agent begins the session | Check the selected workspace and model |
| Review approval | UI asks when policy requires it | Read the requested operation and policy |

That table is also a diagnostic order. Read it top to bottom and stop at the first row that does not hold — the rows below it cannot be the cause.

## DeepSeek Harness: what should the first request contain?

Give the agent the outcome you want, the relevant project area, and any constraints that matter to you. The example asks for a summary and main packages. For a larger repository, ask for the entry points or a specific package after reading the first answer.

A follow-up can request evidence from files so you can compare the summary with the project itself. That is worth doing once: it tells you whether the agent is reading the workspace or producing a plausible general description of a repository with that name.

The guide's example is a prompt sent in the session, not a terminal command. You need not know an internal tool name to ask the agent to inspect the workspace. If the agent proposes a command or file change, read its actual action before deciding whether to approve it. A useful first session teaches you both the repository and how the application displays work.

## DeepSeek Harness: what if the UI or composer is unavailable?

Three different failures get described here, and they happen at three different stages.

**The browser does not open.** Use the printed URL. The README documents that behavior for SSH and `--no-open`.

**The composer is disabled in a fresh UI.** Select the workspace, as above. This is a UI workflow requirement, not a model problem — and an unavailable input box is not, by itself, evidence that the model key is invalid.

**A model request cannot proceed.** Verify the saved model configuration. The quickstart documents saving the key but does not provide a universal diagnosis for every provider error. The [model configuration guide](https://dsh-plugin.com/blog/configure-models-providers) covers additional providers.

**Startup fails before a URL is printed.** Preserve the terminal error. Required plugin activation failures can produce a full report; [the startup diagnostics guide](https://dsh-plugin.com/blog/find-the-full-diagnostics-log-when-startup-fails) explains where to find it and its limits.

Capture the stage and the exact message before changing settings. A disabled composer, a model error, and a server startup failure cannot substitute for one another, so guessing which one you have is how the wrong setting gets changed.

### Separate the local and source launch paths

The README also documents a source checkout workflow: clone the repository, install dependencies, run `pnpm run build`, and start with `pnpm dsh web`.

The build prepares artifacts; the source launch uses those artifacts without rebuilding them. This is a different setup from the npm example, so choose the path that matches your installation. In either case, wait for the printed address before beginning the UI steps. If you are connecting through SSH, distinguish the server's printed host address from the forwarded address owned by your client.

The guide does not require a restart after saving the key, but it does require selecting a workspace before the composer becomes available. Check those conditions separately.

## DeepSeek Harness: what are the limits and safety boundaries?

Selecting a workspace is a necessary UI step, not a guarantee that every operation is safe.

The agent may read and edit files and run commands, subject to the tools and policy in the deployment. Review any approval request and the task's possible effects.

Do not paste API keys or private data into the conversation when the model settings are the intended place for the key.

A local default URL does not by itself describe a secure public deployment; use the project's deployment guidance for that separate situation.

## DeepSeek Harness: what do the terms mean?

- **Web server**: the process serving the browser interface and printing its access URL.
- **Model route**: the configured path used to send model requests.
- **Workspace**: the selected project directory associated with the session.
- **Composer**: the input used to send a session message; it requires a selected workspace.
- **Permission policy**: the active rules that determine whether an operation requires approval.
