HarnessRouter

HarnessRouter

One API for agent harnesses

Description

Embedding Codex or Claude Code in your product means handling different sessions, streaming, files and failures for each, and rewriting when you switch. HarnessRouter is an infrastructure layer that turns existing agent harnesses into plug-and-play backends behind one API.

It implements the open Unified Harness Protocol with an OpenAI Responses-compatible interface for sessions, streaming, files, cancellation and failure handling, self-hosted under Apache 2.0.

Features



Unified API:Many harnesses, one interface.

Sessions:Streaming, files and cancellation.

Failure handling:Consistent errors and retries.

Open standard:UHP, self-hostable.