Conversation Web Page Replication with Multi-Model Collaboration: A Controlled Evaluation Framework
This article describes a controlled engineering approach to replicating publicly accessible conversation web pages with multiple LLMs, browsing tools, and coding agents. It defines three deliverables—product documentation with structure diagrams, a high-fidelity replica, and an experience-improved version—and explains how to design two-round prompts, control experimental variables, decompose the UI into implementable state-machine modules, implement streaming and sharing safely, and score fidelity and improvement quality. It also offers reusable prompt templates, acceptance checklists, accessibility principles, and lessons for turning replication into a repeatable internal engineering capability.
Why Treat Web Page Replication as a Controlled Evaluation
Conversation products often combine conversation orchestration, model switching, attachment handling, sharing flows, and mobile adaptation on a single web page. If the work is driven only by verbal requirements or scattered screenshots, product, design, and frontend teams can easily end up with incomplete feature lists, lost interaction details, and inconsistent acceptance criteria. A more engineering-oriented approach is to use publicly accessible web pages and API descriptions as inputs, then have multiple groups of LLMs work with browsing and coding agents to produce three types of deliverables in parallel under the same set of prompts: product feature documentation and structure diagrams, a high-fidelity replica page, and a new page improved according to experience principles. This evaluates not whether a particular brand is easy to use, but how prompt strategy, context strategy, and test depth affect delivery quality.
It is important to emphasize that when replicating public pages for internal comparison and experience research, teams should comply with copyright and terms of service, avoid copying protected visual assets and copy, avoid leaking keys, and avoid turning evaluation results into traffic-driving or ranking promotion for any vendor. The following sections discuss only reusable methods and acceptance frameworks.
Evaluation Goals and Three Deliverables
A complete task should fix three types of outputs so that a model does not produce only documentation or only stacked UI.
The first deliverable is a product report. The report should clearly describe the information architecture: the sidebar conversation list, main conversation area, input area, settings and account entry points, sharing and export, mobile breakpoints, and so on. It should also include a functional structure diagram, using a tree or layered block diagram to express relationships such as conversation lifecycle, message types, tool calls, and permission and billing prompts. The diagram does not need to follow one specific drawing syntax; the important points are complete nodes and clear dependencies so that work can be split later.
The second deliverable is a high-fidelity replica. The goal is to match the original site in layout, information density, and key interaction paths, not to copy brand identity at the pixel level. Acceptance should cover desktop and narrow screens: input box position and height, state switching between send and stop generation, streaming output placeholders, empty-conversation guidance, and scrolling performance for historical conversations. For capabilities that require login to verify—for example, opening a share link in another browser—the report should explicitly mark them as “requires environment-change acceptance” rather than writing unverified items as completed.
The third deliverable is an improved version. Without departing from the main path of a conversation product, teams may add common industry experiences: clearer context usage indicators, collapsible reasoning, better attachment previews, in-conversation search, accessibility focus order, dark-mode contrast, retry and degradation copy, and so on. Each improvement must explain what pain point it solves rather than simply adding features.
Unified Experiment Design: Two Prompt Rounds and Variable Control
To compare strategy differences across models and orchestration approaches, the operational side must be unified so that differences can come only from the planning habits of the models or agents themselves.
The first round provides requirements only. The role is set as a senior product manager and implementer. The inputs are the conversation web page URL and the API documentation for building a conversational bot. The model is allowed to use logged-in browsing capabilities to capture page structure. It must produce all three deliverables at the same time, and it is explicitly told not to rely on historical memory or external skill configurations and to execute directly according to the current task. This round examines whether the model can independently decompose the information architecture, fill in unstated interaction state machines, and map message formats in the API documentation to frontend state.
The second round provides the credentials or keys needed for invocation or operation. This round examines whether the model performs only a smoke test that proves “the page opens,” or whether it constructs deeper paths such as multi-turn conversations, invalid keys, very long context, concurrent sends, and mobile soft-keyboard layout push-up. The goal is to discover streaming interruptions, duplicate submissions, sharing authentication issues, style regressions, and other problems, then write fixes back into the code.
Unified operations include the same browsing order, the same screenshot collection points, the same deadline, and the same prohibitions: do not change the domain, do not introduce unauditable dependencies, and do not write keys into the frontend repository. Only then can later differences—some implementations perform only the simplest integration test while others actively add pressure to find defects—be attributed to strategy differences rather than experimental contamination.
Functional Decomposition: From Page to Implementable State Machine
Abstracting a conversation web page into several orthogonal modules helps align prompts with acceptance checklists.
Conversation domain: create, rename, archive, delete, pin, and search; bidirectional highlighting between the current conversation and the list; unread or generating indicators.
Message domain: user and assistant roles, streaming increments, stop generation, regenerate, copy, and feedback; code block and table rendering; citations and collapsed long content.
Input domain: multi-line auto-height, keyboard-shortcut sending, attachment type restrictions, pasted images, mutual exclusion between input method and buttons, and disabling during sending.
System domain: model or mode selection if the product provides it, system prompts, whether sampling parameters such as temperature are exposed to users, and usage and quota indicators.
Distribution domain: read-only share links, expiration policies, and authentication when opened in another browser; export as text or structured records.
Adaptation domain: sidebar drawer on narrow screens, input area fixed to the visible bottom, safe areas and virtual keyboards, and touch target sizes.
Product documentation should describe each module as “entry point—preconditions—main path—exceptions—analytics/logs.” The structure diagram should use one layer for functions, one layer for page blocks, and one layer for API actions, so that documentation and implementation do not become two disconnected artifacts.
Engineering Essentials for Replication
High fidelity does not mean unstructured stacking in a single file. The frontend should still be split by block and constrained by design tokens for spacing, border radius, and type hierarchy, ensuring that desktop and mobile share the same state rather than two mutually exclusive style sets.
Streaming output should align with the API’s incremental events: start, delta, end, error, and cancel. The UI layer should use a single “generating” state machine to drive button copy and disable logic, avoiding concurrent sessions caused by repeated clicks. If the sharing flow depends on a server-side conversation snapshot, the frontend should pass only a read-only identifier; keys and user credentials must not enter static assets.
On the API side, organizing a message array according to common industry chat-completion conventions is sufficient; there is no need to bind to one vendor’s proprietary field names. Error codes should be mapped uniformly to user-readable explanations and distinguish retryable from non-retryable errors. Logs can go to a generic logging service, metrics to monitoring and alerting, attachments to object storage, and conversation metadata to a managed database or cache. These can all be supported by generic cloud categories without binding to specific product models.
An illustrative message structure can be as follows; it expresses only general concepts:
{"messages": [{"role": "system", "content": "Product assistant"},{"role": "user", "content": "Please summarize this conversation"}],"stream": true}
When consuming streaming fragments, the frontend should handle partial packets, heartbeats, and interruptions, ensuring that list scrolling follows output and that auto-scrolling pauses when the user scrolls up.
How to Evaluate Fidelity and Improvement Quality
Overall performance should not be judged only by whether the first glance looks similar. A scored set of dimensions is more useful:
Documentation completeness: feature coverage, consistency between structure diagrams and body text, and whether unverified items are marked.
Visual and layout quality: input area position and size at key breakpoints, sidebar width strategy, empty states, and loading states.
Main-path completeness: multi-turn conversation, stop, regenerate, copy, and create conversation.
Deep paths: cross-browser sharing, attachment limits, API timeouts, weak network conditions, and mobile keyboard push-up.
Engineering hygiene: key isolation, no hard-coded privacy data, maintainable components, and basic accessibility items.
Improvement reasonableness: each enhancement corresponds to an observable pain point and does not break the cognitive load of the main path.
A common split in practice is this: some orchestration approaches verify only that “one message can be sent” after receiving keys in the second round, while others automatically expand test cases, compare against the documentation to find gaps, and fix them. If a team wants stable delivery, it should write the “mandatory test checklist for the second round” into the prompt rather than relying entirely on model initiative. For example, require at least: normal streaming, cancel generation, invalid key, very long paste, narrow-screen sending, and prompt shown when a read-only share link fails to open. The clearer the checklist, the smaller the variance across models.
A Transferable Prompt Template
Prompts should be layered: role and constraints, input assets, required deliverables, acceptance criteria, and prohibitions. The first round should emphasize “documentation and structure diagrams first, then implementation, then improvement” to prevent the model from jumping directly to visual changes. The second round should emphasize “validate with real calls and write defects back into the report and code.” If multiple agents are used, product agents can own structure diagrams and use cases, implementation agents can own page and API adaptation, and test agents can own regression, but humans still need to spot-check easily missed items such as sharing authentication and mobile behavior.
Forgetting historical memory and disabling irrelevant skills helps make the task reproducible: the same prompt in another environment should produce deliverables with a similar structure rather than depending on hidden context from a particular chat.
Experience Principles for the Improved Page
An optimized version can incorporate general best practices: show “what can be done” in the empty state instead of hiding it in menus; visualize context usage to reduce blind creation of new conversations; provide a table of contents or collapsing for long responses; provide copy and download for code and tables; and give a reason and next step for failures instead of only showing “something went wrong.” On mobile, the priority is to keep the input area tappable and ensure the send button does not jitter or disappear with the keyboard. For accessibility, ensure visible focus, adequate contrast, and screen-reader output for “generating.” These improvements are independent of any specific brand, yet they directly reduce real user operating costs.
Implications for the R&D Workflow
When multi-model parallel replication is used as an internal method for “requirement freezing plus prototype comparison,” its value lies in quickly exposing documentation gaps, unifying acceptance language, and comparing implementation strategies with the same set of use cases. What should really be accumulated is the prompts, test checklists, modular frontend skeleton, and key and logging specifications—not a one-time ranking. Later, object storage, container platforms, logging services, and monitoring and alerting can be included in the same pipeline, turning the replica page from a one-off demo into a regression-capable internal environment. As long as the experiment design is controlled, deliverables are clearly defined, and deep-path tests are enforced, the replication and evolution of conversation product web pages can become a repeatable engineering capability rather than depending on the improvisation of individual models.
