Evaluating AI Agent Build Efficiency Under a Fixed Execution Framework

    This article presents a controlled method for evaluating AI agent build efficiency by fixing the execution framework and changing only the underlying model. It describes the experiment design, a complex collaborative-product build task, the observed process differences among four models, and the key factors that affect end-to-end performance: action rounds, tool-call quality, service stability and retry strategy, and context management. It also provides reusable metrics, a retry-policy pseudocode example, and engineering recommendations for building more reviewable agent evaluations.

    Evaluating AI Agent Build Efficiency Under a Fixed Execution Framework

    In agent engineering practice, model capability is not the only variable that determines task efficiency. The execution framework, tool-calling approach, retry strategy, context budget, browser control interface, and acceptance rules can all significantly affect end-to-end performance. This article discusses a comparative evaluation method that is closer to real engineering scenarios: fix the same execution framework, keep the task, materials, context budget, browser environment, and acceptance rules unchanged, and replace only the underlying model. The goal is to observe process differences among models on a complex product build task. This article does not target any specific commercial product; it discusses a general evaluation method and engineering implications.

    1. Experiment Design: Fix the Execution Framework and Replace Only the Model

    In this experiment, the execution framework was fixed to the same agent runtime environment. The four experiments used the same task description, seed data, context budget, browser control interface, and acceptance scripts, replacing only the underlying model. The models compared included three models in the roughly 300B-parameter-or-below class, plus one control model. They are referred to as Model A, Model B, Model C, and Control Model D.

    The unified settings were as follows:

    • Context window: 262K;
    • Task budget: 200K;
    • Browser environment: page opening, screenshots, interactions, and state checks were performed through a unified browser control interface;
    • Desktop inspection size: 1440×1000;
    • Mobile inspection size: 390×844;
    • First-version screenshots were saved for each group;
    • Only one repair round was allowed;
    • The final output had to retain code, screenshots, logs, review records, and metric data.

    The core of this design is variable control. If both the execution framework and the model are changed at the same time, it is difficult to determine whether efficiency differences come from model reasoning ability, tool-call stability, or the framework’s own scheduling strategy. With the execution framework fixed, model behavior differences are reflected through the number of action rounds, tool-call sequences, failure recovery methods, context compression strategies, and final artifact quality.

    2. Task Definition: Building a Complex Collaborative System

    The experimental task was to build a creative studio collaboration system. The input contained only six public art image assets, project members, assets, versions, and comment seed data. There was no existing page to copy. The model had to complete five core states on its own:

    1. Project overview;
    2. Mood board;
    3. Asset-anchored comments;
    4. Version approval;
    5. Publish preview.

    The system also had to support three roles: creative director, designer, and client. Different roles had different permissions and operation paths. The pages needed to support asset dragging, comment positioning, version switching, approval or rejection, and state persistence after refresh. The acceptance rules covered both desktop and mobile, requiring complete retention of first-version screenshots, post-fix screenshots, runtime logs, and review records.

    This type of task is closer to a real business system than single-page generation. It examines information architecture, state management, permission control, interaction details, responsive layout, and persistence at the same time. The final screenshot can only show whether the task was completed; process logs are needed to explain why it was fast or slow.

    3. Results Overview: All Four Completed, but Process Differences Were Larger

    All four models eventually completed the task, but there were clear differences in time and process. Under the conditions of this experiment:

    Observation Model A Model B Model C Control Model D
    End-to-end time 17 minutes 1 h 12 min, including a rerun after first-round failure 88 minutes, including 3 internal automatic retries Cumulative time to first success: 1 h 04 min
    Retry characteristics Short process First attempt failed; whole-run rerun No whole-run rerun; internal automatic retries Default retry failed twice consecutively; completed after extended backoff
    Page style Light editorial style, lightweight structure Black-gold and off-white combination, strong brand feel Dark professional workbench, high information density Archive-system style, fine-line tables and thumbnail organization
    Completion States, assets, and member relationships were clear Permission matrix and approval states were unified; mobile consistency was strong Navigation, progress, roles, delivery, approval, and asset canvas were complete Archival visual style and work thumbnail organization were relatively complete

    Model A used a light editorial style with the lightest structure. Project states, assets, and member relationships were readable at a glance, and it finished in 17 minutes. Model B used a black-gold and off-white combination, with serif headings, a permission matrix, and approval states forming a unified exhibition-style editorial aesthetic. Its brand feel and mobile consistency were strong, but the first attempt failed, and including the rerun it took 1 h 12 min. Model C chose a dark professional workbench and placed navigation, project progress, roles, delivery, approval, and the asset canvas into one complete system. It had the highest information density and engineering completeness. It did not perform a whole-run rerun, but it executed for 88 minutes with three internal automatic retries. Control Model D used an archive-system style, with black serif headings, an off-white background, fine-line tables, and work thumbnail organization. Its default retry policy failed twice consecutively, and it completed after extended backoff, with cumulative time to first success of 1 h 04 min.

    4. Why “Fast” Does Not Equal “Cheap”

    The most important conclusion from this set of experiments is that a low-cost or high-speed model positioning describes only part of the capability. Real agent efficiency is determined by at least four dimensions together.

    First, the number of action rounds. Whether a model can complete page structure, interactions, and state checks in fewer rounds directly affects total duration. More rounds are not necessarily wrong, but each round may introduce new tool calls and context overhead.

    Second, tool-call quality. The number of browser control interface calls, screenshot timing, interaction targeting accuracy, and recovery methods after failure all affect execution efficiency. One invalid click or wrong selector can trigger multiple rounds of troubleshooting.

    Third, service stability and retry strategy. Default fixed retries, exponential backoff, whole-run reruns, and internal automatic retries have completely different effects on end-to-end time. A whole-run rerun loses some intermediate state, while internal retries may preserve context but can also mask localized errors.

    Fourth, context management. A 262K context and a 200K task budget do not mean that all logs can be dumped in blindly. In long tasks, history needs to be compressed, key states preserved, and redundant screenshot descriptions discarded; otherwise, context expansion will slow down subsequent reasoning.

    5. Reusable Evaluation Metrics and Collection Methods

    For similar evaluations, it is recommended to collect at least the following metrics:

    • Time to first success;
    • Total execution duration;
    • Number of whole-run reruns;
    • Number of internal automatic retries;
    • Total tool calls and failed tool calls;
    • Number of context compressions;
    • First-version screenshots and post-fix screenshots;
    • Passed acceptance items on desktop and mobile;
    • State persistence after refresh;
    • Completeness of final code, logs, and review records.

    The following pseudocode illustrates a unified wrapper for retry policy:

    1. def evaluate_agent(model, task, context_budget):
    2. trace = []
    3. for attempt in range(policy.max_attempts):
    4. try:
    5. result = run_agent(
    6. model=model,
    7. task=task,
    8. context_budget=context_budget
    9. )
    10. if validate(result):
    11. trace.append({"attempt": attempt, "status": "success"})
    12. return result, trace
    13. except TransientError as error:
    14. trace.append({
    15. "attempt": attempt,
    16. "status": "retry",
    17. "error": str(error),
    18. "backoff": compute_backoff(attempt)
    19. })
    20. sleep(compute_backoff(attempt))
    21. return None, trace

    The point of this pseudocode is not the specific interface, but the unified recording of failure type, retry count, backoff time, and final status. Otherwise, looking only at the final screenshot makes it impossible to distinguish a single success, a success after a whole-run rerun, and a success after multiple internal retries.

    6. Engineering Implications

    For agent products and evaluation systems, the following principles are recommended:

    1. Fix the execution framework before comparing models, to avoid mistaking framework differences for model differences;
    2. Record both time to first success and total duration, to avoid average values hiding retry costs;
    3. Distinguish whole-run reruns from internal retries, because they have different effects on state management and user experience;
    4. Include mobile consistency, refresh persistence, and permission matrices in acceptance, rather than looking only at first-screen screenshots;
    5. Set up context compression and state snapshot mechanisms for long tasks to reduce the risk of context expansion;
    6. Treat tool-call failure rate, retry backoff strategy, and service stability as first-class metrics;
    7. Retain code, screenshots, logs, review records, and metrics to form a reviewable evaluation loop.

    7. Conclusion

    Under the same execution framework, the same complex product task, and the same set of acceptance rules, all four models completed the task, but the process differences were more valuable than the final screenshots. Model A finished in 17 minutes; Model B failed on the first round and took 1 h 12 min after rerunning; Model C executed for 88 minutes with three internal automatic retries; Control Model D completed after its default retry failed twice consecutively and extended backoff was applied, with cumulative time to first success of 1 h 04 min. This shows that agent efficiency is not a single model-speed metric, but the combined result of action rounds, tool calls, service stability, and context management. Only by including process metrics in evaluation can real engineering efficiency be understood more accurately.