HarnessRouter

harnessrouter.ai

Unified, OpenAI Responses-compatible API that turns coding-agent harnesses like Codex and Claude Code into plug-and-play agent backends; self-hosted edition is Apache-2.0.

Pricing
Open source
Published
Oct 27, 2026

Next steps

  • Cindy

    Both tools are listed under AI Agent, Open Source, codex, and claude-code.

  • AutoSwarm

    Both tools are listed under AI Agent, Open Source, codex, and claude-code.

  • OpenRig

    Both tools are listed under AI Agent, Open Source, codex, and claude-code.

  • Strix
  • Pi
  • Daily Stock Analysis (DSA)

What it does

HarnessRouter is an infrastructure layer for building agent products without doing harness engineering yourself. It implements the Unified Harness Protocol and exposes an OpenAI Responses-compatible API that handles persistent sessions, streaming progress, files, artifacts, cancellation and structured failures, so a product can run tasks on an existing harness, retrieve results and switch harnesses or models to optimize cost and latency. It supports about 30 harness bases, including Codex, Claude Code, Hermes, Pi, OpenCode, Kilo Code, Qwen Code, Gemini CLI, Cline, goose, Kimi Code CLI, Aider and OpenHands. The Community Edition is Apache-2.0 and self-hosts with one Docker command using your own provider keys (about 4 GB of disk); a managed cloud version is available at harnessrouter.ai.

HarnessRouter · Image from the official website
Image from the official website

Use cases

  • Add Codex or Claude Code as a backend to your own agent product
  • Compare cost and latency of different harness and model combinations
  • Self-host a single API for many coding-agent CLIs

Frequently asked questions

What is a harness here?
An agent runtime such as Codex, Claude Code, OpenCode or Gemini CLI; HarnessRouter puts one API in front of them.
Is it compatible with OpenAI SDKs?
It exposes an OpenAI Responses-compatible API.
What do I need to self-host?
Docker, about 4 GB of disk and your own model provider API key; no HarnessRouter account is required.
Log in to join the discussion