harnessrouter (HarnessRouter/harnessrouter)

Searching Database…

What is this?HarnessRouter is a self-hosted gateway that turns existing agent harnesses like Codex, Claude Code, Hermes, PI, and DSH into a single unified API, so a product can run tasks, stream progress, and switch harnesses without handling harness-specific engineering.
Is this a library I import, or a running service I deploy?It is a self-hosted service you deploy with Docker (Console, Gateway, and Runner), not a library you import; you talk to it over an OpenAI Responses-compatible HTTP API.
How do I get it running?Start it with a single Docker command, wait for the first launch to install the enabled harness CLIs, open the Console in your browser, sign in with the default credentials, connect a model provider under Bring Your Own Key, then launch a task from Agent harnesses.
What do I need before I start it?You need Docker, about 4 GB of free disk space, and an API key from a model provider; no HarnessRouter account or bundled model key is required.
Any install pitfalls I should know about?The entrypoint and Runner need root to manage per-session OS users (the Console and Gateway themselves run unprivileged), and you must change the default harnessrouter/harnessrouter login before exposing the instance publicly.
What is the Unified Harness Protocol (UHP)?UHP is the public, versioned protocol this repo implements as a reference server; it mirrors the OpenAI Responses API shape so existing Responses SDKs and streaming parsers work out of the box, and it standardizes sessions, files, cancellation and harness tools across different agent harnesses.
What are the Starter Kits?They are ready-made pluggable harness backends for product features like Slides, Sheets, Dashboards, and Videos (e.g. turning a brief into slide content or writing SQL from a database schema), licensed separately from Community Edition.
How is Community Edition different from HarnessRouter Cloud?Community Edition is self-hosted on your own Docker infra with your provider keys and no product analytics, while Cloud runs the same API contract in managed, serverless, isolated sandboxes and lets you upload a locally built custom harness to it.
Can I add my own custom harness configuration?Yes — create a harness from a base harness, add agent instructions, MCP tools and skills in Harness Settings, then save and test it before using it as a pluggable backend in your product.
Size
55.1 MB
Stars
4.6K
Age
3mo
Commits · 90 Days