HarnessRouter: Unified Interface for AI Agent Harnesses

This repository profile is provided by osrepos.com, an open source repository discovery platform.

HarnessRouter: Unified Interface for AI Agent Harnesses

Summary

HarnessRouter Community Edition provides a self-hosted, Apache-2.0 licensed unified interface for various AI agent harnesses like Codex, Claude Code, and Hermes. It allows users to run multiple agents through a single API, offering features such as sessions, streaming, file handling, and cancellation. The project implements the open-standard Unified Harness Protocol (UHP), ensuring users maintain control over their keys and infrastructure.

Repository Information

Analyzed by OSRepos on September 22, 2026

Topics

Click on any tag to explore related repositories

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

Introduction

HarnessRouter Community Edition is an open-source, self-hosted platform that provides a unified interface for various AI agent harnesses. It allows developers to integrate and manage different agent backends, such as Codex, Claude Code, Hermes, and DeepSeek Harness, through a single, consistent API. By implementing the open-standard Unified Harness Protocol (UHP), HarnessRouter simplifies the development of agent products, abstracting away complex harness engineering.

Why Use It and Benefits

HarnessRouter offers significant advantages for building agent-powered applications. It eliminates the need to handle individual harness integrations, allowing products to switch between different agent backends to optimize for cost and latency. Users benefit from full control over their infrastructure, credentials, and state, as provider keys, sessions, files, and workspaces remain self-hosted. The platform provides real workspaces, native filesystem, shell, and Git workflows, ensuring robust and secure agent operations without Console product analytics.

Installation

To get started with HarnessRouter Community Edition, you need Docker and a provider API key.

  1. Start HarnessRouter:
    docker run -d --name harnessrouter \
      -p 127.0.0.1:3000:3000 \
      -v harnessrouter:/data \
      harnessrouter/harnessrouter
    

    This command pulls the Docker image and starts the container, preserving your data across restarts with a named volume.

  2. Wait for the first launch:

    Monitor the logs until you see [harnessrouter] ready on :3000.

    docker logs -f harnessrouter
    
  3. Open the console:

    Access the web console at http://localhost:3000 and sign in with the default username harnessrouter and password harnessrouter. Remember to change the default password immediately for security.

  4. Connect a model provider:

    In the console, go to "Bring Your Own Key", add an integration, choose a provider, and enter your API key. This makes its models available for tasks.

For detailed setup, including custom configurations and upgrades, refer to the official documentation.

Examples

Once HarnessRouter is set up and a model provider is connected, you can start running tasks.

Running a task in the Console: Navigate to "Agent harnesses", select a supported harness, and choose "New task". Provide the agent with a concrete task, select an available model, and observe the live progress. You can also review files produced within the same session.

Integrating with your product backend via API: HarnessRouter provides an OpenAI Responses-compatible API for seamless integration into your product.

  1. Create an API key:

    In the Console, go to "API Keys" and create a new API key. Store this secret securely as HARNESSROUTER_API_KEY in your backend.

  2. Call the API:

    Use curl or your preferred HTTP client to interact with the API, specifying the harness_id and model.

    export HARNESSROUTER_BASE_URL=http://localhost:3000/api/harness
    
    curl --fail-with-body -sS "$HARNESSROUTER_BASE_URL/v1/responses" \
      -H "Authorization: Bearer ${HARNESSROUTER_API_KEY:?}" \
      -H 'content-type: application/json' \
      -d '{
        "input":"Reply with exactly: it works.",
        "metadata":{"harness_id":"codex"},
        "model":"gpt-5.4-mini",
        "stream":false
      }'
    

    The full API documentation is available at $HARNESSROUTER_BASE_URL/v1/openapi.json and a browsable version at /v1/docs.

Links

Related repositories

Similar repositories that may be relevant next.

AREX-Skill: A Skill Library for Automated Machine Learning and Auto-Research

AREX-Skill: A Skill Library for Automated Machine Learning and Auto-Research

September 21, 2026

AREX-Skill is a powerful skill library designed to advance automated machine learning and auto-research. It distills over 5,000 executable skills from more than 1,000 popular GitHub repositories, making complex ML knowledge directly usable by coding agents. This project significantly enhances agent performance in various research tasks by providing structured, validated operating knowledge.

PythonAutomated Machine LearningAI Agents
Agentic Engineering: Documentation-First Development for AI Coding Agents

Agentic Engineering: Documentation-First Development for AI Coding Agents

September 20, 2026

Agentic Engineering introduces a documentation-first development framework designed for AI coding agents. It effectively addresses the core challenges of agent statelessness and context collapse by providing a structured chain of documentation and verification skills. This suite serves as a robust harness layer, enabling long-running, loop-driven AI development workflows with persistent memory and clear contracts.

AI AgentsAgentic EngineeringDeveloper Tools
Coven: Local-First Runtime for AI Coding Agent Sessions

Coven: Local-First Runtime for AI Coding Agent Sessions

September 18, 2026

Coven is a powerful local-first runtime designed for managing project-scoped AI coding agent sessions. It provides durable state, robust authority boundaries, and seamless interoperability with multiple coding harnesses like Codex, Claude Code, and GitHub Copilot CLI. This tool enables developers to safely launch, observe, and coordinate AI agent work directly within their local project environments.

RustAI AgentsDeveloper Tools
Open Index: A Deterministic Memory Layer for Your AI Agents

Open Index: A Deterministic Memory Layer for Your AI Agents

September 16, 2026

Open Index is a powerful tool for building domain-specific, accurate, and structured data that AI agents can effectively operate on. It enables the creation of a "brain," a searchable and continuously improving context graph tailored to any domain. This system ensures agents have access to reliable, up-to-date information, enhancing their capabilities and decision-making processes.

AI AgentsKnowledge GraphAgent Memory

Source repository

Open the original repository on GitHub.

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️