Benchmarking Front-End AI Agents on Complex Tasks: Why Stability Matters More Than Speed
In complex software development tasks, a model's raw response speed does not directly translate into real productivity. This article presents a controlled benchmark of four differently positioned large language models, all running in the same agentic development framework with identical tasks, assets, context windows, browser environments, and acceptance criteria. By changing only the underlying model, we examine how model capability affects real agentic development workflows, including task decomposition, tool-call stability, failure recovery, context management, and acceptance validation. The results show that completion alone is not a measure of efficiency: first-time success, retry behavior, and human intervention costs are equally important. We conclude with a practical evaluation framework covering process, outcome, and cost metrics, arguing that agent evaluation should move from "can it generate?" to "can it deliver reliably?"
In complex software development tasks, a model’s per-response speed does not directly represent real productivity. This is especially true when a task involves page design, interaction implementation, state persistence, browser operations, and automated acceptance checks. Total completion time is usually determined by multiple factors working together: whether the model can correctly decompose requirements, whether tool calls are stable, whether it can recover from failures, whether the context remains effective over a long session, and whether the generated output satisfies the acceptance rules.
This article is based on a set of controlled side-by-side experiments comparing four large language models with different positioning. The experiments keep the task, assets, context window, browser environment, and acceptance rules unchanged, and only swap the underlying model. The goal is to observe how differences in model capability affect a real agentic development workflow.
1. Why the Agent Framework Must Be Fixed for a Fair Comparison
If you change the model, the development framework, the browser tooling, and the task content all at once, the final results cannot tell you which variable caused the difference. For this reason, the experiment follows a single-variable control approach:
- Use the same agentic development framework throughout;
- Provide the same task description, asset files, and seed data;
- Use the same browser automation capabilities;
- Set the same context capacity and task budget;
- Run the same desktop and mobile checks;
- Require all runs to save code, screenshots, logs, and review results;
- Replace only the underlying large language model.
This methodology is closer to engineering evaluation than to simply comparing how well models generate a snippet of code. In real projects, a model must do more than “write code” — it must continuously observe pages, execute operations, locate problems, modify the implementation, and re-validate the results.
2. The Test Task: Building a Creative Collaboration System
The task was to design and implement a collaboration system for creative teams. No existing pages were provided as a reference, so the model had to complete the product design on its own, based only on text requirements, basic assets, and seed data.
The input materials included a set of open images, project members, asset information, version records, and comment data. The final product had to cover at least the following functional areas:
Project Overview
Display project status, current phase, owners, member relationships, and recent activity. When a user enters the system, they should quickly understand what stage the project is in and what needs to be handled next.
Inspiration and Asset Management
Organize image assets as boards or cards, support viewing asset details, adjusting the arrangement, and attaching comments. Beyond looking good, the pages must make the relationship between assets and the project clear.
Positioned Asset Comments
Comments must not simply appear at the bottom of a page — they should be associated with specific assets or local regions. Users need to know which image, which version, and which area each comment refers to.
Version Approval
The system must support version switching, approval, rejection, and status display. Users with different roles should see action entries that match their responsibilities.
Release Preview
Provide a preview page to check the final deliverable, while keeping the preview state consistent with the project state.
In addition, the system defines three roles: creative lead, designer, and client. The roles differ in permissions, and the boundaries between viewing, editing, commenting, approving, and publishing must be reflected.
3. Unified Test Environment and Acceptance Criteria
To avoid judging only by final screenshots, the experiment tracks both process metrics and delivery metrics.
The unified environment includes:
- Context capacity at roughly the 260K level;
- A unified execution budget per task;
- Browser automation tools for page access and interaction;
- Desktop checks at 1440×1000;
- Mobile checks at 390×844;
- The first version of each task is preserved;
- Only one round of concentrated fixes is allowed;
- Code, screenshots, execution logs, review records, and metrics must all be retained.
Acceptance criteria fall into four dimensions:
3.1 Functional Correctness
This includes whether page routing is complete, whether interactions actually work, whether state changes update immediately, whether data persists after a page refresh, and whether role permissions match the task requirements.
3.2 Visual Consistency
This includes the color system, typographic hierarchy, card spacing, button states, information density, and desktop layout. For mobile, checks also cover horizontal overflow, untappable buttons, tables extending beyond the screen, and broken content hierarchy.
3.3 Complex State Handling
A complex product is usually not a static display page but a combination of multiple states. For example, an asset may simultaneously be in “draft,” “pending review,” “approved,” or “returned” status. The model must keep state consistent across pages, not merely change the displayed text on the current page.
3.4 Failure Recovery
During execution, an agent may encounter page load failures, element-locating failures, script runtime exceptions, excessive context length, or incomplete tool responses. A strong model should not blindly repeat the same operation; it should identify the cause of the failure and adjust its strategy.
4. Results: Completing the Task Is Not the Same as Being Efficient
All four models eventually completed the task, but their execution processes differed significantly.
The first model finished the main build in about 17 minutes. Its overall structure was relatively clean, with a clear page focus — project status, member relationships, and asset information were quickly identifiable. Its strength was a short decision path, enabling fast conversion from requirement understanding to a working page.
The second model did not pass all checks on its first run and completed the task only after a re-run, for a total of about 1 hour 12 minutes. Its final result had strong branded visual expression — a consistent editorial style combining dark and light palettes, serif headings, and approval states, with relatively complete mobile adaptation. However, the first-round failure imposed a significant time cost.
The third model did not fully restart the task; instead, it performed multiple internal automatic retries during execution, completing in about 88 minutes. The system it built had high information density, forming a fairly complete workbench structure covering navigation, roles, project progress, deliverables, approvals, and the asset canvas — broad engineering coverage. But the longer execution chain meant the model had to maintain context and task state for much longer.
The fourth model failed twice in a row under the default retry policy, and only completed after the backoff strategy was adjusted, with the first successful run totaling about 1 hour 04 minutes. Its pages adopted an archive-like visual language, emphasizing black headings, light backgrounds, thin-line tables, and work thumbnails — a strongly presentation-oriented style. However, its recovery efficiency after tool-call failures was relatively limited.
These results show that “whether the model ultimately completes” is only the first layer of metrics. From a productivity perspective, you must also observe:
- Time from start to the first usable result;
- Whether a first failure requires a full re-run;
- Number of automatic retries;
- Number of tool calls per round;
- Whether the context keeps ballooning;
- Whether fixes introduce new regressions;
- Whether the final output needs manual cleanup.
5. Five Key Factors That Affect Agent Efficiency
5.1 Number of Action Rounds
Complex tasks typically go through requirement analysis, file reading, page generation, application startup, browser checks, error localization, code modification, and re-validation. Every additional action round increases the cost of tool calls and context maintenance.
So instead of only looking at how fast the model outputs each response, look at whether it can achieve the same goal with fewer action rounds.
5.2 Tool-Call Stability
Agents typically depend on the file system, the terminal, the browser, and page-inspection tools. An anomaly in any of these can stall the entire pipeline.
A stable execution strategy should include:
- Confirming the target page or file exists before calling;
- Setting explicit success criteria for critical operations;
- Reading error messages after failure instead of blindly repeating;
- Keeping backups for irreversible operations;
- Saving intermediate state after each phase completes.
5.3 Retry Strategy
Retrying is not the same as recovery. Unconditionally repeating the same request usually reproduces the same failure.
A more reasonable retry mechanism distinguishes failure types:
- Page not yet loaded: wait and re-check;
- Element-locating failure: re-fetch the page structure;
- Data state error: inspect the seed data and state transitions;
- Script runtime exception: narrow the change scope and verify in isolation;
- Service temporarily unavailable: apply increasing backoff;
- Context too long: compress history while preserving key state.
5.4 Context Management
The longer a complex task runs, the more history, logs, page results, and code fragments accumulate. If the model cannot proactively compress context, it may suffer from scattered attention, repeated operations, and forgetting the acceptance criteria.
In engineering terms, the task can be split into phases, with a short state summary generated at the end of each phase:
Phase: page structure completeDone: project overview, asset board, version listPending: role permissions, refresh persistence, mobile overflowCurrent risk: approval status not yet synced with preview pageNext: verify state transitions first, then apply visual fixes
This kind of structured record helps the model stay on course over a long workflow.
5.5 The Acceptance Loop
If a model judges completion only by whether code has been generated, the final result is likely to have obvious problems. A closed loop of “implement — run — inspect — fix — re-verify” should be established.
Key checks include:
- Whether state is lost after a refresh;
- Whether different roles can perform unauthorized actions;
- Whether horizontal scrolling appears on mobile;
- Whether images, buttons, and text overlap;
- Whether comments still point to the correct objects after version switching;
- Whether first load and empty-data states are usable.
6. How to Design a More Reliable Model Evaluation
To make benchmark results more meaningful, we recommend splitting evaluation into three categories of metrics.
Process Metrics
These include total time, time to first success, number of action rounds, number of tool calls, failure count, and retry count. They reflect execution efficiency and stability.
Outcome Metrics
These include feature completion rate, page coverage, visual consistency, mobile adaptation quality, state persistence accuracy, and permission-logic accuracy. They reflect the quality of the final deliverable.
Cost Metrics
These include whether a full re-run is needed, the number of human interventions, the number of fix rounds, and the scale of logs and context. In enterprise environments, cost metrics often matter more than per-response speed.
A simple composite evaluation can be expressed as:
Overall efficiency = Outcome quality ÷ (Execution time + Retry cost + Manual fix cost)
This is not a strict billing formula but an evaluation framework. It reminds us that a faster model is not necessarily a better one — if it fails frequently, makes repeated calls, or requires extensive manual cleanup, overall efficiency can still be low.
7. Practical Advice: Don’t Just Pick the “Fastest Model”
For complex front-end and interactive product tasks, model selection should match the scenario:
- For well-structured tasks with small page scope, prioritize fast-responding models with short action paths;
- For tasks emphasizing visual expression and brand style, focus on design consistency and mobile adaptation;
- For tasks involving heavy state, permissions, and workflows, prioritize long-run stability;
- For unstable tool environments, focus on failure diagnosis and recovery ability;
- For tasks that must run continuously for a long time, focus on context compression and phase-summary capabilities.
A safer approach is not to have a single model do everything, but to build a phased workflow: let the model first decompose requirements and build the page skeleton, then move on to feature implementation, browser validation, and targeted fixes. For high-risk steps, add human confirmation points to prevent errors from propagating across pages.
Conclusion
The most important conclusion from this side-by-side experiment is that the real capability of an agentic development system cannot be summarized by a model name, parameter scale, or per-response speed.
Under identical tasks and tooling, some models produced a first version quickly, some delivered standout visual quality, some achieved broader feature coverage, and some paid a heavy time cost in failure recovery. Their differences lie not only in the quality of generated code, but in how they plan actions, call tools, handle errors, manage context, and complete final acceptance.
Therefore, agent evaluation should be upgraded from “can it generate?” to “can it deliver reliably?” Only by placing output quality, execution time, retry cost, state consistency, and human intervention cost into a single metric system can we reach conclusions that reflect real production environments.
