{"id":111172,"title":"HarnessRouter: Open-Sourcing the World’s First Unified Interface for Agent Harnesses and the Unified Harness Protocol","tagline":"Plug Codex, Claude Code, and Hermes into your backend on your own infrastructure. Introducing the Unified Harness Protocol (UHP), an open standard for connecting applications to different agent harnesses.","body":"Hey everyone 👋 Three weeks ago, we[ launched HarnessRouter here on YC](https://www.ycombinator.com/launches/RpL-harnessrouter-bring-the-world-s-best-ai-agents-into-your-app-with-one-api) with one promise:\n\nBring the world’s best AI agents into your app, with one API.\n\nToday, we’re opening the layer underneath that promise.\n\nWe’re releasing HarnessRouter Community Edition and the Unified Harness Protocol (UHP). You can now run Codex, Claude Code, and Hermes as your product’s backend on infrastructure you control, using the same API contract as HarnessRouter Cloud.\n\n**TL;DR：**\n\nHarnessRouter is the world’s first unified interface for agent harnesses.\n\nYour product sends a task through one agent API. HarnessRouter runs the supported harness you choose and returns completed work, including files, artifacts, progress, and results.\n\nSessions, streaming, cancellation, and failure handling follow the same contract across Codex, Claude Code, and Hermes. You can add or switch a supported harness without rebuilding your product integration.\n\n🎥[ Watch the launch video](https://www.youtube.com/watch?v=iqrfCBrb6zY)\n\n### **Why agent harnesses aren't infrastructure yet**\n\nAn agent harness is the runtime layer around a model. It executes tasks, uses tools, manages sessions and files, streams progress, and returns completed work.\n\nHistorically, product teams built this layer themselves: task execution, session management, streaming, file and artifact handling, and error recovery, then maintained everything as models and tools evolved.\n\nNow frontier labs and open-source communities are building increasingly capable harnesses. Codex, Claude Code, Hermes, and DeepSeek Harness are examples. But they're still seen as coding tools rather than reusable infrastructure, so teams keep rebuilding this layer in-house. Just as product teams don't build their own databases, they shouldn't have to build their own harness layer either.\n\nEven teams that do adopt an existing harness hit the next obstacle: every harness works differently, so each new product-harness pair needs its own integration. We call this the N×M harness problem. In practice, it becomes harness lock-in: teams stick with the first harness they integrated, even when better or cheaper options exist.\n\nWe asked a simple question: what if agent harnesses became plug-and-play infrastructure that any product can build on?\n\nPlug-and-play means you integrate once, run any supported harness, and switch anytime a better or cheaper one ships.\n\nThat is what HarnessRouter makes possible.\n\n### **What we’re open-sourcing**\n\nWe’re releasing two core components under the Apache License 2.0:\n\n* **Unified Harness Protocol (UHP):** UHP is an open standard that gives different agent harnesses a shared execution contract. This release includes a versioned specification, schemas, and a conformance suite covering harness configuration, task execution, progress, sessions, files, cancellation, errors, and results.\n* **HarnessRouter Community Edition:** The self-hosted implementation of UHP. Gateway, Runner, and Console ship in a single Docker container. It runs Codex, Claude Code, Hermes, and more through one API and passes the full UHP conformance suite.\n\n![uploaded image](/media/?type=post\u0026id=111172\u0026key=user_uploads/14642/2bea0a11-8aba-49c5-9a85-112001854d96)\n\nYour model-provider credentials, application state, and files remain under your control. Model calls still go to the providers you configure.\n\nMCP connects agents to tools. UHP covers a different boundary: how an application drives a complete agent harness and receives its full execution lifecycle.\n\n### **Start self-hosted. Scale with Cloud when you’re ready.**\n\nHarnessRouter Community Edition and HarnessRouter Cloud implement the same UHP contract, so one integration works for both. Start self-hosted on infrastructure you control, or scale into Cloud when you're ready.\n\nHarnessRouter Cloud provides agent harness as a service (HaaS): fully managed harnesses with serverless execution in isolated sandboxes, so teams can scale concurrent runs without operating sandbox capacity themselves.\n\n### **Agent harnesses can do more than write code: runnable examples**\n\nWe also released a **Starter Kit** with runnable applications that show an end-to-end Community Edition integration.\n\nOne example puts a harness behind an Excel column so each row can trigger agent work. Other examples cover presentations, dashboards, and video generation.\n\n![uploaded image](/media/?type=post\u0026id=111172\u0026key=user_uploads/14642/914297fb-2588-4d8a-9a3b-37d39d82bae7)\n\nAgent harnesses can do much more than write code. We want the Starter Kit to show what becomes possible when you put them inside products.\n\n![uploaded image](/media/?type=post\u0026id=111172\u0026key=user_uploads/14642/f4cff64a-7539-41b3-804e-fa5ee53d77bd)\n\nStarter Kit components are available under their applicable licenses.\n\n### **Choose harnesses in production with evidence**\n\nWe benchmarked eight Harness × Model configurations on the same task and input. Cost varied by 475× and latency by 3.2×. Even with the model fixed, changing the harness moved cost by 1.5–2.1× and latency by up to 1.95×.\n\nHarness selection is a task-level production decision, not a one-time choice. HarnessRouter helps teams compare configurations on their own workloads. This was one controlled test, not a universal ranking; we published the methodology, results, and limitations.\n\n### **What teams are already building**\n\nTeams are using HarnessRouter in very different settings:\n\n* 🏥 Stanford Medicine is connecting its operational data through a shared agent layer, an “academic brain” for the organization.\n* ✅ Readily.ai encodes domain expertise into agent skills and can move a new agent from problem and plan to production within 24 hours.\n* 🎬 Spira.ai drives its generation pipeline through HarnessRouter.\n* 🪄 hibo.ai uses HarnessRouter to execute and evaluate agent skills.\n\n### **Why we built it**\n\nWe’re Kuanze Ma and Richard Song, the co-founders of HarnessRouter.\n\nKuanze is a four-time founder focused on human-AI systems. Richard has spent more than a decade building large-scale systems, including at TigerGraph and Meta.\n\nWe both worked on agent systems before HarnessRouter. We kept seeing product teams rebuild the same application-to-harness layer, so we decided to turn that layer into shared infrastructure.\n\n### **What we want from you**\n\n* If you build an agent harness or already maintain your own runtime, read UHP and tell us where it is wrong. Which parts should be standardized, and which should remain harness-specific? That comparison is worth more to us than a signup.\n* Try the Community Edition Quickstart on a clean machine. Tell us where it breaks or where the execution lifecycle is incomplete.\n* If your compliance requirements prevent you from using a hosted agent runtime, try Community Edition on infrastructure you control.\n* If you want to contribute, we use a proposal-before-code process. Describe the problem, your proposed change, and its expected impact. You do not need to arrive with a finished implementation.\n* Intros are welcome to teams shipping agent-powered features that do not want to own another backend.\n\n### **Run it yourself**\n\n* [Open-source repository](https://github.com/HarnessRouter/harnessrouter)\n* [Unified Harness Protocol](https://unifiedharnessprotocol.org)\n* [Starter Kit](https://github.com/HarnessRouter/starter-kit)\n* [Benchmark and methodology](https://harnessrouter.ai/benchmarks)\n* [Docs and HarnessRouter Cloud](https://harnessrouter.ai)\n\nReach us at [contact@harnessrouter.ai](mailto:contact@harnessrouter.ai).","slug":"Sv6-harnessrouter-open-sourcing-the-world-s-first-unified-interface-for-agent-harnesses-and-the-unified-harness-protocol","created_at":"2026-08-17T22:23:24.250Z","updated_at":"2026-09-19T02:43:27.886Z","total_vote_count":6,"url":"https://www.ycombinator.com/launches/Sv6-harnessrouter-open-sourcing-the-world-s-first-unified-interface-for-agent-harnesses-and-the-unified-harness-protocol","share_image_url":"//bookface-static.ycombinator.com/assets/ycdc/yc-og-image-c440a0ad1dacfb86eeeb343717479cc54d256614449b4ef719977a0a451f8bc8.png","company":{"id":28900,"name":"Epsilla","slug":"epsilla","url":"https://www.epsilla.com/","logo":"https://bookface-images.s3.amazonaws.com/small_logos/a2a1e40bf12e61df1ea8d4d6a4f8b7691ac3982f.png","batch":"Summer 2023","industry":"B2B","tags":["SaaS","Infrastructure","AI","Databases"],"search_path":"https://bookface.ycombinator.com/company/28900"}}