Agent Harness Comparison: Testing Four Models on a Complex Frontend Task with Controlled Variables
This article describes a controlled experiment that fixes the agent harness, task, assets, context, browser environment, and acceptance rules while swapping four sub-300B models on a complex frontend product task. It explains the design rationale, task structure, delivery outcomes, and process metrics such as total time, retries, tool calls, action rounds, and token consumption. The main takeaways are that speed and stability are separate dimensions, retry cost is a hidden major overhead, and action rounds reveal planning ability, with recommendations for building a reproducible internal evaluation baseline.
Hi, I’m Lu Xuzhou.
In the previous experiment, I fixed the model and changed only the agent harness. The result showed that harness engineering has a large impact on delivery speed. This time I reversed the variables: keep the framework, task, assets, context, browser environment, and acceptance rules fixed, and swap only the underlying large model. I observed how the same complex product task performed across four models.
This article does not recommend any specific product. It focuses on the experimental method: how to design a fair, reproducible model comparison and what engineering-relevant conclusions can be drawn from the result data.
1. Why Fix the Harness and Change Only the Model
The final performance of an agentic coding system is the combined result of model capability and harness engineering. Without controlling variables, when you see “a combination is faster,” you cannot tell whether the credit belongs to the model or the harness. The core design principles were:
- Unified harness: all groups used the same agent harness, ensuring consistent peripheral logic such as task decomposition, tool calls, and error retries;
- Unified input: task description, seed assets, context content, and browser kernel version were exactly the same;
- Unified budget: all four groups used a 262K context window and a 200K task token budget, and connected to Playwright browser tools through the same MCP protocol;
- Unified acceptance: desktop checks used a 1440×1000 viewport, mobile checks used a 390×844 viewport, first-version screenshots were saved for each group, only one round of fixes was allowed, and final delivery had to include code, screenshots, logs, review records, and metrics.
For model selection, all four tested models were small-to-medium models below 300B parameters, positioned for low cost and high speed. One model known for long-context performance was used as a cross-reference. This answers a more practical question: when a team chooses small or medium models for cost reasons, at which stages does it pay extra costs?
2. Task Design: A Problem with No Reference Answer
The task was ATELIER, a creative studio collaboration system. I deliberately provided no existing page to imitate. The inputs were only six museum public-domain images and seed data for project members, assets, versions, and comments.
The model had to independently implement five states:
- Project overview;
- Moodboard;
- Positioned comments on assets;
- Version approval flow;
- Publish preview.
The page also had to support differentiated views for three roles (creative director, designer, and client), as well as interactions such as asset drag-and-drop, comment positioning, version switching, approve or return, and state persistence after refresh. This task tests not “writing a page,” but integrated engineering capability: state modeling, permission design, interaction implementation, and persistence.
3. Results: Similar Completion, Huge Process Differences
All four models eventually delivered usable systems, with different visual choices: one group chose a light editorial style, with the lightest structure and clear information hierarchy; one used black-gold and off-white colors, with the best brand feel and mobile consistency; one built a dark professional workbench, with the highest information density and engineering completeness; the control group’s completion quality was also above the acceptance line.
The real gap was in process data:
- Model A: completed in 17 minutes with no full rerun, the only one close to “one-pass”;
- Model B: first execution failed; total time including rerun was 1 hour 12 minutes;
- Model C: no full rerun, but triggered 3 internal automatic retries, with total time of 88 minutes;
- Model D: the default retry strategy failed twice consecutively and succeeded only after extended backoff was enabled; cumulative time to first success was 1 hour 04 minutes.
4. Three Conclusions from the Data
1. “Fast” and “stable” are independent dimensions. Model A had fast single-round inference, but more importantly, it rarely triggered retries—its advantage was a high action success rate. Model C was not slow per response, but 3 internal retries dragged it to 88 minutes. When evaluating models, looking only at inference speed can seriously misjudge real delivery efficiency.
2. Retry cost is the hidden largest overhead. In agent scenarios, one failure means that already consumed context and executed tool calls are invalidated or need rollback. Model D’s higher cumulative retry count indicates fluctuation in service stability or output format compliance during long tasks. For production environments, retry count may be even more worth monitoring than first-token latency.
3. Action rounds reflect task planning ability. For tasks of the same complexity, some models covered all acceptance points with fewer action rounds and fewer tool calls, while others consumed rounds in repeated browsing, screenshots, and corrections. This essentially tests the model’s ability to maintain a plan in long context and reduce ineffective exploration.
5. Recommendation: Build Your Own Evaluation Baseline
If your team is also selecting agentic coding models, consider this method:
- Fix the harness and acceptance rules, and design a business task with no reference answer, state management, and permissions;
- Record not only the final artifacts but also five process metrics: total time, retry count, tool call count, action rounds, and token consumption;
- Run at least two rounds to distinguish “capability fluctuation” from “capability ceiling”;
- Calculate the true unit cost as cost divided by “first successful delivery,” rather than looking only at the list price per million tokens.
Conclusion: The biggest takeaway from this experiment is not “who was fastest,” but an upgrade in understanding: model parameter count, positioning label, and list price describe only part of capability. Real agent efficiency is jointly determined by action rounds, tool call success rate, service stability, and context management. Make evaluation a reproducible engineering experiment, and every selection decision will have evidence behind it.
