This is an early release preview. You may encounter bugs.
HarnessRouter logo
Unclaimed

Tool deployment interface

HarnessRouter

HarnessRouter Community Edition: the self-hosted, Apache-2.0 edition of the unified interface for agent harnesses. Run Codex, Claude Code, H

A 87/100 GitHub score ? This grade is derived from GitHub signals, not user votes. Open for the full breakdown.
Discussion

01 / Summary

About HarnessRouter.

HarnessRouter puts existing agent harnesses such as Codex, Claude Code, and Hermes behind one API, so a product can run tasks, retrieve results, and switch harnesses without integrating each one separately. The API is compatible with the OpenAI Responses API, and the harness is chosen per request through a harness id in the request metadata.

It implements the Unified Harness Protocol (UHP), a public, versioned contract that defines harness selection, persistent sessions, streaming progress, files, cancellation, structured failures, and harness-managed tools and skills. The repository holds the reference implementation of UHP, its OpenAPI and JSON Schema definitions, and a conformance suite.

Community Edition is self-hosted as one Docker deployment with three parts: a Console for the UI and API entry point, a Gateway that serves the Responses API and manages the harness lifecycle, and a Runner that runs harnesses in separate session workspaces with their own operating-system users. You connect your own model provider keys, and provider keys, sessions, files, and workspaces stay on your infrastructure. A managed HarnessRouter Cloud runs each task in its own serverless, isolated sandbox through the same API contract, and a custom harness configured locally can be uploaded to it.

Custom harnesses start from a built-in base harness and add agent instructions, tools (including MCP servers), skills, and a default model. Starter kits show harnesses as backends for slides, sheets, dashboards, videos, and a multi-agent workplace. A benchmark of eight harness and model configurations on one task reports cost differing from 223 to 0.47 credits and latency from 4m 36s to 1m 25s between the best and worst runs.

  • One API for many harnesses: runs Codex, Claude Code, Hermes, DeepSeek Harness, and custom harnesses through the same request shape
  • OpenAI Responses compatibility: existing Responses SDKs, streaming parsers, and UI components work against the server
  • Agent lifecycle: start tasks, continue sessions, stream progress, attach and retrieve files, cancel tasks, and inspect structured errors and execution traces
  • Unified Harness Protocol: a versioned open standard with a specification, machine-readable schemas, and a conformance suite
  • Custom harnesses: instructions, tools, MCP servers, skills, and a default model on top of a built-in base harness
  • Bring your own key: connect a model provider in the Console, and its supported models become available to harnesses
  • Session workspaces: native filesystem, shell, and Git workflows in a separate workspace per session
  • Self-hosted or Cloud: Community Edition on your infrastructure, or a managed Cloud with one isolated sandbox per task
  • Harness Arena: runs the same task across harness and model pairs to compare time, cost, and accuracy

02 / Discussion CREDIBILITY-GATED

Discussion

Reading is open to everyone. Posting and voting need a verified identity or a GitHub grade of B or higher.

  • No discussions yet.

04 / Build

Build with HarnessRouter.

Browse the catalog for frameworks, tools, and harnesses, each scored on real GitHub credibility.

Get HarnessRouter →

Browse the catalog