whatisgithub

What is harness-bench?

redmadrobot-rnd/harness-bench — explained in plain English

Analysis updated 2026-05-18

23PythonAudience · developerComplexity · 3/5Setup · moderate

In one sentence

A framework that runs AI coding agents against benchmark task sets, scores their answers, and displays results with run history in a web dashboard.

Mindmap

mindmap
  root((Harness Bench))
    What it does
      Benchmarks AI agents
      Scores task performance
      Web dashboard history
    Tech stack
      Python
      Docker
      PostgreSQL
    Use cases
      Compare agent harnesses
      Run standard benchmarks
      Custom benchmark tasks
    Audience
      AI developers
      Researchers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Compare how different AI coding agents like Hermes, OpenClaw, or OpenCode perform on the same tasks.

USE CASE 2

Run standard benchmarks such as SWE-bench or HumanEval+ against a custom agent.

USE CASE 3

Write a custom Python benchmark class to test an agent on a specific skill.

USE CASE 4

Track benchmark results over time using the built-in run history and web UI.

What is it built with?

PythonDockerPostgreSQL

How does it compare?

redmadrobot-rnd/harness-benchaaravkashyap12/advise-project-approachabu-rayhan-alif/django-saas-kit
Stars232323
LanguagePythonPythonPython
Setup difficultymoderateeasymoderate
Complexity3/52/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Docker Desktop to run the AI harnesses in sandboxed containers, PostgreSQL is optional.

So what is it?

Harness Bench is a framework for benchmarking AI coding agents and assistants, often called harnesses. It runs a chosen agent against sets of predefined tasks, scores how well the agent's answers perform, and shows the results in a web dashboard that keeps a history of past runs. The project supports three specific agent harnesses out of the box, named Hermes, OpenClaw, and OpenCode, and also lets users write a custom benchmark by creating a single Python class, which can then be run against any supported agent. The framework ships with several built in benchmarks covering different skills: factual question answering judged by another AI model, function calling ability based on the Berkeley Function Calling Leaderboard, a multi turn version of that same test, code generation checked by running real unit tests, long term memory retention, finding a specific fact hidden inside a large amount of text, fixing real GitHub issues inside a sandboxed environment, a multilingual version of that GitHub issue benchmark, and a benchmark simulating tasks inside a fictional company. To run it locally, users need Python 3.12 or newer and Docker Desktop, since the AI harnesses run inside Docker containers for isolation. PostgreSQL is optional, without it, run history is simply not saved. After installing the package and copying an example configuration file with an API key and model name filled in, users can either start a local web service to configure and launch runs from a browser, or run everything from the command line without a UI. A Docker Compose setup is also provided for running the whole system as a deployed service, with its own database configuration separate from any individual run's settings. The command line tool can serve the web interface, run benchmarks directly, list past runs, show and compare results between two runs, and manage the database. Documentation is mirrored in both Russian and English inside the repository's docs folder.

Copy-paste prompts

Prompt 1
Help me set up Harness Bench locally with Python and Docker Desktop.
Prompt 2
Show me how to write a custom benchmark class for Harness Bench.
Prompt 3
Explain the difference between the swe_bench and swe_bench_multilingual benchmarks in Harness Bench.
Prompt 4
Walk me through comparing two benchmark runs using the framework's CLI.

Frequently asked questions

What is harness-bench?

A framework that runs AI coding agents against benchmark task sets, scores their answers, and displays results with run history in a web dashboard.

What language is harness-bench written in?

Mainly Python. The stack also includes Python, Docker, PostgreSQL.

How hard is harness-bench to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is harness-bench for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.