Meta-Harness
Automated search for task-specific harnesses around a fixed base model.
- Source repo
- stanford-iris-lab/meta-harness
- Stars
- ★ 1.8k
- Last updated
- 4d ago
- FARS reviewed
- Nov 08, 2026
- License
- MIT
- Primary language
- Python
- FA score
- 43/100 · Major gaps
At a glance
- How it runs
- Works with
- Portable with changesClaude Code
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- 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
- Source review
- 43/100 · Major gaps 3 safety controls not found
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.
- A research team reproducing the paper's memory-system search experiment for text classification.
- A Terminal-Bench 2.0 researcher running a one-task smoke evaluation of the baseline AgentHarness.
- A developer with a fixed base model exploring storage, retrieval, and context-presentation policies without training the model.
- A team onboarding a new task domain and using ONBOARDING.md to develop a concrete domain_spec.md.
- 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 syncFor Terminal-Bench 2.0:
cd reference_examples/terminal_bench_2
uv syncThe 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 1Run 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-elfFor 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)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- 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?
- 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.
- 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?
Why each dimension lost points
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.
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.
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.
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.
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.
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.
- 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.
FAQ
Does Meta-Harness train or modify the base model?
Is Claude Code mandatory?
Does this repository include the paper's optimized Terminal-Bench 2 harness?
What credentials and operating costs are required?
How production-ready is the code?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.