Official Repo Comparison¶
This page provides a concrete comparison between:
- Official Meta-Harness reference implementation:
stanford-iris-lab/meta-harness - This repository:
SuperagenticAI/metaharness
Use this as a decision guide for demos, internal alignment, and integration planning.
Scope And Intent¶
Official repository (stanford-iris-lab/meta-harness):
- Canonical research reference for the paper implementation.
- Designed to replicate paper experiments and bootstrap brand-new domains.
- Emphasizes domain onboarding and research workflow structure.
- Default proposer in the shipped examples is Claude Code.
- As of 2026-07-11, includes an experimental Harbor pilot at
experimental/harbor_meta_harness(Harbor 0.18, suitestb2-easy,humanevalfix-lite,codepde).
This repository (SuperagenticAI/metaharness):
- Production-oriented Python package and CLI for agentic coding harness optimization.
- Emphasizes repeatable runs, artifact storage, and operational tooling.
- Focuses on coding-tool style domains with deterministic checks and inspectable ledgers.
- Codex is the validated proposer. Gemini CLI and Omnigent are experimental. Pi and OpenCode were removed in 0.2.0.
- There is not yet a first-class Claude Code proposer or a Harbor / Terminal-Bench evaluator adapter. Hosts can embed
optimize_harness(see Embed); AgentSky and HarnessRouter are not in-tree proposers.
Feature-Level Differences¶
Domain onboarding:
- Official: onboarding-first flow (
ONBOARDING.md+ domain planning). - This repo: official-style onboarding generation via
metaharness onboard.
Optimization loop shape:
- Official: research-oriented domain loops and paper example flows.
- This repo: library-grade optimization engine with stable CLI workflows and run folders.
Evaluation stages:
- Official: explicit split between search-time and held-out test-time evaluation patterns. Terminal-Bench 2 runs go through Harbor.
- This repo: implemented split evaluation (
search_result.jsonand optionaltest_result.json) through adapter hooks. Built-in benchmarks are small deterministic coding-tool targets, not Harbor datasets.
Candidate search policy:
- Official: supports richer search patterns in research flows.
- This repo: supports
hill-climbandfrontiermodes, batch proposals, andsingleorparetoselection policy.
Telemetry and experiment analysis:
- Official: paper/reference-grade analysis in example stacks.
- This repo: operational telemetry in candidate records and CLI exports (
inspect,ledger,summarize,compare,experiment).
Provider orientation:
- Official: Claude Code wrapper in the reference examples (paper runs used Opus 4.6).
- This repo: Codex-first validated path, with Gemini CLI and Omnigent as experimental backends, plus
backend_pluginsfor closed-source adapters.
Packaging and usability:
- Official: lightweight reference implementation for research adaptation.
- This repo: installable package (
superagentic-metaharness) with operational CLI surface.
2026 Landscape¶
These projects sit next to this library. They are not features of this repository.
- Paper: Meta-Harness: End-to-End Optimization of Model Harnesses (Lee, Nair, Zhang, Lee, Khattab, Finn, 2026). ICML 2026 workshop poster: Post-Training Reliable Agent Systems via Harness Search.
- Official TB2 artifact:
stanford-iris-lab/meta-harness-tbench2-artifact(76.4% on Terminal-Bench 2.0 with Opus 4.6, mostly environment bootstrap on Terminus-KIRA). - Harbor: eval runtime for Terminal-Bench 2 and related agent suites. The official Meta-Harness repo now pilots Harbor as an outer-loop substrate. This library does not wrap
harbor runyet. - Harness Forge: independent Claude Code skill reimplementation of the Meta-Harness loop.
- AHE (code): component-level harness evolution with change manifests. This repo already stores AHE-style manifests; it does not implement AHE's seven-component tracks or rollback-on-failed-attribution.
- HarnessCompass (August 2026): generalization gate against task-ID / test-name overfitting, plus component-wise tracks. This repo now rejects leaking diffs (
leakage-violation) and can constrain a candidate to one write-scope class (class-violation). It does not yet implement the full Compass component tracks. - Wang et al., Rethinking the Evaluation of Harness Evolution (code, 14 July 2026): on Terminal-Bench 2.1, AHE-style evolution often does not beat matched-budget sampling. This is why search/test splits should stay first-class, and why future
comparebaselines should include Best-of-N / sequential refine under the same budget.
This repository is listed on the official Meta-Harness README as the Codex community implementation.
Use-Case Fit¶
Use the official repo first when:
- You want paper-faithful baselines and reference architecture.
- You are defining a new non-coding domain from scratch.
- You need to align terminology and flow to the canonical release.
- You need Harbor / Terminal-Bench 2 numbers against Claude Code.
Use this repo first when:
- You need a production-ready CLI workflow for coding harnesses.
- You want deterministic artifact storage for every candidate and run.
- You need Codex (hosted or local Ollama) plus repeated experiment matrices in one package.
Use both together when:
- You want official onboarding and domain framing, then operationalize with this repo.
- You want to preserve research alignment while shipping practical optimization pipelines.
Integration Strategy¶
Recommended strategy is additive, not replacement:
- Use official-style onboarding to define domain boundaries, metrics, and leakage constraints.
- Implement domain logic through this repo's adapter hooks (
validate,evaluate_search,evaluate_test). - Start in
hill-climbmode for cost control; move tofrontier+paretowhen multi-objective tradeoffs matter. - Use
inspectandledgeroutputs as evidence for keep/discard decisions and regression tracking. - Treat Harbor and a Claude Code proposer as the next alignment work. Leakage gating and single-class write scope are now available on coding-tool projects.
Terminology Mapping¶
- Official "domain onboarding" maps to:
metaharness onboardanddomain_spec.md. - Official "search/test separation" maps to:
evaluate_searchandevaluate_testadapter contract. - Official "multi-objective frontier behavior" maps to:
search_mode=frontierandselection_policy=pareto. - Official "experiment analysis" maps to:
metaharness experiment,summarize, and candidate ledger exports. - Official Harbor / Terminal-Bench 2 loop does not yet map to a built-in adapter in this repo.
References¶
- Official repository: stanford-iris-lab/meta-harness
- This repository: SuperagenticAI/metaharness
- Paper: arXiv:2603.28052
- Harbor: laude-institute/harbor