GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - stanford-iris-lab/meta-harness: Official code for Meta-Harness (2603.28052)

BranchesTags
Open more actions menu

Latest commit

 

History

25 Commits
25 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
experimental/harbor_meta_harness
experimental/harbor_meta_harness
 
 
reference_examples
reference_examples
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
CITATION.cff
CITATION.cff
 
 
LICENSE
LICENSE
 
 
ONBOARDING.md
ONBOARDING.md
 
 
README.md
README.md
 
 

Repository files navigation

Meta-Harness

Meta-Harness

Meta-Harness is a framework for automated search over task-specific model harnesses: the code around a fixed base model that decides what to store, retrieve, and show while the model works. This repo contains the framework and two reference experiments from the paper.

Paper Website Slides TB2 Harness License

If you build with Meta-Harness, please send us a link. We may feature your work here.

Contents

  • The reusable framework and onboarding flow for applying Meta-Harness to a new domain.
  • Two paper reference experiments under reference_examples/:
    • reference_examples/text_classification/: memory-system search for text classification.
    • reference_examples/terminal_bench_2/: scaffold evolution for Terminal-Bench 2.0.
  • The optimized Terminal-Bench 2 harness from the paper lives in the separate artifact repo: stanford-iris-lab/meta-harness-tbench2-artifact.

Built on Meta-Harness

Projects

  • Don't Train the Model, Evolve the Harness: Applies Meta-Harness to Harvey's Legal Agent Benchmark.
  • SuperagenticAI/metaharness: Python library and CLI for harness optimization with Codex.
  • Harness Forge: Reimplements Meta-Harness as a native Claude Code skill.
  • dkhanal/meta-harness: Independent implementation with a Symptom2Disease demo.
  • meta-harness-on-islo: Applies the Meta-Harness optimization loop to Islo sandboxes.
  • VideoHarness-RSI: Applies Meta-Harness to long-video retrieval and context construction around frozen vision-language models.

Research

  • RRSI (code): Regularizes harness evolution by constraining candidate edits and filtering benchmark-specific or unnecessary changes.
  • WHALE (code): Alternates model fine-tuning with harness search using Meta-Harness.
  • AutoRef (code): Applies harness optimization to multi-reference image generation.
  • MetaBench-Harness: Applies harness search over accumulated execution history to benchmark-generation pipelines.
  • Mixture of Self-Improving Branches: Extends Meta-Harness with adaptive search branches and a router that selects a harness for each input.
  • TTHE (code): Builds on Meta-Harness to evolve harnesses at test time using unlabeled execution traces, adapting to shifting task distributions.

Quick Start

Text classification:

cd reference_examples/text_classification
uv sync
uv run python meta_harness.py --iterations 1

Terminal-Bench 2 single-task check:

cd reference_examples/terminal_bench_2
uv sync
uv run bash scripts/run_eval.sh agents.baseline_kira:AgentHarness full 1 1 -i extract-elf

Use the subdir READMEs for setup details, expected runtime, and additional commands.

Applying Meta-Harness To A New Domain

Start by pointing your coding assistant to ONBOARDING.md and having a conversation with it. The conversation should produce a domain_spec.md with an implementation and evaluation plan for your domain.

The examples use Claude Code as the proposer agent. To use a different proposer agent, adapt the example claude_wrapper.py scripts in reference_examples/text_classification/claude_wrapper.py or reference_examples/terminal_bench_2/claude_wrapper.py. The wrapper must log proposer interactions.

Release Note

This is a cleaned-up version of the code we used for the paper. It has not been tested beyond verifying that it runs. Please let us know if anything goes wrong.

Citation

If this repository is useful for your research, please cite the paper:

@misc{lee2026metaharnessendtoendoptimizationmodel,
      title={Meta-Harness: End-to-End Optimization of Model Harnesses},
      author={Yoonho Lee and Roshen Nair and Qizheng Zhang and Kangwook Lee and Omar Khattab and Chelsea Finn},
      year={2026},
      eprint={2603.28052},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2603.28052},
}

About

Official code for Meta-Harness (2603.28052)

yoonholee.com/meta-harness/

Topics

harness-engineeringllm-agents

Resources

Readme
MIT license
Activity
Custom properties

Stars

1.8k stars

Watchers

11 watching

Forks

179 forks
Report repository

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.