Vibe Coding Discover

AI Agents

harnessrouter

View on GitHub

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.

★ 2.2K220 forksPythonApache-2.0HarnessRouter

Self-hosted Apache-2.0 gateway that exposes Codex, Claude Code, Hermes, PI and DSH harnesses through one OpenAI Responses-compatible API, with sessions, streaming, files, cancellation and failure handling under the Unified Harness Protocol.

Use Cases

Run Codex, Claude Code, Hermes, PI, DSH behind one APIAdd an agent backend to a product without building harness engineeringSwitch harnesses per task to cut cost and latencySelf-host agent infrastructure with your own provider keysStream agent progress over SSE into an app UIManage persistent agent sessions, files and cancellationAttach MCP servers and skills to custom harnessesBridge external harnesses such as Aider or OpenHands via drivers

Built With

Language
Python
Frameworks
Next.js · Docker · OpenAI Responses API · MCP · SQLite · Tailwind CSS · TypeScript · Python

Tags

agent-harness · unified-api · self-hosted · coding-agent · openai-responses-compatible · agent-infrastructure · session-management · streaming · open-standard · uhp · mcp · docker · multi-harness · cancellation · file-artifacts · apache-2.0