
Instead of hand-tuning prompts and memory systems, this framework automatically searches over the scaffolding code around your base model: what it stores, retrieves, and sees at each step. You define an evaluation metric and the proposer agent (Claude Code by default) generates and tests harness variants in a loop, evolving everything from memory strategies to context construction. The repo includes reference experiments for text classification and terminal tasks, plus an onboarding doc that walks you through adapting it to new domains. Think of it as automated hyperparameter search, but for the entire wrapper around your LLM instead of just numerical configs. Works with uv for dependency management, and each experiment is self-contained.
$ npx -y skills add aradotso/trending-skills --skill meta-harness-optimization --agent claude-codeInstalls into .claude/skills of the current project.
Skill by ara.so — Daily 2026 Skills collection.
Meta-Harness is a framework for automated end-to-end search over model harnesses — the scaffolding code around a fixed base model that controls what the model stores, retrieves, and sees while working on a task. Rather than hand-crafting prompts and memory systems, Meta-Harness proposes, evaluates, and evolves harness implementations automatically.
Paper: Meta-Harness: End-to-End Optimization of Model Harnesses
Homepage: https://yoonholee.com/meta-harness/
| Term | Meaning |
|---|---|
| Harness | All code around the base model: memory, retrieval, prompt construction, tool use |
| Proposer Agent | LLM (e.g. Claude Code) that proposes new harness variants |
| Evaluator | Runs proposed harnesses on a benchmark, returns a score |
| Meta-Loop | Iterative propose → evaluate → feedback cycle |
Meta-Harness uses uv for dependency management. Each reference experiment is self-contained:
# Text classification experiment
cd reference_examples/text_classification
uv sync
Sponsors