TL;DR
For small language models (SLMs) running locally, the software "harness" wrapped around the model is often more important than the model's parameter count. This paper demonstrates that a harness designed for "completion control"—like the authors' Mingbird—can help a tiny 0.75B model outperform a 4.7B model using a standard wrapper by preventing infinite loops and "quiet stops."
What Problem Does This Paper Address?
As we move toward local AI agents running on consumer hardware (like a single 8GB GPU), we rely on Small Language Models (SLMs) in the 0.75B to 4.7B range. Most existing agent harnesses (the software that builds prompts, calls tools, and manages state) were designed for "frontier" models like GPT-4.
These standard harnesses assume the model is smart enough to follow protocols perfectly. SLMs, however, frequently break these assumptions. They might get stuck in a loop calling the same failing command 200 times, or they might simply stop and claim they are "done" without having written a single file to disk—a phenomenon the authors call a "quiet stop." The researchers wanted to know: if you only have one graphics card, should you spend that memory on a larger model or on better software scaffolding?
Methods
The authors constructed a "ladder" experiment to test the interaction between model size and harness quality.
- The Ladder: They tested four locally deployable model sizes (0.75B, 1.9B, 3.7B, and 4.7B) primarily from the Qwen3.5 family, plus a 35.5B Mixture-of-Experts (MoE) model as an anchor.
- The Harnesses: They compared five different harnesses:
- Mingbird: The authors' harness, featuring "completion control" (it doesn't believe the model is done until specific executable checks pass).
- pi: A minimal construction kit.
- OpenCode & goose: Product-grade harnesses designed for larger models.
- mini-swe-agent: A compact, bash-only control loop.
- The Protocol: Every combination was run against 18 tasks. Crucially, they used a deterministic artifact-level scorer. Instead of reading the model's transcript, the scorer only looks at the files actually produced on disk.
Datasets
The study uses the LRAB (Local Research Agent Benchmark) suite, introduced in previous work by the authors. It consists of 18 tasks across four tiers:
- Retrieval: Extracting data from fixtures.
- Synthesis: Combining information across multiple records.
- Workflow: Multi-step tasks involving file edits and checks.
- Long-horizon: Complex runs with intermediate deliverables.
Key Insights and Ideas
- The "Progress Effect": The primary advantage of a good harness for SLMs isn't making the model "smarter," but keeping it moving. At the 0.75B scale, the gap in performance is almost entirely due to whether the harness can prevent the model from getting stuck.
- The Danger of Exit Status: In 85 out of 127 failed runs, the agent process exited normally even though it produced zero artifacts. A benchmark that only checks if a program "crashed" would incorrectly give these agents a passing grade.
- Anti-Loop Rules are Force Multipliers: One of the most effective features in Mingbird was a simple "streak rule" that blocks a model from making the same tool call eight times in a row. Disabling just this one rule caused the 0.75B model's score to plummet by 0.411, leaving nearly half the tasks with no results.
- Harness Choice > Model Size: A well-harnessed 0.75B model can achieve scores comparable to a 4.7B model using a generic harness. The "harness leverage" is massive at the low end of the parameter scale.
Key Results
- Mingbird won at every size: It achieved the highest mean score across all four rungs of the ladder.
- Massive Spans: At the 0.75B rung, the difference between the best and worst harness was a staggering 0.653 (on a 0-1 scale).
- Saturation at the Top: As models get larger (4.7B and the 35.5B anchor), the gap between harnesses narrows because the models become competent enough to handle even mediocre scaffolding.
- Efficiency: While Mingbird runs might take slightly longer per cell, it was the "cheapest" harness in terms of time per completed artifact set because it actually finished the tasks others failed.
The models used in this ladder are detailed in the table below:
Limitations and Future Work
- Environment Mismatch: The study was conducted on Windows, but several third-party harnesses assumed a Unix-like environment. This led to failures (like unquoted paths with spaces) that Mingbird was specifically tuned to handle.
- Authorship Bias: The authors wrote the winning harness and the benchmark. While they used deterministic scoring to mitigate bias, they acknowledge that a suite written by a neutral third party would strengthen the findings.
- Quantization Confounding: The ladder didn't hold bit-width constant (smaller models used Q8_0 while larger ones used Q4_K_M). While they ran a separate "precision ladder" to account for this, it adds complexity to the size-vs-performance interpretation.
- Future Directions: The authors suggest testing on different operating systems and using larger, more diverse task families to see if these "harness effects" persist in different domains.
Summary updated