Skip to content

HarnessRouter Community Edition: the self-hosted, Apache-2.0 edition of the unified interface for agent harnesses. Run Codex, Claude Code, Hermes, PI, DSH, and more through one API, with sessions, streaming, files, cancellation, and failure handling. Implements the Unified Harness Protocol (UHP), an open standard. Your keys, your infrastructure.

docs: refine README onboarding and visual walkthroughs (#152)

github-actions[bot]42fcd9c22a9b
diff --git a/README.md b/README.md
index 24eaa396..ebf39ee0 100644
--- a/README.md
+++ b/README.md
@@ -1,78 +1,81 @@
-<div align="center">
+<p align="center"><strong>The world’s first unified interface for agent harnesses.</strong></p>
+
+<p align="center">
<a href="https://harnessrouter.ai/open-source">
<picture>
<source media="(prefers-color-scheme: dark)" srcset=".github/images/logo-dark.png">
- <source media="(prefers-color-scheme: light)" srcset=".github/images/logo-light.png">
- <img alt="HarnessRouter" src=".github/images/logo-light.png" width="42%">
+ <img alt="HarnessRouter" src=".github/images/logo-light.png" width="320">
</picture>
</a>
-</div>
+</p>
+
+<h1 align="center">Build agent products without handling harness engineering.</h1>
-<div align="center">
- <strong>The world’s first unified interface for agent harnesses.</strong>
- <h3>Bring the world’s best agent harnesses into your product with one API.</h3>
- <p>
- Run Codex, Claude Code, Hermes, DeepSeek Harness, and a growing set of supported harnesses on
- infrastructure you control. Add or switch harnesses without redesigning your product backend.
- </p>
-</div>
+<p align="center">
+ Plug Codex, Claude Code, Hermes, DeepSeek Harness, and more into your product as agent backends.<br>
+ <strong>One API for them all.</strong>
+</p>
-<div align="center">
+<p align="center">
+ <a href="https://github.com/HarnessRouter/harnessrouter"><img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.github.com%2Frepos%2FHarnessRouter%2Fharnessrouter&amp;query=%24.stargazers_count&amp;label=Stars&amp;logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBmaWxsPSIjZTNiMzQxIiBkPSJNOCAuMjVhLjc1Ljc1IDAgMCAxIC42NzMuNDE4bDEuODgyIDMuODE1IDQuMjEuNjEyYS43NS43NSAwIDAgMSAuNDE2IDEuMjc5bC0zLjA0NiAyLjk3LjcxOSA0LjE5MmEuNzUuNzUgMCAwIDEtMS4wODguNzkxTDggMTIuMzQ3bC0zLjc2NiAxLjk4YS43NS43NSAwIDAgMS0xLjA4OC0uNzlsLjcyLTQuMTk0TC44MTggNi4zNzRhLjc1Ljc1IDAgMCAxIC40MTYtMS4yOGw0LjIxLS42MTFMNy4zMjcuNjY4QS43NS43NSAwIDAgMSA4IC4yNVoiLz48L3N2Zz4%3D&amp;color=e3b341&amp;style=flat&amp;cacheSeconds=300&amp;labelColor=444c56" alt="GitHub Stars, exact count" title="Dynamic GitHub star count. The badge service may cache updates."></a>
+ <a href="LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-285AFF?logo=apache&amp;logoColor=white&amp;style=flat&amp;labelColor=444c56" alt="License: Apache 2.0"></a>
+ <a href="https://hub.docker.com/r/harnessrouter/harnessrouter"><img src="https://img.shields.io/docker/pulls/harnessrouter/harnessrouter?style=flat&amp;logo=docker&amp;logoColor=white&amp;label=Docker+pulls&amp;labelColor=444c56&amp;color=285aff" alt="Docker pulls"></a>
+ <a href="protocol/conformance"><img src="https://img.shields.io/badge/UHP-Full-16824B?style=flat&amp;labelColor=444c56" alt="UHP conformance: Full"></a>
+</p>
-[![GitHub Stars](https://img.shields.io/github/stars/HarnessRouter/harnessrouter?style=flat&logo=github&logoColor=white&label=Stars)](https://github.com/HarnessRouter/harnessrouter)
-[![License](https://img.shields.io/badge/License-Apache%202.0-2F81F7?logo=apache&logoColor=white)](./LICENSE)
-[![Docker Pulls](https://img.shields.io/docker/pulls/harnessrouter/harnessrouter?style=flat&logo=docker&logoColor=white&label=Docker%20pulls)](https://hub.docker.com/r/harnessrouter/harnessrouter)
-[![UHP Conformance](https://img.shields.io/badge/UHP-Full-1F883D)](protocol/conformance/)
+<p align="center">
+ <a href="https://discord.gg/nPcbwqVPb2"><img src="https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&amp;logoColor=white&amp;style=flat&amp;labelColor=444c56" alt="Discord: Join"></a>
+ <a href="https://linkedin.com/company/harnessrouter/"><img src="https://img.shields.io/badge/LinkedIn-Follow-0A66C2?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI%2BPHBhdGggZmlsbD0iI2ZmZiIgZD0iTTIwLjQ1IDIwLjQ1aC0zLjU2di01LjU3YzAtMS4zMy0uMDMtMy4wNC0xLjg1LTMuMDQtMS44NSAwLTIuMTQgMS40NS0yLjE0IDIuOTR2NS42N0g5LjM0VjloMy40MnYxLjU2aC4wNWMuNDgtLjkgMS42NC0xLjg1IDMuMzctMS44NSAzLjYgMCA0LjI3IDIuMzcgNC4yNyA1LjQ2djYuMjhaTTUuMzIgNy40M2EyLjA3IDIuMDcgMCAxIDEgMC00LjE0IDIuMDcgMi4wNyAwIDAgMSAwIDQuMTRaTTcuMSAyMC40NUgzLjU0VjlINy4xdjExLjQ1WiIvPjwvc3ZnPg%3D%3D&amp;style=flat&amp;labelColor=444c56" alt="LinkedIn: Follow"></a>
+ <a href="https://x.com/HARNESSROUTER"><img src="https://img.shields.io/badge/X-Follow-000000?logo=x&amp;logoColor=white&amp;style=flat&amp;labelColor=444c56" alt="X: Follow"></a>
+</p>
-</div>
+<p align="center">
+ <a href="#quickstart">Quickstart</a> · <a href="#use-the-api-directly">API</a> · <a href="#starter-kits">Starter kits</a> · <a href="#local-to-cloud">Cloud</a>
+</p>
-<div align="center">
+<a id="what-it-is"></a>
-[![Discord](https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&logoColor=white)](https://discord.gg/nPcbwqVPb2)
-[![LinkedIn](https://img.shields.io/badge/LinkedIn-Follow-0A66C2?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTIwLjQ1IDIwLjQ1aC0zLjU2di01LjU3YzAtMS4zMy0uMDMtMy4wNC0xLjg1LTMuMDQtMS44NSAwLTIuMTQgMS40NS0yLjE0IDIuOTR2NS42N0g5LjM0VjloMy40MnYxLjU2aC4wNWMuNDgtLjkgMS42NC0xLjg1IDMuMzctMS44NSAzLjYgMCA0LjI3IDIuMzcgNC4yNyA1LjQ2djYuMjhaTTUuMzIgNy40M2EyLjA3IDIuMDcgMCAxIDEgMC00LjE0IDIuMDcgMi4wNyAwIDAgMSAwIDQuMTRaTTcuMSAyMC40NUgzLjU0VjlINy4xdjExLjQ1WiIvPjwvc3ZnPg==)](https://linkedin.com/company/harnessrouter/)
-[![X](https://img.shields.io/badge/X-Follow-000000?logo=x&logoColor=white)](https://x.com/HARNESSROUTER)
+<a id="one-integration"></a>
-</div>
+## N × M harness integrations → 1 unified interface.
-![N × M harness integrations → 1 unified interface](docs/images/harnessrouter-one-agent-api-live-comparison.gif)
+N harnesses × M integration responsibilities. Connect your product once; HarnessRouter handles the harness-specific differences.
-HarnessRouter Community Edition gives your product one consistent, OpenAI Responses-compatible
-interface for running supported agent harnesses. It handles tasks and runs, sessions, streaming,
-files, artifacts, cancellation, recovery, structured errors, and traces, so your product does not
-need a separate backend integration for every harness.
+![Animated illustration: compare four generic harnesses and 4 × 9 = 36 repeated responsibilities with one HarnessRouter product integration. Add a fifth harness in With while product integration stays one, then return to Without to see 5 × 9 = 45. With names Codex, Claude Code, Hermes, Pi, and DeepSeek Harness.](docs/images/2026-09-10-harnessrouter-integration-comparison-v4.gif)
-### One interface. The freedom to choose.
+<a id="one-interface-the-freedom-to-choose"></a>
-<a href="https://harnessrouter.ai/benchmarks" title="Across many tasks, we have seen cost savings above 90%. In some cases, lower-cost configurations were also faster.">
- <img src="docs/images/benchmark-summary.svg" width="100%" alt="One recorded task, eight Harness × Model configurations. Save 99.8%: cost 0.47–223 credits; latency 1m 25s–4m 36s. Cost and latency vary by task. See the benchmark.">
+## Compare and switch harnesses. Optimize cost and latency.
+
+<a href="https://harnessrouter.ai/benchmarks" title="In many cases, we’ve seen over 90% cost savings. Lower cost doesn’t always mean slower runs.">
+ <picture>
+ <source media="(max-width: 600px)" srcset="docs/images/benchmark-summary-mobile.svg">
+ <img src="docs/images/benchmark-summary.svg" width="100%" alt="One recorded task, eight Harness × Model configurations. Save 99.8%, lowest vs. highest cost: 0.47–223 credits. 3.2× faster, fastest vs. slowest run: 1m 25s–4m 36s end to end. Cost and latency vary by task. See the benchmark.">
+ </picture>
</a>
-<div align="center">
- <a href="https://github.com/HarnessRouter/harnessrouter">
- <picture>
- <source media="(max-width: 760px)" srcset="docs/images/github-readme-star-cta-mobile.svg">
- <img src="docs/images/github-readme-star-cta-desktop.svg" width="100%" loading="lazy" alt="Help us reach more developers and grow the HarnessRouter community. Star this repo!">
- </picture>
- </a>
-</div>
+<a href="https://github.com/HarnessRouter/harnessrouter">
+ <picture>
+ <source media="(max-width: 600px)" srcset="docs/images/github-readme-star-cta-mobile.svg">
+ <img src="docs/images/github-readme-star-cta-desktop.svg" width="100%" alt="Help grow the HarnessRouter community. Star this repo →">
+ </picture>
+</a>
-**Open source and self-hosted.** Community Edition is the Apache 2.0 reference implementation of
-[Unified Harness Protocol (UHP)](https://unifiedharnessprotocol.org). It packages the Console, Gateway, and Runner in one
-Docker deployment, with provider keys, state, and files on infrastructure you control.
+**Open source and self-hosted.** Community Edition is the Apache 2.0 reference implementation of the [Unified Harness Protocol (UHP)](https://unifiedharnessprotocol.org). Run the Console, Gateway, and Runner in one Docker deployment on infrastructure you control.
+
+[Run locally →](#quickstart) · [Prefer managed execution? Explore Cloud →](https://harnessrouter.ai)
+
+<a id="install"></a>
## Quickstart
-Start HarnessRouter with one Docker command. On the first launch, HarnessRouter installs the
-supported harness CLIs you enable, so wait until the logs show `ready on :3000`. Then open the
-console, connect a model provider, and run your first task.
+Start with one Docker command, wait for the first launch, then connect a model provider and run your first task.
-### What you need
+<a id="what-you-need"></a>
-- Docker
-- About 4 GB of disk space
-- An API key from a supported model provider
+**You need:** Docker · About **4 GB** of disk · A **provider API key**
-No HarnessRouter account is required for Community Edition.
+No HarnessRouter account required. No bundled model or trial key.
### 1. Start HarnessRouter
@@ -83,15 +86,20 @@ docker run -d --name harnessrouter \
harnessrouter/harnessrouter
```
-Docker pulls the image automatically if it is not already present. The named volume keeps your
-database, files, installed harness CLIs, and workspaces between restarts.
+Docker pulls the image if needed. The named volume preserves your database, files, installed harness CLIs, and workspaces between restarts.
+
+<details>
+<summary>Existing installation or custom setup</summary>
+
+**Already installed?** `docker pull harnessrouter/harnessrouter` downloads the latest image but does not upgrade a running container. Follow the [upgrade and backup guide](docs/self-hosting-guide.md#restarts-upgrades-and-backups).
+
+**Port 3000 busy?** Use `-p 127.0.0.1:3100:3000` and open port 3100 instead. Keep the loopback binding while using the initial credentials.
-If port 3000 is busy, use `-p 127.0.0.1:3100:3000` and open port 3100 instead. Keep the
-loopback binding while using the initial credentials. Do not add `--user`: the container starts
-as root to establish per-session users, then runs the product and agents without root privileges.
+**Do not add `--user`.** The entrypoint and Runner need root to manage per-session users. The Console and Gateway run unprivileged; agent processes run as their session’s user.
-For version pinning, Docker Compose, and scripted setup, see the
-[setup and operations guide](docs/self-hosting-guide.md#install).
+For version pinning, Compose, and scripted setup, see the [setup guide](docs/self-hosting-guide.md#install).
+
+</details>
### 2. Wait for the first launch
@@ -99,25 +107,29 @@ For version pinning, Docker Compose, and scripted setup, see the
docker logs -f harnessrouter
```
-The first launch takes longer while the enabled harness CLIs are installed. Continue when the logs
-show:
+The first launch installs the enabled harness CLIs. Continue when the logs show:
```text
[harnessrouter] ready on :3000
```
+Press **Ctrl+C** to stop following logs. The container keeps running.
+
+<details>
+<summary>Console not ready or a harness missing?</summary>
+
+If the browser refuses the connection, retry after a few seconds while the Console finishes starting. For a missing harness, check `backends available:` and any `requested but not installed` warning in the logs.
+
+</details>
+
### 3. Open the console
-Open [http://localhost:3000](http://localhost:3000) and sign in with the initial local credentials:
+Open [http://localhost:3000](http://localhost:3000), or your chosen host port, and sign in:
-| | |
-|---|---|
-| Username | `harnessrouter` |
-| Password | `harnessrouter` |
+<table><tbody><tr><th scope="row">Username</th><td><code>harnessrouter</code></td></tr><tr><th scope="row">Password</th><td><code>harnessrouter</code></td></tr></tbody></table>
-Change the password from **Profile** now. Saving briefly restarts the Console and signs out other
-browsers. If you configured `HR_AUTH_USER` or `HR_AUTH_PASSWORD`, use those credentials instead.
-Keep the instance local until you have changed the default password.
+> [!WARNING]
+> **Change the default password in Profile.** Keep the instance local until you change it. Saving briefly restarts the Console and signs out other browsers.
<details>
<summary>See the sign-in screen</summary>
@@ -126,164 +138,238 @@ Keep the instance local until you have changed the default password.
</details>
+Using an existing volume or custom credentials? [Check credential precedence and setup](docs/self-hosting-guide.md#install).
+
### 4. Connect a model provider
-Open **Integrations**, select **Add Integration**, choose a provider, and add its API key. Provider
-requests follow the provider and credentials you choose.
+Open **Integrations → Add Integration**. Choose a provider, give the integration a name, and add its API key. Its supported models become available in the Console.
+
+Model requests use the provider and credentials you choose.
-Give the integration a name. There is no bundled model or trial key: a compatible provider must
-be connected before a task can run. Its supported models then become available in the Console.
+<details>
+<summary>See the provider setup screen</summary>
![Adding a model provider in HarnessRouter](docs/images/05-add-integration.png)
+</details>
+
### 5. Run your first task
-Open **Agent harnesses**, choose a supported harness, and select **New task**. Choose an available
-model and give the agent something concrete to do. Progress streams into the same task while files,
-artifacts, errors, and the final result remain attached to its session.
+Open **Agent harnesses**, choose a supported harness, and select **New task**. Pick an available model and give the agent a concrete task. Follow live progress and open the files it produces in the same session.
+
+![Hermes reviewing a fictional NDA and opening the redlined output](docs/images/harnessrouter-hermes-nda-redline-complete-run-readme.gif)
+
+<sub>In the illustrative run above, Hermes reviews a fictional NDA and produces a redlined version, a clean copy, and a negotiation memo.</sub>
+
+<a id="configure-a-custom-harness"></a>
+
+### Configure a custom harness (optional)
+
+Built-in harnesses work without this step. Create a custom harness when you want reusable behavior tailored to your product.
-![A 15-second animated screen recording of Hermes reviewing a fictional Mutual NDA, producing three files, and opening the redlined document in HarnessRouter](docs/images/harnessrouter-hermes-nda-redline-complete-run-readme.gif)
+1. **Create.** Select **New harness** in **Agent harnesses**. In **Add harness**, set the **Name**, **Base harness**, and **Default model** together, then select **Create and configure**.
+2. **Customize.** In **Harness Settings**, add **Agent instructions**, configure **Tools** (use **Add MCP** for an optional MCP server), and add **Skills** as needed.
+3. **Save and test.** Select **Save Changes**, then **Run Task** to test the saved configuration.
-**Hermes, end to end:** attached fictional NDA → streamed review → redline, clean copy, and negotiation memo · 15-second silent loop
+You can change the default model later in Settings, but the base harness cannot be changed after creation.
----
+<details>
+<summary>Watch the configuration walkthrough · 48 seconds</summary>
+
+[![Start a custom harness from the New harness button](docs/images/2026-09-10-harnessrouter-custom-harness-feedback-configuration-v5-poster.png)](docs/images/2026-09-10-harnessrouter-custom-harness-feedback-configuration-v5.mp4?raw=true)
+
+[▶ Watch the walkthrough · MP4 · 48 seconds](docs/images/2026-09-10-harnessrouter-custom-harness-feedback-configuration-v5.mp4?raw=true)
+
+<sub>Customer-feedback analysis with DeepSeek Harness. The final still is a sidebar reference screenshot.</sub>
+
+</details>
-## Starter kits
+<a id="using-the-api"></a>
-Plug agent harnesses into your own interface to power tasks far beyond coding. To help you explore
-what’s possible, we created starter kits for presentations, spreadsheets, dashboards, and videos.
-More kits will be added over time.
+<a id="use-the-api-directly"></a>
+
+## Integrate into your product with one API
+
+With HarnessRouter running, connect your product to the same OpenAI Responses-compatible API used by the Console.
+
+Sign in once to keep a local session cookie, then run a turn. To use your custom harness, replace `metadata.harness_id` with its **Harness ID**.
+
+```bash
+curl -s -c hr.cookies http://localhost:3000/api/selfhost/login \
+ -H 'content-type: application/json' \
+ -d '{"username":"harnessrouter","password":"<your-password>"}'
+
+curl -s -b hr.cookies http://localhost:3000/api/harness/v1/responses \
+ -H 'content-type: application/json' \
+ -d '{
+ "input":"Reply with exactly: it works.",
+ "metadata":{"harness_id":"codex"},
+ "model":"gpt-5.4-mini",
+ "stream":false
+ }'
+```
+
+The task appears in the Console with the same session and transcript. Set `"stream": true` to receive server-sent events.
+
+Use your current username and password, adjust the port if needed, and choose a harness and model served by your connected provider.
+
+<a id="one-interface-for-the-agent-lifecycle"></a>
+
+<table>
+ <thead><tr><th scope="col">Your application can…</th><th scope="col">How</th></tr></thead>
+ <tbody>
+ <tr><th scope="row">Start tasks</th><td>Send instructions and check execution status</td></tr>
+ <tr><th scope="row">Continue sessions</th><td>Send follow-up instructions within the same session</td></tr>
+ <tr><th scope="row">Stream progress</th><td>Receive live updates as the agent works</td></tr>
+ <tr><th scope="row">Work with files</th><td>Attach input files and retrieve generated outputs</td></tr>
+ <tr><th scope="row">Cancel tasks</th><td>Stop work that is no longer needed</td></tr>
+ <tr><th scope="row">Inspect execution</th><td>Review structured errors and execution traces</td></tr>
+ </tbody>
+ </table>
+
+Treat agent harnesses as an **AI infrastructure layer**, like databases or model APIs. HarnessRouter gives your product one unified interface to this **harness layer**.
+
+See the [API guide](docs/self-hosting-guide.md#using-the-api) for catalogs, sessions, cancellation, and traces. For the full API contract, see the [Unified Harness Protocol (UHP) specification](https://unifiedharnessprotocol.org/spec).
+
+<a id="starter-kits"></a>
+
+## See where agent harnesses fit in your product
+
+Plug agent harnesses into your own interface to power features and tasks far beyond coding. To help you explore what’s possible, we created starter kits for presentations, spreadsheets, dashboards, and videos. More kits will be added over time.
<table>
<tr>
<td width="50%" valign="top">
- <strong>Slides</strong><br>
- An agent harness creates slides from your brief; you edit the text, layout, and style on the canvas.<br><br>
- <img src="docs/images/kit-slides.png" alt="HarnessRouter Slides Starter Kit" width="100%">
+ <img src="docs/images/kit-slides.png" width="100%" alt="HarnessRouter Slides Starter Kit">
+ <h3>Slides</h3>
+ <p>An agent harness creates slides from your brief; you edit the text, layout, and style on the canvas.</p>
</td>
<td width="50%" valign="top">
- <strong>Sheets</strong><br>
- An agent column runs a harness-backed agent for each row, using preceding columns as input and filling cells with results.<br><br>
- <img src="docs/images/kit-sheets.png" alt="HarnessRouter Sheets Starter Kit" width="100%">
+ <img src="docs/images/kit-sheets.png" width="100%" alt="HarnessRouter Sheets Starter Kit">
+ <h3>Sheets</h3>
+ <p>An agent column runs a harness-backed agent for each row, using preceding columns as input and filling cells with results.</p>
+ <p>Requires another agent for the agent column.</p>
</td>
</tr>
<tr>
<td width="50%" valign="top">
- <strong>Dashboards</strong><br>
- An agent harness reads your database schema and writes SQL for charts; the dashboard refreshes queries when opened.<br><br>
- <img src="docs/images/kit-dashboard.png" alt="HarnessRouter Dashboards Starter Kit" width="100%">
+ <img src="docs/images/kit-dashboard.png" width="100%" alt="HarnessRouter Dashboards Starter Kit">
+ <h3>Dashboards</h3>
+ <p>An agent harness reads your database schema and writes SQL for charts; the dashboard refreshes queries when opened.</p>
+ <p>Requires a database connection.</p>
</td>
<td width="50%" valign="top">
- <strong>Videos</strong><br>
- An agent harness plans shots and uses video tools to generate clips; you edit them on a timeline and export the film.<br><br>
- <img src="docs/images/kit-video.png" alt="HarnessRouter Videos Starter Kit" width="100%">
+ <img src="docs/images/kit-video.png" width="100%" alt="HarnessRouter Videos Starter Kit">
+ <h3>Videos</h3>
+ <p>An agent harness plans shots and uses video tools to generate clips; you edit them on a timeline and export the film.</p>
+ <p>Video generation has additional per-clip costs.</p>
</td>
</tr>
</table>
[Explore the Starter Kits repository →](https://github.com/HarnessRouter/starter-kit)
-Launch a kit from **Starter Kits** in the Console and select a harness and model supported by your
-connected providers. Sheets agent columns require another agent to run. Dashboards require a
-reachable database, a read-only database account, and `HR_SECRET_KEY` for stored connections;
-review the sample-row setting before connecting. Video generation incurs additional per-clip costs.
-See the [kit setup details](docs/self-hosting-guide.md#starter-kits) before launching.
+Starter Kits have [separate licensing terms](https://github.com/HarnessRouter/starter-kit#licensing) from Community Edition.
----
+<details>
+<summary>Before launching a kit</summary>
-## One interface for the agent lifecycle
+Open **Starter Kits** in the Console. Select a harness and model supported by your connected providers.
-Your product integrates once with HarnessRouter instead of rebuilding the same lifecycle for each
-harness.
+**Dashboards:** use a reachable database and a read-only database account. Set `HR_SECRET_KEY` to encrypt stored connections, and review the sample-row setting before connecting.
-| Contract | What your product receives |
-|---|---|
-| Tasks and runs | One way to start work and inspect its status |
-| Sessions | Continuity across turns and resumable work |
-| Streaming | Live progress and server-sent events |
-| Files and artifacts | Structured inputs and retrievable finished work |
-| Cancellation and recovery | Consistent controls when work changes or fails |
-| Errors and traces | Structured failure details and a reviewable execution record |
+[Read the kit setup guide →](docs/self-hosting-guide.md#starter-kits)
-Codex, Claude Code, Hermes, DeepSeek Harness, and a growing set of supported harnesses sit behind
-this shared contract. The available catalog is shown by the running instance, so adding support does
-not require your product backend to adopt another harness-specific interface.
+</details>
-## Use the API directly
+## Deployment choices
-The Console is a client of the same OpenAI Responses-compatible API your application uses. Sign in
-once to keep a local session cookie, then run a turn:
+<a id="why-self-host-community-edition"></a>
-```bash
-curl -s -c hr.cookies http://localhost:3000/api/selfhost/login \
- -H 'content-type: application/json' \
- -d '{"username":"harnessrouter","password":"<your-password>"}'
+<a id="why-self-host"></a>
-curl -s -b hr.cookies http://localhost:3000/api/harness/v1/responses \
- -H 'content-type: application/json' \
- -d '{
- "input":"Reply with exactly: it works.",
- "metadata":{"harness_id":"codex"},
- "model":"gpt-5.4-mini",
- "stream":false
- }'
-```
+### Self-host for control
-The task appears in the Console with the same session and transcript. Set `"stream": true` to
-receive server-sent events.
+- **Your infrastructure.** One Docker deployment for the Console, Gateway, and Runner.
+- **Your credentials and state.** Provider keys, sessions, files, and workspaces stay under your control. Model requests still go to your configured provider.
+- **Real workspaces.** Native filesystem, shell, and Git workflows, with separate session workspaces.
+- **No Console product analytics.** Community Edition disables the Console analytics pipeline.
-## Why self-host Community Edition
+<a id="local-to-cloud"></a>
-- **Your infrastructure.** Console, Gateway, and Runner ship as one self-contained Docker deployment.
-- **Your credentials and state.** Provider keys, sessions, files, and workspaces remain under your control. Model requests still go to the provider you configure.
-- **Real workspaces.** Harnesses run with their native filesystem, shell, and Git workflows.
-- **No separate harness backends.** Your application keeps one Task, Run, Session, File, Artifact, Error, and Trace contract as support grows.
-- **A path to hosted scale.** Community Edition and HarnessRouter Cloud implement the same UHP contract.
+<a id="cloud-heading"></a>
-## The Unified Harness Protocol
+### Choose your path to Cloud
-[Unified Harness Protocol (UHP)](https://unifiedharnessprotocol.org) is the public, versioned contract
-implemented by Community Edition and HarnessRouter Cloud. This repository contains the Apache 2.0
-reference implementation, machine-readable schemas, and the conformance suite.
+Choose **HarnessRouter Cloud** for managed deployment, maintenance, and scaling, with tasks running in serverless, isolated sandboxes through the same API contract.
-| Resource | Purpose |
+| Local → Cloud | Start directly in Cloud |
|---|---|
-| [Specification](protocol/versions/2026-08-11/) | Normative protocol behavior |
-| [OpenAPI and JSON Schema](protocol/schema/) | Machine-readable contracts |
-| [Conformance suite](protocol/conformance/) | Testable compatibility requirements |
-| [Governance](protocol/GOVERNANCE.md) | How the standard evolves |
+| Bring a custom harness you’ve configured locally.<br>[Follow the upload guide →](docs/self-hosting-guide.md#moving-to-the-hosted-service) | Create and run harnesses without a local deployment.<br>[Open HarnessRouter Cloud →](https://harnessrouter.ai) |
+
+**For local uploads:** set `HR_SECRET_KEY` on your local instance to encrypt the saved destination key. Save your custom harness in **Settings**, select **Upload to Cloud**, then connect a destination using its Cloud workspace API key.
-## Architecture
+Uploads copy harness configuration, not provider keys, sessions, or generated files. Uploading again replaces that destination’s hosted copy.
+
+<a id="architecture"></a>
+
+### Inside Community Edition
```text
-┌─ HarnessRouter container ──────────────────────────────────────────┐
-│ │
-│ Console :3000 ← only published port │
-│ │ same-origin proxy │
-│ ▼ │
-│ Gateway :8080 Responses API + harness lifecycle │
-│ │ loopback │
-│ ▼ │
-│ Runner :8081 one agent CLI process per session │
-│ │
-│ /data volume database · files · secrets · workspaces │
-└────────────────────────────────────────────────────────────────────┘
+┌─ HarnessRouter container ─────────────────────────────────┐
+│ Console :3000 ← only published port │
+│ │ same-origin proxy │
+│ ▼ │
+│ Gateway :8080 Responses API + harness lifecycle │
+│ │ loopback │
+│ ▼ │
+│ Runner :8081 runs harnesses in session workspaces │
+│ │
+│ /data volume database · files · secrets · workspaces │
+└───────────────────────────────────────────────────────────┘
```
-Sessions have separate workspaces and conversation state. The Gateway and Runner listen on
-loopback inside the container; the Console is the entry point for both the UI and API.
+The Gateway and Runner listen on loopback inside the container. Sessions use separate workspaces and operating-system users, not separate containers. The Console is the entry point for both UI and API.
+
+See [configuration](docs/self-hosting-guide.md#configuration), [upgrades and backups](docs/self-hosting-guide.md#restarts-upgrades-and-backups), and [public deployment with TLS](docs/self-hosting-guide.md#putting-it-on-a-public-url).
+
+<a id="unified-harness-protocol"></a>
+
+## The Unified Harness Protocol
+
+[Unified Harness Protocol (UHP)](https://unifiedharnessprotocol.org) is the public, versioned contract implemented by Community Edition and HarnessRouter Cloud. This repository contains the Apache 2.0 reference implementation, machine-readable schemas, and the conformance suite.
+
+<table>
+ <thead><tr><th>Resource</th><th>Purpose</th></tr></thead>
+ <tbody>
+ <tr><td><a href="protocol/versions/2026-08-11">Specification</a></td><td>Normative protocol behavior</td></tr>
+ <tr><td><a href="protocol/schema">OpenAPI and JSON Schema</a></td><td>Machine-readable contracts</td></tr>
+ <tr><td><a href="protocol/conformance">Conformance suite</a></td><td>Testable compatibility requirements</td></tr>
+ <tr><td><a href="protocol/GOVERNANCE.md">Governance</a></td><td>How the standard evolves</td></tr>
+ </tbody>
+ </table>
## Resources
-- [Setup and operations guide](docs/self-hosting-guide.md): version pinning, Compose, credentials and recovery, provider mappings, database setup, configuration, API access, TLS and streaming proxies, and moving to Cloud.
-- [Documentation and HarnessRouter Cloud](https://harnessrouter.ai)
-- [Unified Harness Protocol](https://unifiedharnessprotocol.org)
-- [Starter kits](https://github.com/HarnessRouter/starter-kit)
-- [Discord](https://discord.gg/nPcbwqVPb2)
-- [Contributing](CONTRIBUTING.md)
-- [Security policy](SECURITY.md)
+| Goal | Resources |
+|---|---|
+| **Build** | [Cloud & integration docs](https://harnessrouter.ai/docs) · [API guide](#use-the-api-directly) · [Starter kits](https://github.com/HarnessRouter/starter-kit) |
+| **Deploy** | [Setup & operations](docs/self-hosting-guide.md) · [Local → Cloud](#local-to-cloud) · [HarnessRouter Cloud](https://harnessrouter.ai) |
+| **Protocol** | [Unified Harness Protocol (UHP)](https://unifiedharnessprotocol.org) |
+| **Community** | [Discord](https://discord.gg/nPcbwqVPb2) · [Contributing](CONTRIBUTING.md) · [Security](SECURITY.md) |
+
+## Star History
+
+<p align="center">
+ <a href="https://www.star-history.com/?repos=harnessrouter%2Fharnessrouter&amp;type=date&amp;legend=top-left">
+ <picture>
+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=harnessrouter/harnessrouter&amp;type=date&amp;theme=dark&amp;legend=top-left">
+ <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=harnessrouter/harnessrouter&amp;type=date&amp;legend=top-left">
+ <img alt="HarnessRouter GitHub star history chart" src="https://api.star-history.com/chart?repos=harnessrouter/harnessrouter&amp;type=date&amp;legend=top-left" width="640" height="427">
+ </picture>
+ </a>
+</p>
## License
-HarnessRouter Community Edition is licensed under [Apache 2.0](LICENSE). Agent harness CLIs are
-installed on first launch and remain subject to their respective upstream licenses.
+HarnessRouter Community Edition is licensed under [Apache 2.0](LICENSE). Agent harness CLIs are installed on first launch and remain subject to their respective upstream licenses. See [NOTICE](NOTICE) for third-party notices and the [Starter Kits repository](https://github.com/HarnessRouter/starter-kit#licensing) for its separate licensing terms.
diff --git a/docs/images/2026-09-10-harnessrouter-custom-harness-feedback-configuration-v5-poster.png b/docs/images/2026-09-10-harnessrouter-custom-harness-feedback-configuration-v5-poster.png
new file mode 100644
index 00000000..71e9859a
Binary files /dev/null and b/docs/images/2026-09-10-harnessrouter-custom-harness-feedback-configuration-v5-poster.png differ
diff --git a/docs/images/2026-09-10-harnessrouter-custom-harness-feedback-configuration-v5.mp4 b/docs/images/2026-09-10-harnessrouter-custom-harness-feedback-configuration-v5.mp4
new file mode 100644
index 00000000..fea3246a
Binary files /dev/null and b/docs/images/2026-09-10-harnessrouter-custom-harness-feedback-configuration-v5.mp4 differ
diff --git a/docs/images/2026-09-10-harnessrouter-integration-comparison-v4.gif b/docs/images/2026-09-10-harnessrouter-integration-comparison-v4.gif
new file mode 100644
index 00000000..ad6af761
Binary files /dev/null and b/docs/images/2026-09-10-harnessrouter-integration-comparison-v4.gif differ
diff --git a/docs/images/benchmark-summary-mobile.svg b/docs/images/benchmark-summary-mobile.svg
new file mode 100644
index 00000000..afb73658
--- /dev/null
+++ b/docs/images/benchmark-summary-mobile.svg
@@ -0,0 +1,39 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="360" height="416" viewBox="0 0 360 416" role="img" aria-labelledby="title desc">
+ <title id="title">Compare cost and latency across eight configurations</title>
+ <desc id="desc">One recorded task. Eight Harness × Model configurations. Save 99.8%, lowest vs. highest cost: 0.47–223 credits. 3.2× faster, fastest vs. slowest run: 1m 25s–4m 36s end to end. These are separate comparisons of the observed extremes. Cost and latency vary by task.</desc>
+ <rect x="0.5" y="0.5" width="359" height="415" rx="8" fill="#f6f8ff" stroke="#d7e0ff"/>
+ <g font-family="Arial,Helvetica,sans-serif">
+ <g font-size="14" font-weight="600" fill="#62626c">
+ <text x="20" y="28">One recorded task</text>
+ <text x="20" y="49">8 Harness × Model configurations</text>
+ </g>
+ <g fill="none" stroke="#62626c" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round">
+ <g transform="translate(20 72)">
+ <ellipse cx="9" cy="3" rx="8" ry="3"/>
+ <path d="M1 3v12c0 4 16 4 16 0V3M1 9c0 4 16 4 16 0"/>
+ </g>
+ <g transform="translate(20 217)">
+ <circle cx="9" cy="9" r="8.5"/>
+ <path d="M9 4v5l4 2"/>
+ </g>
+ </g>
+ <g font-size="16" fill="#62626c">
+ <text x="49" y="88" font-weight="600">Cost</text>
+ <text x="49" y="233"><tspan font-weight="600">Latency</tspan><tspan> · end to end</tspan></text>
+ </g>
+ <g font-size="44" font-weight="700" letter-spacing="-1.3" fill="#285aff">
+ <text x="20" y="137">Save 99.8%</text>
+ <text x="20" y="282">3.2× faster</text>
+ </g>
+ <g font-size="19" fill="#1f2328">
+ <text x="20" y="167"><tspan font-weight="700">0.47–223</tspan><tspan> credits</tspan></text>
+ <text x="20" y="312" font-weight="700">1m 25s–4m 36s</text>
+ </g>
+ <g font-size="14" fill="#62626c">
+ <text x="20" y="190">Lowest vs. highest cost</text>
+ <text x="20" y="335">Fastest vs. slowest run</text>
+ <text x="20" y="371">Cost and latency vary by task.</text>
+ </g>
+ <text x="20" y="398" font-size="16" font-weight="700" fill="#0969da">See the benchmark →</text>
+ </g>
+</svg>
diff --git a/docs/images/benchmark-summary.svg b/docs/images/benchmark-summary.svg
index 3820212d..bdab7cbd 100644
--- a/docs/images/benchmark-summary.svg
+++ b/docs/images/benchmark-summary.svg
@@ -1,17 +1,36 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="960" height="220" viewBox="0 0 960 220">
-<rect x="1" y="1" width="958" height="218" rx="12" fill="#f6f7ff" stroke="#bbc5ff"/>
-<path d="M12 1 Q1 1 1 13 V207 Q1 219 12 219" fill="#3158ff"/>
-<g font-family="Arial,Helvetica,sans-serif">
-<text x="28" y="34" fill="#3158ff" font-size="13" font-weight="700" letter-spacing="1">ONE RECORDED TASK</text>
-<text x="216" y="34" fill="#606875" font-size="13" font-weight="700" letter-spacing=".7">· 8 HARNESS × MODEL CONFIGURATIONS</text>
-<path d="M28 50 H932" stroke="#dde1f2"/>
-<text x="28" y="132" fill="#3158ff" font-size="48" font-weight="700" letter-spacing="-2">Save 99.8%</text>
-<rect x="365" y="73" width="275" height="62" rx="7" fill="white" stroke="#d9dce4"/>
-<rect x="652" y="73" width="280" height="62" rx="7" fill="white" stroke="#d9dce4"/>
-<text x="379" y="94" font-size="11" letter-spacing="1" fill="#606875" font-weight="700">COST</text>
-<text x="379" y="120" font-size="22" fill="#24292f" font-weight="700">0.47–223 credits</text>
-<text x="666" y="94" font-size="11" letter-spacing="1" fill="#606875" font-weight="700">LATENCY</text>
-<text x="666" y="120" font-size="22" fill="#24292f" font-weight="700">1m 25s–4m 36s</text>
-<text x="365" y="163" font-size="17" fill="#424a56">Cost and latency vary by task.</text>
-<text x="365" y="193" font-size="18" font-weight="700" fill="#0969da">See the benchmark →</text>
-</g></svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="960" height="250" viewBox="0 0 960 250" role="img" aria-labelledby="title desc">
+ <title id="title">Compare cost and latency across eight configurations</title>
+ <desc id="desc">One recorded task. Eight Harness × Model configurations. Save 99.8%, lowest vs. highest cost: 0.47–223 credits. 3.2× faster, fastest vs. slowest run: 1m 25s–4m 36s end to end. These are separate comparisons of the observed extremes. Cost and latency vary by task.</desc>
+ <rect x="0.5" y="0.5" width="959" height="249" rx="8" fill="#f6f8ff" stroke="#d7e0ff"/>
+ <g font-family="Arial,Helvetica,sans-serif">
+ <text x="28" y="34" font-size="17" font-weight="600" fill="#62626c">One recorded task · 8 Harness × Model configurations</text>
+ <g fill="none" stroke="#62626c" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round">
+ <g transform="translate(29 64)">
+ <ellipse cx="9" cy="3" rx="8" ry="3"/>
+ <path d="M1 3v12c0 4 16 4 16 0V3M1 9c0 4 16 4 16 0"/>
+ </g>
+ <g transform="translate(509 64)">
+ <circle cx="9" cy="9" r="8.5"/>
+ <path d="M9 4v5l4 2"/>
+ </g>
+ </g>
+ <g font-size="18" fill="#62626c">
+ <text x="58" y="80" font-weight="600">Cost</text>
+ <text x="538" y="80"><tspan font-weight="600">Latency</tspan><tspan> · end to end</tspan></text>
+ </g>
+ <g font-size="52" font-weight="700" letter-spacing="-1.6" fill="#285aff">
+ <text x="28" y="136">Save 99.8%</text>
+ <text x="508" y="136">3.2× faster</text>
+ </g>
+ <g font-size="21" fill="#1f2328">
+ <text x="28" y="173"><tspan font-weight="700">0.47–223</tspan><tspan> credits</tspan></text>
+ <text x="508" y="173" font-weight="700">1m 25s–4m 36s</text>
+ </g>
+ <g font-size="15" fill="#62626c">
+ <text x="28" y="197">Lowest vs. highest cost</text>
+ <text x="508" y="197">Fastest vs. slowest run</text>
+ <text x="28" y="229">Cost and latency vary by task.</text>
+ </g>
+ <text x="932" y="229" text-anchor="end" font-size="17" font-weight="700" fill="#0969da">See the benchmark →</text>
+ </g>
+</svg>
diff --git a/docs/images/github-readme-star-cta-desktop.svg b/docs/images/github-readme-star-cta-desktop.svg
index cfb05838..985b492b 100644
--- a/docs/images/github-readme-star-cta-desktop.svg
+++ b/docs/images/github-readme-star-cta-desktop.svg
@@ -1,19 +1,11 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="44" viewBox="0 0 1200 44" role="img" aria-labelledby="title desc">
+<svg xmlns="http://www.w3.org/2000/svg" width="960" height="48" viewBox="0 0 960 48" role="img" aria-labelledby="title desc">
<title id="title">Star the HarnessRouter repository</title>
- <desc id="desc">Help us reach more developers and grow the HarnessRouter community. Star this repo.</desc>
- <style>
- .reveal { opacity: 0; transform: translateY(6px); animation: reveal .45s cubic-bezier(.22,1,.36,1) .08s forwards; }
- @keyframes reveal { to { opacity: 1; transform: translateY(0); } }
- @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; animation: none; } }
- </style>
- <g class="reveal">
- <rect x="0.5" y="0.5" width="1199" height="43" rx="6" fill="#F0FFF4" stroke="#ACEEBB"/>
- <g transform="translate(211 14)" fill="#E3B341">
- <path d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.75.75 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Z"/>
- </g>
- <text x="235" y="28.5" fill="#1F2328" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif" font-size="17">
- <tspan>Help us reach more developers and grow the HarnessRouter community. </tspan>
- <tspan fill="#0969DA" font-weight="600">Star this repo →</tspan>
- </text>
+ <desc id="desc">Help grow the HarnessRouter community. Star this repo.</desc>
+ <rect width="960" height="48" rx="6" fill="#effbf1"/>
+ <g transform="translate(254 16)" fill="#e3b341">
+ <path d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.75.75 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Z"/>
</g>
+ <text x="282" y="29.5" font-family="Arial,Helvetica,sans-serif" font-size="16" fill="#1f2328">
+ <tspan>Help grow the HarnessRouter community. </tspan><tspan fill="#0969da" font-weight="700">Star this repo →</tspan>
+ </text>
</svg>
diff --git a/docs/images/github-readme-star-cta-mobile.svg b/docs/images/github-readme-star-cta-mobile.svg
index ade7d6ff..231e0e38 100644
--- a/docs/images/github-readme-star-cta-mobile.svg
+++ b/docs/images/github-readme-star-cta-mobile.svg
@@ -1,18 +1,10 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="600" height="48" viewBox="0 0 600 48" role="img" aria-labelledby="title desc">
+<svg xmlns="http://www.w3.org/2000/svg" width="360" height="76" viewBox="0 0 360 76" role="img" aria-labelledby="title desc">
<title id="title">Star the HarnessRouter repository</title>
- <desc id="desc">Help us reach more developers and grow the HarnessRouter community. Star this repo.</desc>
- <style>
- .reveal { opacity: 0; transform: translateY(6px); animation: reveal .45s cubic-bezier(.22,1,.36,1) .08s forwards; }
- @keyframes reveal { to { opacity: 1; transform: translateY(0); } }
- @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; animation: none; } }
- </style>
- <g class="reveal">
- <rect x="0.5" y="0.5" width="599" height="47" rx="7" fill="#F0FFF4" stroke="#ACEEBB"/>
- <g transform="translate(125 16)" fill="#E3B341">
- <path d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.75.75 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Z"/>
- </g>
- <text x="149" y="30.5" fill="#0969DA" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif" font-size="20" font-weight="600">
- Star HarnessRouter on GitHub →
- </text>
+ <desc id="desc">Help grow the HarnessRouter community. Star this repo.</desc>
+ <rect width="360" height="76" rx="6" fill="#effbf1"/>
+ <text x="180" y="27" text-anchor="middle" font-family="Arial,Helvetica,sans-serif" font-size="14" fill="#1f2328">Help grow the HarnessRouter community.</text>
+ <g transform="translate(103 42)" fill="#e3b341">
+ <path d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.75.75 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Z"/>
</g>
+ <text x="128" y="55" font-family="Arial,Helvetica,sans-serif" font-size="16" font-weight="700" fill="#0969da">Star this repo →</text>
</svg>
diff --git a/docs/self-hosting-guide.md b/docs/self-hosting-guide.md
index 3d616b87..aed3151f 100644
--- a/docs/self-hosting-guide.md
+++ b/docs/self-hosting-guide.md
@@ -2,14 +2,30 @@
Detailed installation, configuration, API, and deployment instructions. For the shorter five-step path, start with the [README quickstart](../README.md#quickstart). This guide retains separate image-pull and container-start steps, so its installation sequence has six steps.
+## Contents
+
+- [Install](#install)
+- [Restarts, upgrades, and backups](#restarts-upgrades-and-backups)
+- [Starter kits](#starter-kits)
+- [What it is](#what-it-is)
+- [Why self-host](#why-self-host)
+- [The Unified Harness Protocol](#the-unified-harness-protocol)
+- [Configuration](#configuration)
+- [Using the API](#using-the-api)
+- [Putting it on a public URL](#putting-it-on-a-public-url)
+- [Moving to the hosted service](#moving-to-the-hosted-service)
+- [Architecture](#architecture)
+- [Resources](#resources)
+- [License](#license)
+
## Install
Six steps, and at the end of them you have a running instance, a signed-in console, and an agent
that has answered you.
You need Docker, about 4 GB of disk, and an API key from a model provider. There is no account to
-create and nothing to sign up for. The provider key is the only credential in the story, and it
-never leaves the box except to call the provider it belongs to.
+create and nothing to sign up for. You also set a local Console password after the first sign-in.
+Model requests use the provider and credentials you configure.
### 1. Pull the image
@@ -22,9 +38,10 @@ About 700 MB to download.
<details>
<summary>Pinning a version instead of <code>latest</code></summary>
-`latest` is the current release, and pulling it again is how you upgrade. Pin a version only when
-you need two machines to run the same bytes, by naming a version in a compose file you share with a
-team. Releases are listed on [Docker Hub](https://hub.docker.com/r/harnessrouter/harnessrouter/tags).
+`latest` tracks the current release. Pulling downloads an image but does not update an existing
+container; follow [the upgrade steps](#restarts-upgrades-and-backups). Use a version tag for a
+specific release, or an image digest when you need the exact same image. Releases are listed on
+[Docker Hub](https://hub.docker.com/r/harnessrouter/harnessrouter/tags).
</details>
@@ -66,8 +83,8 @@ change.
The container must start as root, and from 0.8.2 it refuses to start any other way, with one line
saying so. This is not the usual "runs as root" shortcut; it is the opposite. Root is needed for
exactly one thing: every agent CLI runs as its own per-session user, which owns that session's
-workspace and nothing else. Switching to that user is what root is for, and the product itself runs
-as an unprivileged user from the first second.
+workspace and nothing else. The entrypoint and Runner retain root to manage those users. The
+Console and Gateway run as an unprivileged user; each agent process runs under its session user.
What that buys you, inside one container serving many sessions:
@@ -111,9 +128,10 @@ just as well; it exists for a box built by a script, where nobody is going to op
<details>
<summary>Using Docker Compose instead</summary>
-`cp .env.example .env`, then `docker compose up -d`. Read `docker-compose.yml` first: it publishes
-`3000:3000` on every interface rather than on loopback. Change that one line and it behaves like the
-command above.
+Run these commands from a checkout of the repository root, where `docker-compose.yml` and
+`.env.example` live. Before starting, change the published port in
+[`docker-compose.yml`](../docker-compose.yml) from `3000:3000` to `127.0.0.1:3000:3000`.
+Then copy `.env.example` to `.env` and run `docker compose up -d`.
</details>
@@ -144,8 +162,10 @@ Wait for `ready on :3000`, then open the browser:
[harnessrouter] ready on :3000
```
-This wait happens once per volume. Every start after it takes a few seconds and prints no install
-lines at all.
+Installed CLIs are cached on the volume, so later starts are usually faster. New or previously
+failed backends can still trigger installation work. Press **Ctrl+C** to stop following logs;
+this does not stop the container. If the Console is not reachable immediately after the ready
+line, retry after a few seconds while its server finishes starting.
<details>
<summary>The other lines, and why the first start is the slow one</summary>
@@ -160,21 +180,16 @@ You will also see this line, and it comes back on every start until you change t
[harnessrouter] WARNING: using the DEFAULT password. Set HR_AUTH_PASSWORD, or change it from the profile page, before exposing this instance.
```
-The agent CLIs are fetched on the first start rather than shipped in the image, and that is a
-licensing fact rather than a packaging preference. Claude Code is distributed under Anthropic's own
-terms and hermes-agent declares no license at all, so neither can be redistributed inside a public
-image. Installing them on first run means you install them yourself, from upstream, under those
-terms, which is also why you should read them before you use those two backends. The rest arrive
-the same way and under their own terms: Codex, Qwen Code, Gemini CLI and Cline (Apache-2.0),
-opencode and Pi (MIT, Pi with its MIT-licensed MCP adapter), Oh My Pi (MIT, a prebuilt binary
-pinned to a release and checked against the publisher's SHA256SUMS before it is installed) and
-DeepSeek Harness (MIT, a developer preview pinned to an exact version). All ten land in one place.
+The enabled agent CLIs are fetched from upstream on first start rather than bundled in the image.
+Each remains subject to its upstream license and terms; this repository's Apache 2.0 license does
+not replace them. Review [NOTICE](../NOTICE) and each tool's terms before use. The running
+instance's catalog reflects the backends that are actually available.
</details>
### 4. Sign in
-Open <http://localhost:3000> and sign in with:
+Open <http://localhost:3000>, or the host port you chose in step 2, and sign in with:
| | |
|---|---|
@@ -294,8 +309,8 @@ the answer at the end.
![A task: the request, the commands, the files it wrote, and the test result](images/task-run.png)
-That is the whole install. State is SQLite and files on one Docker volume. Delete the volume and
-the instance is gone; copy it and you have moved the instance, harnesses, transcripts and all.
+That is the whole install. State is SQLite and files on one Docker volume. Deleting that volume
+deletes the instance's durable data. See [backups](#restarts-upgrades-and-backups) before moving it.
<details>
<summary>What is happening in that screenshot</summary>
@@ -309,13 +324,31 @@ take away, a file at a time or the lot as a zip.
---
+## Restarts, upgrades, and backups
+
+For a stopped container, use `docker start harnessrouter`; to restart it, use
+`docker restart harnessrouter`. Running the original `docker run` command again while a container
+with that name exists gives a name conflict.
+
+To upgrade, back up your data, pull the desired image, stop and remove only the old container, and
+recreate it with the same volume, ports, and configuration. Keep `HR_SECRET_KEY` unchanged if used.
+Do not delete the data volume. For Compose, use `docker compose pull` followed by
+`docker compose up -d`; avoid `docker compose down -v`, which removes volumes.
+
+Stop the container before copying the volume so the SQLite databases and files form a consistent
+backup. Preserve the volume's permissions and keep any configured encryption key securely
+alongside your deployment records. Restore the volume and the same configuration before starting
+the replacement instance.
+
## Starter kits
Starter kits are worked examples, and they are here to show you what this can be pointed at.
Each one is a whole agent product rather than a snippet: an app, an agent configured to drive it,
and the skill that teaches that agent the format it writes. Use one, then read it: every kit is
-open source. More arrive over time; your instance lists the ones it has.
+available in the [Starter Kits repository](https://github.com/HarnessRouter/starter-kit), under its
+[separate licensing terms](https://github.com/HarnessRouter/starter-kit#licensing). More arrive over
+time; your instance lists the ones it has.
![The Starter Kits page, before any kit has been launched](images/dashboard-1-starter-kits.png)
@@ -506,20 +539,23 @@ a thin client over that API; anything the UI does, you can do from `curl`.
same components, the same API client. Surfaces that need a service a single box doesn't have,
such as accounts, billing, and marketplace, are simply not shown.
-**Supported harnesses:** Codex, Claude Code, and Hermes, installed on first run rather than shipped
-in the image, for the license reasons in step 3. Review each tool's terms before you use it.
+**Supported harnesses:** the running instance's catalog lists what is available, including Codex,
+Claude Code, Hermes, DeepSeek Harness, and other enabled backends. They are installed on first
+run rather than shipped in the image. Review each tool's upstream terms before use.
-**Bring your own key.** Your provider credentials are read from the environment at start-up and
-handed to the agent directly. They are never written into the image, never committed, and never
-sent anywhere but your provider.
+**Bring your own key.** Configure providers in Integrations or through environment-based connection
+policies. Credentials are not baked into the image; model requests follow your chosen provider
+and credentials.
## Why self-host
-- **Your keys, your bills, your data.** Nothing leaves the box except calls to your model provider.
+- **Your keys, your bills, your data.** You control the deployment and provider credentials.
+ Harnesses and tools may also make network requests needed for the tasks you run.
- **Real workspaces.** Agents get bash, git, and a filesystem, their native environment, not a
sandbox emulation.
-- **The same API as the hosted product.** Not a reduced fork: the same `/v1` surface, so anything
- you build against it keeps working if you later move to the hosted service.
+- **No Console product telemetry.** Product analytics are disabled in the Community Edition Console.
+- **The same UHP contract as the hosted product.** Your application can use the shared protocol
+ in either edition; deployment, authentication, and provider configuration differ.
- **Actually self-contained.** No control plane to phone home to, no managed database.
## The Unified Harness Protocol
@@ -535,12 +571,15 @@ specified, versioned and testable in [`protocol/`](../protocol/), and documented
| [Conformance suite](../protocol/conformance/) | passing it is what "conformant" means, and what earns the right to the UHP name |
| [Governance](../protocol/GOVERNANCE.md) | How the standard changes, and the naming and conformance policy |
-This edition is the reference implementation. The most recent published run
-[passes at class Full](../protocol/conformance/reports/harnessrouter-ce-0.3.0.json), against 0.3.0.
+This edition is the reference implementation. The [recorded conformance run](../protocol/conformance/#reference-implementation-results)
+on September 4, 2026 passed all 64 checks at class Full, with no failures, skips, or errors
+(suite `2026.8.11.post1`, protocol `2026-08-11`). This is a dated measurement, not a test rerun
+for every subsequent release.
**The standard can be implemented without HarnessRouter Cloud**: it is an HTTP contract, and
nothing in it requires a hosted service. Run the suite against your own server:
```bash
+# From the repository root
pip install -e protocol/conformance
uhp-conformance --base-url https://your-server --api-key "$KEY" --class full
```
@@ -561,11 +600,6 @@ docker run -e HR_BACKENDS=opencode ... # lean
A backend that fails to install is not fatal: the others still work, and the console offers what
the gateway's catalogue lists, so an unavailable backend simply is not shown.
-Previously documented here: that any value leaving out `hermes` made the container exit
-immediately with status 1. That no longer reproduces. Checked 2026-08-25 on a fresh volume with
-`HR_BACKENDS=codex` (one of the values named) and with `HR_BACKENDS=opencode`: both reach a healthy
-container with zero restarts and a gateway serving 200.
-
Chromium is genuinely an image layer, so it stays a build flag:
```bash
@@ -599,11 +633,12 @@ session cookie. Sign in once and keep the cookie:
```bash
curl -s -c hr.cookies http://localhost:3000/api/selfhost/login \
-H 'content-type: application/json' \
- -d '{"username":"harnessrouter","password":"harnessrouter"}' # your password, not the default
+ -d '{"username":"harnessrouter","password":"<your-password>"}'
# {"ok":true}
```
-Then run a turn. The gateway speaks the Responses API:
+Use your current username and password and adjust the host port if changed. Then run a turn with
+a harness and model served by your connected provider. The gateway speaks the Responses API:
```bash
curl -s -b hr.cookies http://localhost:3000/api/harness/v1/responses \
@@ -684,32 +719,55 @@ runs straight through it.
## Moving to the hosted service
-When a harness is working the way you want, **Harnesses → Push to cloud** copies it into a
-hosted HarnessRouter account with your hosted API key.
+Self-host for control, or use **HarnessRouter Cloud** for managed deployment, maintenance, and
+scaling. Cloud runs tasks in serverless, isolated sandboxes through the same public API contract
+as Community Edition.
+
+When a custom harness is working the way you want, save any pending changes in its **Settings**
+and select **Upload to Cloud**.
+Connect a destination with an API key created inside the target Cloud workspace. Built-in harnesses
+cannot be uploaded directly; create a custom harness first.
+
+The upload copies the harness configuration, including its skills and MCP configuration. It does
+not transfer provider keys, sessions, generated files, or the local workspace. Configure the
+required model providers in the destination separately.
+
+Update your application's base URL, authentication, and harness ID to use the destination.
+The shared API contract does not mean that local credentials or endpoint URLs work unchanged in
+Cloud. See the [Cloud authentication](https://harnessrouter.ai/docs/authentication) and
+[base URL](https://harnessrouter.ai/docs/base-url) guides.
+
+This is a manual, one-way upload. Later uploads replace the same hosted copy in that destination,
+so they can overwrite changes made in Cloud. Cloud edits are not pulled back into the local copy.
-This is deliberately one-way. Local is where you iterate; once promoted, the hosted copy is the
-source of truth. There is no "pull from cloud", so a harness can never be live in two places
-each claiming to be current. Your hosted key is used for that one request and is never stored.
+Destination API keys are stored encrypted on your local instance for repeat uploads. Set
+`HR_SECRET_KEY` before connecting a destination, and preserve the same key across restarts and
+upgrades. You can remove a saved destination when it is no longer needed. See
+[restarts, upgrades, and backups](#restarts-upgrades-and-backups) before changing container settings.
## Architecture
```
-┌─ container ─────────────────────────────────────────────┐
-│ UI (Next.js) :3000 ← the only published port │
-│ │ same-origin proxy │
-│ Gateway :8080 Responses API, harness CRUD │
-│ │ loopback │
-│ Runner :8081 one agent CLI per session │
-└─────────────────────────┬───────────────────────────────┘
- /data (volume): SQLite, files, secrets, workspaces
+┌─ HarnessRouter container ─────────────────────────────────┐
+│ Console :3000 ← only published port │
+│ │ same-origin proxy │
+│ ▼ │
+│ Gateway :8080 Responses API + harness lifecycle │
+│ │ loopback │
+│ ▼ │
+│ Runner :8081 runs harnesses in session workspaces │
+│ │
+│ /data volume database · files · secrets · workspaces │
+└───────────────────────────────────────────────────────────┘
```
The gateway and the runner listen on loopback inside the container and are not publishable; the
console's port is the way in, which is why the login gate ships inside the image rather than in
whatever proxy happens to sit in front.
-Sessions run concurrently and are isolated: each gets its own workspace directory, its own
-conversation state, and its own checkpoint. Turn concurrency defaults to the machine's core
+Sessions have separate workspace directories, conversation state, and checkpoints. Agent
+processes run as per-session operating-system users inside the shared container; this is not
+a separate sandbox or container per session. Turn concurrency defaults to the machine's core
count. This box cannot scale sandboxes on demand the way the hosted deployment does, so the
limit is what it can actually run.