This release is a pre-release and may not be stable for production use.
Harbor
Harbor is a framework from the creators of Terminal-Bench for evaluating and optimizing agents and language models. You can use Harbor to:
- Evaluate arbitrary agents like Claude Code, OpenHands, Codex CLI, and more.
- Build and share your own benchmarks and environments.
- Conduct experiments in thousands of environments in parallel through providers like Daytona, Modal, LangSmith, Blaxel, Novita Sandbox, and Tensorlake.
- Generate rollouts for RL optimization.
Check out the Harbor Cookbook for end-to-end examples and guides.
Installation
uv tool install harbor
or
pip install harbor
Example: Running Terminal-Bench-2.0
Harbor is the official harness for Terminal-Bench-2.0:
export ANTHROPIC_API_KEY=<YOUR-KEY>
harbor run --dataset terminal-bench@2.0 \
--agent claude-code \
--model anthropic/claude-opus-4-1 \
--n-concurrent 4
This will launch the benchmark locally using Docker. To run it on a cloud provider (like Daytona) pass the --env flag as below:
export ANTHROPIC_API_KEY=<YOUR-KEY>
export DAYTONA_API_KEY=<YOUR-KEY>
harbor run --dataset terminal-bench@2.0 \
--agent claude-code \
--model anthropic/claude-opus-4-1 \
--n-concurrent 100 \
--env daytona
To see all supported agents, and other options run:
harbor run --help
To explore all supported third party benchmarks (like SWE-Bench and Aider Polyglot) run:
harbor datasets list
To evaluate an agent and model one of these datasets, you can use the following command:
harbor run -d "<dataset@version>" -m "<model>" -a "<agent>"
Citation
If you use Harbor in academic work, please cite it using the “Cite this repository” button on GitHub or the following BibTeX entry:
@software{Harbor_Framework,
author = {{Harbor Framework Team}},
title = {{Harbor: A framework for evaluating and optimizing agents and models in container environments}},
year = {2026},
version = {v0.16.1},
doi = {10.5281/zenodo.20953922},
url = {https://doi.org/10.5281/zenodo.20953922}
}
The DOI above is the concept DOI, which always resolves to the latest release and aggregates citations across all versions. To cite a specific version instead, use that version's DOI from the Zenodo record.
Release files for harbor 0.22.1.dev202609010429
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| harbor-0.22.1.dev202609010429.tar.gz | 1.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| harbor-0.22.1.dev202609010429-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.9 MB
Release files / harbor-0.22.1.dev202609010429.tar.gz
| Download URL | harbor-0.22.1.dev202609010429.tar.gz |
|---|---|
| Size | 1.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c64705d1b9d7f886a04b3d55dafe72568a46c946228d6738b0c6a9f2ec3f73d
|
|
BLAKE2b-256 checksum How to use checksums |
7d51d86a96755d283cb1a621aa8dc3f837752e1c2eda16315f0b73651d69f6b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / harbor-0.22.1.dev202609010429-py3-none-any.whl
| Download URL | harbor-0.22.1.dev202609010429-py3-none-any.whl |
|---|---|
| Size | 2.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e4029e6f338d0fcffae0ffb1c7942c047e50f7e2b29d16ac5396767a6d62f15f
|
|
BLAKE2b-256 checksum How to use checksums |
fdc0557e450394eb695897813323a24553e8a799fc9959893044a3043da65f13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|