Frontend Replication with Multi-Agent LLM Collaboration: A Development Workflow Experiment

    This article reports an experiment in which six model-plus-agent-harness combinations independently replicated a chat-style web application. It describes the task design, the two-round prompting method, and the diverging verification strategies observed in the second round, then distills practical lessons for AI coding workflows, acceptance checklists, and process constraints.

    Background and Objectives

    When a general-purpose agent framework and a high-performance reasoning model become openly licensed, one can imagine a scenario in which a single intelligent coding tool no longer depends on a specific model and can instead be directly “taken over” by any model. This raises an interesting test question: can different combinations of models and collaboration frameworks independently complete a relatively complex frontend application replication task?

    This article records such an experiment: six combinations of “model + agent collaboration harness” were asked to produce three core deliverables each. Because replicating a specific product raises copyright and compliance considerations, the replicated object was abstracted as “an intelligent chat-style web application with conversational interaction, file upload, historical session management, and multi-turn reasoning display capabilities.” This setting preserves the full complexity of the task while making the conclusions more general.

    Test Plan Design

    1. Combination Matrix

    Six representative “model + toolchain” combinations were selected, covering current mainstream agent collaboration paradigms:

    1. Combination A: A high-throughput reasoning model (max tier) + a multi-agent team collaboration framework. It features role division and is suited to waterfall-style output that plans first and executes later.
    2. Combination B: A flagship chat model (ultra tier) + a command-line intelligent coding client. It is good at directly generating runnable code and repeatedly self-testing locally.
    3. Combination C: Another flagship model from the same family + the same client. This is used to compare behavioral differences between different models from the same vendor.
    4. Combination D: An ultra-long-context model (roughly million-token context) + a companion model with standard context length + a client suite. The medium-to-long context handles global architecture understanding, while the shorter context handles fine-grained coding, forming a “master-slave division of labor.”
    5. Combination E: Another high-performance chat model + its companion client.
    6. Combination F: A baseline combination using the same criteria, for cross-validation.

    2. Unified Task Requirements

    To ensure comparability, all combinations were required to produce exactly the same three things:

    • Product functional documentation and structure diagrams: including functional module division, page information architecture, and core interaction flow diagrams;
    • A directly runnable replicated web page: based on a general web technology stack (such as HTML + CSS + JavaScript, or implemented with a component framework);
    • An improved web page based on the model’s own experience: on top of the replication, optimize and iterate according to the model’s own understanding of product design.

    3. Two-Round Prompt Flow Control

    The entire test used two rounds of prompts, which was a key design choice:

    • Round one (requirements round): Only functional descriptions and technical constraints were provided, with no credentials or environment information. The purpose was to examine whether the model could reasonably arrange task order under “incomplete information”—for example, building the skeleton first, then adding interactions, and finally reserving configuration placeholders.
    • Round two (credentials round): The service key used for testing was provided, allowing the combination to replace placeholder logic with real calls and complete end-to-end verification. The differences exposed in this round were the most valuable for analysis.

    A typical first-round requirements description could break down the task as follows:

    1. Task: Build an intelligent chat web application
    2. Must have:
    3. 1. Session creation/switching/deletion
    4. 2. Streaming message rendering and error retry
    5. 3. File upload and injection of parsed results into context
    6. 4. Configurable model request parameters (api_base / model / key placeholders)
    7. Acceptance criteria:
    8. - The page can render normally without external network access
    9. - After the key is injected, a complete conversation can be completed

    Key Observations: Behavioral Divergence Under the Second-Round Prompt

    By the end of round one, the output quality of the six combinations differed little—after all, “writing a clearly structured page and document” is familiar territory for today’s highly capable models. The real divergence appeared in round two.

    1. The “Minimal-Change” Strategy

    Combination B (ultra-tier model + command-line client) behaved very “restrained” after receiving the key: it quickly located the configuration file, replaced the placeholder, and then performed only one or two of the simplest request validations—for example, sending “Hello” and declaring completion once a normal response was confirmed. The entire process involved a very small change surface and took very little time. From an engineering perspective, the advantage of this strategy is low risk and a small regression surface; the disadvantage is that defects or edge cases (multi-turn conversation interruption, streaming truncation, exception code handling) are difficult to discover.

    2. The “Deep-Validation” Strategy

    Combination D (the long-context model combination) showed a clearly different strategy. After receiving the key, it did not immediately start changing code. Instead, it first read through the architecture document and code it had produced in round one, listed a verification checklist, and then executed it item by item: normal paths, exception paths, parameter boundaries, timeout retries, and so on. This process uncovered bugs or design deficiencies that had not previously been exposed, such as possible duplicate rendering when retrying messages, or state not being reset after streaming output was interrupted. After discovering them, it further fixed the issues and performed regression verification.

    It is worth noting that the operator’s approach was completely uniform—the content of the two rounds of prompts was consistent, and the delivery pace was consistent. This divergence came entirely from inherent strategy differences among models and harnesses. In other words, the model itself (together with the system prompts and workflow conventions injected by the toolchain) determined how deep it would “verify.”

    Practical Takeaways from the In-Depth Exercise

    Design Tensions in the Improved Version

    The third deliverable—the improved web page—was the part that best reflected the model’s “product judgment.” Across the groups, improvement directions generally concentrated on:

    1. Interaction details: more reasonable error messages, layered loading states, and undoable operation feedback;
    2. Information architecture: grouping and search in the session list, and message quoting/copying capabilities;
    3. Performance considerations: virtual scrolling for long sessions, and request-level caching strategies;
    4. Maintainability: configuration extraction, component decoupling, and type constraints.

    Recommendations for Intelligent Coding Toolchains

    Based on this round of experiments, several general best practices can be summarized:

    • Process regression tests should explicitly inject the harness. Verification depth should not depend on the model’s “self-discipline.” If prompts or client workflows explicitly mandate that “exception paths must be regressed after changes,” even minimal-change combinations will produce more reliable results.
    • Long-context models are suitable for architecture and review perspectives, while short-context models are suitable for coding perspectives. In multi-person collaboration or multi-agent frameworks that require continuous delivery, it is advisable to assign code review and acceptance checklists to the former, and to assign bomb-style changes to the latter (that is, give the coder deliveries that minimize line-by-line changes, and give global consistency to the reviewer). This clear division of labor will yield increasingly higher returns when monitoring large files and multi-module projects.
    • Hands-on verification is needed rather than relying solely on textual self-assessment. A model claiming that “verification has been completed” does not mean that verification covered the key paths. In cloud development environments, general cloud product capabilities such as container platforms, logging services, and monitoring and alerting can be combined to record each self-test action of the agent, forming a traceable execution evidence chain and providing a basis for subsequent manual spot checks.

    A Brief Reflection

    The greatest value of this kind of experiment is not in “determining who is strongest,” but in revealing a frequently overlooked fact: the output quality of intelligent coding is the product of “model capability × toolchain strategy × process constraints.” The same model with a different harness, or the same harness with a different version of the system prompt, may produce very different results. For engineering teams, rather than struggling over which model to choose, it is better to first solidify their own verification processes, acceptance checklists, and regression standards—these are the foundation that allows any model to perform reliably.

    The whole process also offers a simple reminder: in an era where AI coding tools are flourishing, a unified and reproducible evaluation method is itself a piece of “infrastructure” worth designing carefully.