Skip to content

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.

602 B
Raw Blame
# Self-hosted HarnessRouter.
#
#   1. cp .env.example .env      and put YOUR provider key in it
#   2. docker compose up -d
#   3. open http://localhost:3000
#
# One container, one volume. No external services.
services:
  harnessrouter:
    image: harnessrouter/harnessrouter:latest
    # Use this instead of `image:` to build locally:
    # build: .
    ports:
      - "3000:3000"
    env_file:
      - .env
    volumes:
      # Everything durable lives here: SQLite databases, blobs, and the secret store.
      - harnessrouter-data:/data
    restart: unless-stopped

volumes:
  harnessrouter-data: