Manuscript Offprint

arXiv:2610.02001

Mingbird: A Local-First Agent Harness Enabling Small Open Models to Complete Real Tasks

Hao Wang, Ting Huang

Abstract

Small open-weight models (2–9B) run on ordinary laptops, but under cloud-scale agent harnesses they rarely complete real tasks: tool prefill overflows the context, self-correction diverges, tool demonstrations loop, and tasks are silently abandoned. We present evidence, from a controlled single-machine comparison and one third-party benchmark, that a substantial share of these failures is attributable to the harness rather than the model. We introduce Mingbird, a local-first agent harness for Windows and Ollama whose ten mechanisms compensate point-by-point for small-model failure forms, three of them representative: a byte-level net-zero prefill budget, a finish gate that re-reads the task before accepting completion, and signature-level loop detection. On LRAB, a controlled comparison holding machine, models, budgets, and scoring fixed (4 harnesses × 4 open models (2B–35B) × 18 real tasks, deterministic artifact scoring), Mingbird reaches 0.886 overall against 0.631 (goose), 0.479 (opencode), and 0.405 (agent-mini), with all 288 cells published; on τ2\tau^{2}-bench (278 tasks, three arms, one protocol) it totals 0.856 against 0.791 and 0.737; and a frontier-model probe on the same 18 tasks spans 0.997 to 0.478 across harnesses, with well-formed scaffolds staying within 0.072 of each other. A leave-one-mechanism-out ablation is reported as directional only: same-night replications of the same arm move its mean by up to 0.069, the size of every nominal single-trial delta, and the one batch-matched comparison (full mechanism stack versus text re-read alone) gives the executable completion guards a paired +0.10 across three replications. The evidence carries stated limits: a self-built benchmark, a single machine, and single-trial scoring.

1 Introduction

Open-weight language models in the 2–9B parameter range have crossed a practical threshold. On a laptop with an integrated GPU and 16–32 GB of shared memory they answer, summarize, translate,

*† These authors contributed equally. * Co-corresponding authors. H. Wang’s contribution is independent work, not affiliated with any employer of the second author. Code, benchmark protocol, scoring code, and all 288 per-cell results are available in the project repository (Apache-2.0), https://github.com/Mingbird/Mingbird-agent. The harness is developed under the GitHub handle Gustor-Wang.

and explain at a level that makes them useful daily tools [1–4]. Local runtimes such as Ollama and llama.cpp made deployment a one-command operation [5, 6]. The prevailing assumption is that such models cannot serve as agents — systems that autonomously execute multi-step, tool-mediated tasks: writing code that passes its tests, organizing files, conducting research with real search, or driving a domain database [7, 8]. A recent position paper argues the opposite for agentic workloads [9]; our results support that view, with one qualification: the limiting component is usually the harness rather than the model.

Our observations conflict with this assumption in a specific way: small models generally produce the correct next action, but cannot reliably emit and execute every step unaided, inside a harness designed for a much larger model. When we drove a 2B model with a cloud-scale agent framework, we observed the same failure forms repeatedly: the static tool prefill alone consumed a large fraction of the context (long-context degradation is well documented [8]); the model could not self-correct after a failed tool call [10, 11]; it looped indefinitely on tool demonstrations; and it sometimes declared a task finished when the artifacts did not exist, or gave up halfway without saying so. These are not failures of capability. They are failures of the scaffold surrounding the model, and we treat them as engineering defects with corresponding engineering remedies.

This paper makes that argument concrete. We describe Mingbird, a local-first agent harness for Windows and Ollama, designed from the start for 2–9B models (upper bound tested at the 35B tier; Table 4). Mingbird is a GUI application and a CLI over one agent loop; it adds no inference machinery of its own and talks to whatever model Ollama serves. Its design consists of ten core mechanisms (M1–M10) plus a five-ring safety model (M14, v1.6.0; M11–M13 are product-level facilities, Section 3.2), each mapped to a failure form we first observed and then measured.

Measuring harness effects requires holding everything else constant, so we built LRAB (Local Real-task Agent Benchmark) as a controlled experiment: 4 harnesses (Mingbird, goose [12], agent-mini [13], and opencode [14], all stock and unpatched) × 4 open models (2B, 4B, 12B, 35B; Table 4) × 18 real tasks, 288 cells in total, on one machine, one backend, uniform time budgets, and deterministic artifact-based scoring. Every one of the 288 cells is published as raw data; every aggregate from the unified-protocol campaigns is directly recomputable from the rows of a published CSV file (the legacy thinking-on sensitivity numbers, retained for comparison in Section 5.4, are aggregate-level only). Because LRAB was designed by us, we also validate externally: on τ2\tau^{2}-bench [15], an independent benchmark we did not design, we ran all three domains (retail, airline, telecom) under one uniform protocol (Section 5.4). Over the 278 scored tasks (114 retail, 50 airline, 114 telecom), Mingbird totals 0.856 against 0.791 for the benchmark's native agent and 0.737 for opencode; the goose arm is deferred for throughput (Section 5.4).

References (50)