Meta-Harness

Automated search for task-specific harnesses around a fixed base model.

Stars
★ 1.8k
Last updated
4d ago
FARS reviewed
Nov 08, 2026
License
MIT
Primary language
Python

At a glance

How it runs
CLIFramework
Works with
Portable with changesClaude Code
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
PythonuvClaude CodeShell / CLINetwork accessLocal filesystem
Typical use
A research team reproducing the paper's memory-system search experiment for text classification.
Not a fit if
  • Teams needing a production-tested tool rather than cleaned-up paper code
  • Users who want a proposer other than Claude Code without writing a wrapper
  • Teams that need documented Python versions, OS support, and runtime costs
Website
yoonholee.com/meta-harness ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-29+3.1 ★/day over 7 days

What does this agent do, and when should you use it?

Meta-Harness is a research framework for automatically searching model harnesses: the surrounding code that controls what a fixed base model stores, retrieves, and sees while working. The repository includes a reusable framework, an onboarding flow for new domains, and two reference experiments from the paper. One experiment searches memory systems for text classification, while the other evolves scaffolds for Terminal-Bench 2.0. Users run searches or evaluations locally through Python and Bash entry points in the experiment directories, and the new-domain workflow produces a domain_spec.md file. The optimized Terminal-Bench 2 harness reported in the paper is distributed separately in an artifact repository.

For text classification, the user enters reference_examples/text_classification, installs the environment with uv, and runs meta_harness.py to search memory-system designs. For Terminal-Bench 2.0, scripts/run_eval.sh accepts an AgentHarness class, evaluation scope, run parameters, and a task identifier such as extract-elf to execute a smoke evaluation. For a new domain, a coding assistant is directed to ONBOARDING.md and uses a conversation to turn domain requirements into domain_spec.md. The shipped experiments use Claude Code as the proposer agent and route it through claude_wrapper.py files that log proposer interactions; another proposer requires adapting those wrappers.

  1. A research team reproducing the paper's memory-system search experiment for text classification.
  2. A Terminal-Bench 2.0 researcher running a one-task smoke evaluation of the baseline AgentHarness.
  3. A developer with a fixed base model exploring storage, retrieval, and context-presentation policies without training the model.
  4. A team onboarding a new task domain and using ONBOARDING.md to develop a concrete domain_spec.md.
  5. An agent engineer studying scaffold evolution who wants two executable reference experiments as a starting point.

How do you install or deploy this agent?

The documented workflow requires a local shell, Python, uv, and the Claude Code proposer environment assumed by the shipped examples. For text classification:

cd reference_examples/text_classification
uv sync

For Terminal-Bench 2.0:

cd reference_examples/terminal_bench_2
uv sync

The supplied material does not specify a supported Python version, operating systems, Claude Code installation or authentication steps, or any other credentials. Those details must be confirmed from the experiment configuration before adoption.

How do you use this agent?

Run one text-classification search iteration:

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

Run the Terminal-Bench 2.0 extract-elf smoke task:

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

For a new domain, give ONBOARDING.md to a coding assistant and work through the conversation that produces domain_spec.md. To replace Claude Code as the proposer, adapt reference_examples/text_classification/claude_wrapper.py or reference_examples/terminal_bench_2/claude_wrapper.py while preserving clean proposer-interaction logging.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Not found in source — apply before daily use
  • sensitive-data handling — Use dedicated, low-privilege, revocable API keys — never production credentials — and keep secrets out of logs.
  • dependency security — Pin versions and run a dependency audit (npm audit, pip-audit) before installing; prefer running it in a container.
  • rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.

What are this agent's strengths and limitations?

Pros
  • It targets the storage, retrieval, and information-presentation code around a fixed model, so model training is not a prerequisite.
  • It ships two concrete reference experiments covering memory-system search and Terminal-Bench 2.0 scaffold evolution.
  • Its ONBOARDING.md workflow turns discussion of a new domain into a concrete domain_spec.md.
  • Separate claude_wrapper.py integration points make the required location for proposer replacement explicit.
Limitations
  • The release note says the cleaned-up paper code has only been checked to run and has not received broader testing.
  • The shipped examples assume Claude Code as the proposer; using another proposer requires custom wrapper work.
  • The supplied documentation does not specify Python versions, supported operating systems, authentication, cost, or full runtime expectations.
  • The paper's optimized Terminal-Bench 2 harness is kept in a separate artifact repository rather than this package.

How does this agent compare with similar options?

Unlike an approach that trains or fine-tunes the base model, Meta-Harness keeps that model fixed and searches the surrounding storage, retrieval, and presentation logic. The repository does not provide a direct benchmark comparison with another named framework.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Meta-Harness This agent 43 · Major gaps CLIFree + model costs ★ 1.8k 4d ago Python Claude Code
Better Harness 76 · Some gaps Agent plugin / skillFree ★ 2.5k 21d ago JavaScript Codex · Claude Code
little-coder: Lightweight Local Coding Agent 72 · Some gaps CLIFree + model costs ★ 2.7k 2mo ago TypeScript —
Mixdog 62 · Some gaps Desktop appFree + model costs ★ 287 2d ago Rust ChatGPT · Codex · Claude.ai · OpenAI API · Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
43/ 100 5-point scale 2.2 / 5
Trust 8/29
Reliability 3/14
Adaptability 10/18
Convention 10/18
Effectiveness 7/13
Verifiability 5/8
Why each dimension lost points
Trust8 / 29 · 1.4/5

The example skills permit candidate code to call arbitrary libraries, rewrite tool execution, and make raw API calls, so privilege boundaries are broad and least privilege is only partial. The skills say the outer loop runs benchmarks and require proposer-interaction logging, but provide no general confirmation, sensitive-data safeguards, or rollback process. The README explains the harness-search framework, examples, and proposer-wrapper data flow. The MIT license and paper citation support attribution, while maintainer and update paths remain unclear.

Reliability3 / 14 · 1.1/5

The README is broadly consistent about the framework, its two reference experiments, and the separate TB2 artifact. The text-classification skill requires three systems per iteration while the TB2 skill requires one variant, reflecting experiment-specific workflows rather than one universal process. The uv commands and Harbor base class provide some dependency guidance, but no lock or dependency-security evidence is shown. The README says the cleaned-up code was only verified to run, and no failure-handling or error-message standard is provided.

Adaptability10 / 18 · 2.8/5

The README targets researchers or developers applying harness search to new domains, with onboarding and two experiments; the skills further specify candidate design and anti-overfitting rules for each experiment. Boundaries are fairly clear: the outer loop runs benchmarks, candidate-file restrictions are stated, and the required base class is named. The one-iteration trigger is precise, but examples depend on Claude Code, a particular benchmark, and a particular model, limiting environment fit.

Convention10 / 18 · 2.8/5

The README has repository navigation, quick starts, and pointers to subproject instructions; the skills provide ordered workflows, filenames, and naming requirements. Installation guidance is usable but depends on fuller subdirectory instructions, and examples/FAQ coverage is limited. The complete MIT license earns full marks. The README explicitly says the cleaned-up release has not been tested beyond confirming that it runs, which is a useful limitation statement. No formal version history is shown; maintenance responsibility is only partly indicated by a feedback request and author/paper details.

Effectiveness7 / 13 · 2.7/5

The framework separates candidate harness search from the evaluation loop, and the examples provide usable commands and candidate structures, showing practical research value beyond manual iteration. Cost-benefit guidance is partial: the TB2 skill states an 89-task benchmark and a default of two trials per task, but gives no ordinary cost estimate; the README points to subdirectory docs for runtime and setup details.

Verifiability5 / 8 · 3.1/5

README claims can be tied to the two reference experiments, commands, and paper citation; the skills add concrete paths, a base class, and workflow details. These sources corroborate the framework organization, but the supplied packet omits the main implementation and complete results, so it cannot substantiate performance claims. The README distinguishes repository contents, paper citation, and the limitation that the cleaned-up code was only verified to run.

Risks and how to mitigate them
  • Not found in source: sensitive-data handlingUse dedicated, low-privilege, revocable API keys — never production credentials — and keep secrets out of logs.
  • Not found in source: dependency securityPin versions and run a dependency audit (npm audit, pip-audit) before installing; prefer running it in a container.
  • Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
  • Example candidates can broadly change Python execution, tools, and API calls; review candidate code and the proposer wrapper’s logging and data handling before use.
  • The README says the code was only verified to run. This assessment is based solely on the supplied static material and does not establish execution validation or performance reproduction.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision f805ad3aa4ad New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/meta-harness.svg)](https://followagents.com/en/agents/meta-harness)
<a href="https://followagents.com/en/agents/meta-harness"><img src="https://followagents.com/badge/meta-harness.svg" alt="FARS review"></a>

FAQ

Does Meta-Harness train or modify the base model?
The described framework fixes the base model and optimizes the task-specific harness around it; no model-training workflow is documented.
Is Claude Code mandatory?
The shipped examples assume Claude Code as the proposer agent. Another proposer can be used only after adapting the relevant claude_wrapper.py and retaining clean interaction logging.
Does this repository include the paper's optimized Terminal-Bench 2 harness?
No. That harness is stored in the separate stanford-iris-lab/meta-harness-tbench2-artifact repository.
What credentials and operating costs are required?
The supplied material does not document credentials, API costs, or Claude Code authentication. These must be established for the chosen proposer environment before running an experiment.
How production-ready is the code?
The release note describes it as cleaned-up paper code that was verified to run but not tested beyond that check.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts