Apache License 2.0

项目介绍

harbor-framework/harbor 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 Apache License 2.0 许可证,目前获得 6.9k 个 Star、2.2k 次 Fork。

仓库全名
harbor-framework/harbor
开源许可证
Apache License 2.0
Star 数
6.9k
Fork 数
2.2k
未关闭 Issue
1.2k

README 摘要

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,…

完整内容见 GitHub 原始 README 或本页 。

常见问题

harbor 用什么语言开发?

主要使用 Python 编写,采用 Apache License 2.0 许可证,目前有 6.9k 个 Star。

harbor 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 harbor 的源码?

可以直接克隆仓库:git clone https://github.com/harbor-framework/harbor.git;安装与运行步骤见仓库 README。

harbor 最近还在维护吗?

仓库最近一次更新为 13 小时前,当前有 1.2k 个未关闭 Issue;Star 数为 6.9k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Framework for evaluating and improving agents

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
11198
价值分
4704
活跃状态
活跃

语言占比

CSS
Dockerfile
Go Template
Java
JavaScript
MDX
Python
Shell
TypeScript

Release

README

Harbor

Docs Cookbook DOI

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, Tensorlake, Runta, and Sail.
  • 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 [email protected] \
   --agent claude-code \
   --model anthropic/claude-opus-5-5 \
   --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 [email protected] \
   --agent claude-code \
   --model anthropic/claude-opus-5-5 \
   --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},
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.

评论

暂无评论