> ## Documentation Index
> Fetch the complete documentation index at: https://docs.octen.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# DeepSeek Harness

> Use Octen as the web search and fetch provider in DeepSeek Harness.

For AI agents: [docs.octen.ai/integrations/deepseek-harness.md](https://docs.octen.ai/integrations/deepseek-harness.md)

The `@octen.ai/dsh-octen` plugin handles the built-in `web_search` and `web_fetch` tools.

> [card] [Get API Key](https://octen.ai/platform/api-keys)
>
> Create a key from the API Platform.

> [card] [npm](https://www.npmjs.com/package/@octen.ai/dsh-octen)
>
> The `@octen.ai/dsh-octen` package.

> [card] [GitHub](https://github.com/Octen-Team/dsh-octen)
>
> View the plugin source.

## Install

> [!NOTE]
>
> You'll need an Octen API key first. Create one from the [API Platform](https://octen.ai/platform/api-keys).

Requires DeepSeek Harness 0.2.0-rc.2 or later (below 0.3.0), Node.js 22.19 or later, and `pnpm` on your `PATH`. DeepSeek Harness 0.2.2 pre-releases need Node.js 24.9 or later. The `dsh` command that the desktop app installs brings its own pnpm.

**1. Add the plugin**

```bash theme={null}
dsh plugin --profile web add @octen.ai/dsh-octen
```

Plugins are installed per profile, and `dsh web` runs the `web` profile. For another profile, replace `web` with its name.

Without `dsh` on your `PATH`, run `npx @deepseek-ai/dsh plugin --profile web add @octen.ai/dsh-octen`.

**2. Set your API key**

Export the key in the environment that launches DeepSeek Harness:

```bash theme={null}
export OCTEN_API_KEY="your-api-key"
```

Or add `OCTEN_API_KEY=your-api-key` to `~/.dsh/.env`, which DeepSeek Harness reads at launch.

**3. Confirm the setup**

```bash theme={null}
dsh web --dump-config
```

Without `dsh` on your `PATH`, run `npx @deepseek-ai/dsh web --dump-config`.

In the output, the entry with `id: web` shows the Octen layer:

```yaml theme={null}
# == @deepseek-ai/dsh-base, patched by @octen.ai/dsh-octen
- id: web
  name: '@deepseek-ai/dsh-web'
  config:
    searchProvider: octen
    fetchProvider: octen
```

## Desktop App

Outside the app, only the `dsh` command that the desktop app installs can change its `desktop` profile. Install it from **DeepSeek Harness → Manage dsh Command… → Install** on macOS, or **Application → Manage dsh Command… → Install** on Windows.

**1. Set up the desktop profile**

Open the desktop app once so it sets up its profile, then quit it completely. Closing the window is not enough.

**2. Add the plugin**

In a new terminal, run:

```bash theme={null}
dsh plugin --profile desktop add @octen.ai/dsh-octen
```

**3. Set your API key**

Add `OCTEN_API_KEY=your-api-key` to `~/.dsh/.env`, which DeepSeek Harness reads at launch.

**4. Load the plugin**

Open the desktop app again.

## Tools

| Harness tool | Octen API | Returns |
| - | - | - |
| `web_search` | [Web Search](https://docs.octen.ai/api-reference/search.md) | Title, URL, a query-relevant highlight, and the publication time for each result |
| `web_fetch` | [Extract](https://docs.octen.ai/api-reference/extract.md) | The page's main content as Markdown, headed by its title |

***

Last modified on November 24, 2026


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.