harbor
Use Harbor to evaluate agents and language models in sandboxed tasks, author benchmark datasets and verifiers, run map-reduce jobs, inspect trajectories and artifacts, publish results, or extend Harbor with custom integrations.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- harbor
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use Harbor to evaluate agents and language models in sandboxed tasks, author benchmark datasets and verifiers, run map-reduce jobs, inspect trajectories and artifacts, publish results, or extend Harbor with custom integrations.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/architecture.md3.0 KB
- 参考文档references/repo-provenance.md2.3 KB
- 参考文档references/repo-routing-metadata.json527 B
- 参考文档references/troubleshooting.md5.8 KB
- 脚本scripts/check_install.py2.5 KB
03 SKILL.md 正文
Harbor
Harbor is a Python framework and CLI for evaluating agents and language models against task environments, building benchmark datasets, scaling trials across sandbox providers, and generating rollouts for optimization. Use this skill for operating Harbor, not for editing arbitrary repository code.
First checks
Use a compatible Python installation (the inspected release is Harbor 0.22.0,
which requires Python >=3.12) and verify the actual installation before
making version-sensitive claims:
python -m pip install harbor
harbor --version
harbor run --help
For a safe, no-network diagnostic of Harbor plus the optional first-party
packages, run scripts/check_install.py. Read
references/troubleshooting.md when import,
CLI, optional-extra, or provider setup fails.
Route by task shape
- Run an existing task, dataset, job, or trial: read
run-evaluate. It covers agents, models, environments, concurrency, retries, resources, network, artifacts, multi-step sessions, and trajectory loading. - Create or validate tasks, datasets, adapters, verifiers, RewardKit checks,
metrics, or registry packages: read
author-benchmarks. - Compile files into tasks and optionally aggregate map outputs: read
exec-map-reduce. This is the experimentalharbor execworkflow, not ordinaryharbor run. - Inspect, compare, regrade, view, export, upload, or publish outcomes:
read
analyze-publish. Keep credentialed and mutating actions gated. - Implement custom agents, environments, bridges, plugins, MCP/skills
injection, or optional provider integrations: read
integrations.
Start with the narrowest route. When a request spans routes, finish the safe configuration or inspection prerequisite first and hand off the resulting paths/config; do not duplicate sibling instructions.
Core model
Harbor's operating objects are task → dataset → trial → job → result. A task
contains an instruction, environment, and verifier. A dataset groups tasks. An
agent performs a task inside an environment; a trial is one attempt; a job is a
parallel collection of trials. Artifacts, verifier rewards, logs, and native or
ATIF trajectories are persisted for later inspection. Read
references/architecture.md for the verified
relationships and config layering.
Safety and evidence gates
Before a costly run, resolve the input path/package, agent and model, provider,
credentials, task count, attempts, concurrency, timeout/resource/network
policy, artifacts, and output directory. Use --print-config where available
and prefer a tiny local or install-only preflight. Do not treat a parsed config
as proof that Docker, a cloud provider, a GPU, Windows containers, a model API,
or a registry credential works. Do not disable verification to hide a malformed
task or verifier.
The generated references are self-contained and do not require the source
checkout. Read references/repo-provenance.md
before deciding whether this graph is stale for a new Harbor release or
checkout. Router placement for managed repo-skill discovery is recorded in
references/repo-routing-metadata.json.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).