Evaluating Multi-Model Website Replication: A Practical Benchmark for AI Agents

    This article presents a practical evaluation framework for comparing how different LLMs and agent harnesses replicate a live conversational web application. It defines three deliverables, a two-round prompting strategy that separates static reconstruction from API integration, a six-dimension weighted scorecard, and a list of common defects, along with guidance on scoping the improved version and rolling the benchmark into a repeatable selection pipeline.

    1. Background and Problem Definition

    Once the open-source ecosystem releases a batch of model weights with broadly similar capabilities, the real challenge for a team is no longer “can we call the model” but “which combination of models and agent frameworks can we actually ship.” This article strips away the third-party product specifics from the source material and frames the problem as a general engineering task: given a conversational web application that is already live, candidate agents must produce three deliverables within a limited number of turns — a product feature description with a structure diagram, a high-fidelity interface replica, and an improved version based on their own judgment.

    The task is valuable because it stress-tests four capabilities at once: interface semantic understanding, state and interaction modeling, integration work under real credentials, and the initiative to find defects and iterate. A weakness in any one of them shows up in the final output.

    2. Evaluation Design: Candidate Combinations and Deliverables

    The evaluation uses a two-dimensional combination of “model + execution harness,” for six groups in total. Differences on the harness side are deliberately preserved, because in real engineering models rarely run bare — tool calls, file reads and writes, browser operations, and context management are all decided by the harness.

    The deliverables are defined uniformly:

    • Product documentation: feature list, information architecture, page navigation relationships, with a structure diagram attached;
    • High-fidelity replica: layout, dimensions, color scheme, interactions, and the main flow must match the original site;
    • Improved version: fill the gaps based on an understanding of the original design intent; introducing common industry capabilities is allowed.

    The design of the two prompt rounds is the key to the whole evaluation. The first round provides only the role, the goal, and the acceptance criteria, with no credentials at all; only the second round injects the calling key. The purpose is to observe “static reconstruction ability without credentials” and “dynamic integration ability with credentials” separately.

    3. Execution Flow and Key Observation Points

    The core constraints of the first-round prompt can be abstracted into the following structure:

    1. Role: Senior product manager + frontend implementer
    2. Input: Target site URL, API documentation URL, available page browsing tool (logged-in state)
    3. Output: Documentation / replica page / improved page
    4. Constraint: No reliance on any prebuilt skill pack or external memory; execute directly

    The first round generally produces a static skeleton; the differences appear in the second round. After the key is injected, some agents perform only the shallowest connectivity check of “does it return a single sentence,” while others proactively run multi-turn conversations, streaming output, malformed input parameters, very long contexts, and concurrent requests — thereby exposing missing error-code handling, an inconsistent message state machine, and lost scroll position and input focus.

    The first methodology point here: verification depth is a stronger discriminating metric than first-screen fidelity. Interface similarity can be imitated from screenshots; integration depth can only come from engineering habit.

    4. Evaluation Dimensions and Quantitative Scoring

    A scorecard with six dimensions is recommended, each scored 0–5 and combined as a weighted sum:

    Dimension Focus Weight
    Documentation quality Feature coverage, structure diagram accuracy 0.15
    Visual fidelity Layout, spacing, responsive breakpoints 0.25
    Interaction fidelity State machine, keyboard shortcuts, error states 0.25
    Integration depth Breadth of testing after credentials 0.20
    Proactive optimization Defects found and number of iterations 0.10
    Stability Variance across repeated runs 0.05

    For “stability,” it is recommended to repeat the same combination three times and take the variance, so that an accidental success is not mistaken for capability.

    5. Typical Defect List

    • Mobile input box position and size offset, with no handling of the safe area;
    • Share-type links fail within the same browser session, with no cross-session acceptance check;
    • Streaming rendering and auto-scroll interrupt each other;
    • Error codes are not mapped to user-readable messages;
    • No history message truncation strategy under long contexts;
    • Accessibility attributes (labels, focus order) are missing entirely.

    6. Reasonable Boundaries for the Improved Version

    Improvement is not about piling on features. Viable general directions include session grouping and retrieval, interruptible generation, message-level retry, export and templates, keyboard-first operation, and observability instrumentation (logging service plus monitoring alerts). If files and attachments are involved, object storage can carry them, a message queue can smooth out peaks, and a container platform can provide elastic scaling. These all belong to general capability categories and do not assume any vendor-proprietary interface.

    7. Conclusion and Rollout Recommendations

    Overall, the most reliable combination is often not the one with the most aggressive parameters, but the agent that documents in detail, replicates faithfully, and is willing to dig deeper once it has the key. For rollout, three steps are recommended: first establish a baseline with a unified prompt, then use the two-round credential strategy to separate integration depth, and finally use the weighted scorecard and repeated runs to lock down variance. If a team is already using model services and the accompanying engineering capabilities on Baidu AI Cloud, the scorecard above can be plugged directly into the pipeline to form a regression-testable selection baseline.