DEDUPED Hot AI repos, turned into use cases Get the Monday 5

How to use Harnessrouter: what you can do with it

HarnessRouter Community Edition is a self-hosted, Apache-2.0 service that gives one API for running agent harnesses such as Codex and Claude Code.

Trended earlier

View repo on GitHub

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer

6 use cases

  • Run agent tasks from your product backend through one API

    Call a self-hosted, OpenAI Responses-compatible API to run harness tasks from your own backend.

    View prompt
    Using the HarnessRouter repo at https://github.com/HarnessRouter/harnessrouter, start a local Community Edition instance and send a POST to <base-url>/v1/responses with metadata.harness_id set to codex and the input 'Reply with exactly: it works.'. Expected output: a response whose text is 'it works.' and a matching task in the Console. Verify the HTTP status is 200 before reporting success.
  • Retry agent tasks without running them twice

    Reuse one Idempotency-Key so a retried request returns the first result instead of a new execution.

    View prompt
    Using the HarnessRouter repo at https://github.com/HarnessRouter/harnessrouter, send the same POST to <base-url>/v1/responses twice with one Idempotency-Key header. Expected output: both responses have the same id and the session has one turn. Verify that a second request with the same key but a different body returns 409 before reporting success.
  • Compare harnesses on cost and latency for one task

    Run the same task on several harness and model pairs and pick the cheapest or fastest one.

    View prompt
    Using the HarnessRouter repo at https://github.com/HarnessRouter/harnessrouter, run the same task <task-description> on two harness and model pairs in the Console. Expected output: a short table of which pair was faster and which produced the cheaper run. Verify that both runs used the same task text before reporting the comparison.
  • Build a custom harness tuned to your product workflow

    Create a harness with its own instructions, tools, MCP server and skills, then test it before use.

    View prompt
    Using the HarnessRouter repo at https://github.com/HarnessRouter/harnessrouter, create a custom harness named <harness-name> on a supported base harness and add agent instructions for <workflow>. Expected output: a saved harness that completes a test task. Verify that the test run finishes before reporting the harness as ready.
  • Pass secrets to agents through env, not prompts

    Give an agent a token through the harness env map so it never appears in the prompt text.

    View prompt
    Using the HarnessRouter repo at https://github.com/HarnessRouter/harnessrouter, store a secret <secret-name> with PUT /v1/mcp-secrets/{ref} and run a task that reads it from an env variable. Expected output: the task completes and the secret value does not appear in the response or trace. Verify the value is absent from the stored record before reporting success.
  • Generate dashboard SQL from a read-only database schema

    Use the Dashboards starter kit to have a harness write chart queries from your schema.

    View prompt
    Using the HarnessRouter repo at https://github.com/HarnessRouter/harnessrouter, connect a read-only database <db-connection> in the Dashboards starter kit and ask the harness to write queries for <chart-list>. Expected output: SQL queries that run against the schema. Verify each query runs on the read-only account before reporting them as ready.

Quick start with Harnessrouter

  1. Check you have what it needs: Docker installed; About 4 GB of free disk space; A provider API key for at least one supported model provider.
  2. Open HarnessRouter/harnessrouter on GitHub and read the README and license.
  3. Run docker run -d --name harnessrouter -p 127.0.0.1:3000:3000 -v harnessrouter:/data harnessrouter/harnessrouter (inferred, check the README)
  4. Run docker logs -f harnessrouter and wait for the line [harnessrouter] ready on :3000
  5. Open http://localhost:3000, sign in, change the default password in Profile, then add a provider key under Bring Your Own Key
  6. Create an API key under API Keys in the Console and store it as HARNESSROUTER_API_KEY in your backend

These steps come from our top use case, Run agent tasks from your product backend through one API, which also has a copy-paste agent prompt.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for HarnessRouter/harnessrouter

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Harnessrouter alternatives · Best AI repos for Software and DevOps

About this repo

Requirements

  • Docker installed
  • About 4 GB of free disk space
  • A provider API key for at least one supported model provider
  • Python 3 if you use the Idempotency-Key example

Add this badge to your README

Maintain Harnessrouter? Show readers where to find these use cases. Use cases on Deduped

Markdown

[![Use cases on Deduped](https://dedupedai.com/badge/HarnessRouter/harnessrouter.svg)](https://dedupedai.com/use-cases/harnessrouter-harnessrouter/?utm_source=github&utm_medium=badge&utm_campaign=HarnessRouter-harnessrouter)

HTML

<a href="https://dedupedai.com/use-cases/harnessrouter-harnessrouter/?utm_source=github&amp;utm_medium=badge&amp;utm_campaign=HarnessRouter-harnessrouter"><img src="https://dedupedai.com/badge/HarnessRouter/harnessrouter.svg" alt="Use cases on Deduped" height="20"></a>

A static image, no tracking script. About the badge

Questions about Harnessrouter

What is Harnessrouter?

HarnessRouter Community Edition is a self-hosted, Apache-2.0 service that gives one API for running agent harnesses such as Codex and Claude Code. It is an open-source project on GitHub: https://github.com/HarnessRouter/harnessrouter.

Who is Harnessrouter for?

Developers building an AI product who want agent tasks run by existing harnesses behind one self-hosted API.

What can I do with Harnessrouter?

6 use cases so far, for example: Run agent tasks from your product backend through one API; Retry agent tasks without running them twice; Compare harnesses on cost and latency for one task. Each has steps and a copy-paste agent prompt.

What do I need to run Harnessrouter?

Docker installed; About 4 GB of free disk space; A provider API key for at least one supported model provider; Python 3 if you use the Idempotency-Key example.

What are alternatives to Harnessrouter?

Other hot AI repos in Software and DevOps: Codex LB Enhanced, Reuse Before Build, Aibuildai LLM Posttrain Agent, FlowX, Codex Guard.

Is Harnessrouter safe to run?

Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.