Cloning an AI Chat Web App with Six LLM and Harness Combinations: An End-to-End Practice and Comparison
This article describes an experiment in which six combinations of large language models and toolchains (harnesses) each replicated a mainstream AI chat web app. Each combination produced a product feature report, a page clone, and an independently improved version. The article compares how each setup planned the work, how thoroughly it tested the integrated API, and how well its documentation was structured. It also offers selection criteria and a method for running similar evaluations.
Background: From Open Capabilities to a Cloning Experiment
In recent years, leading model vendors have opened their application-layer capabilities through APIs. These include deep thinking, web search, file input for conversations, and multimodal features such as speech synthesis and speech recognition. Some vendors state in their technical documentation that developers can use these open APIs to build a fully functional, one-to-one clone of a complete chat application. This raises an engineering question: if all these capabilities are open, how much do different large models differ on a realistic development task such as replicating a mature product?
To answer this, we designed a controlled experiment. Six model and toolchain (harness) combinations each replicated a mainstream AI chat web app. Each combination produced three deliverables: a product feature document, a high-fidelity clone of the page, and an independently optimized version. The results were instructive. The top performer was a third-party combination, not the product’s own model. This supports a common view in the industry: model capability and product capability are different, and toolchain orchestration and context engineering often determine the final quality of a delivery.
Experiment Design: Task Definition and Evaluation Criteria
Task Breakdown
Each combination was asked to produce three deliverables:
- Product feature report: A complete list of the target web app’s features, plus a product feature structure diagram. This tests requirement analysis and the ability to summarize information.
- One-to-one page clone: The features and UI must match the original web page. This tests the model’s handling of visual reproduction, interaction logic, and front-end engineering.
- Independently optimized version: Based on the model’s own understanding of the product, and drawing on common design practices found across the web, the model produces a new version with improvements to both UI/UX and features. This tests product design judgment.
Evaluated Setups and Prompt Strategy
The experiment included six setups. They covered several typical combinations: a proprietary model paired with a team of agents, a flagship general-purpose model paired with an AI coding tool, a long-context model paired with a dedicated client, and a domestic flagship model paired with its native toolchain.
The prompts followed a two-round structure:
- Round 1 (requirements): The model was assigned the role of a senior product manager and given the three deliverables. It was authorized to use a browser tool to review the target web page and the API documentation. It was also told to disregard all prior memory and preset skills and start working immediately, so that earlier context would not interfere.
- Round 2 (API key): The model received an API key and was asked to connect the page to the live API and complete integration testing.
The core structure of the round 1 prompt is shown below. Details have been abstracted.
Assume you are a senior product manager who is going to replicate an AI chat web application.Reference materials: the URL of the target web page + the official API call documentation (accessible through the browser tool, with a logged-in session).You need to:1. Produce a product report that lists the web app's features and includes a product feature structure diagram.2. Build a web client whose features and UI match the original web page.3. Based on your understanding, optimize the web client and produce a new version. Search the web for suitable additional features if needed.Requirement: Do not rely on past memory or preset skills. Start working directly.
Key Findings: Divergent Strategies
Integration Testing Depth Varied Significantly
After the API key was provided in round 2, the setups behaved in clearly different ways:
- Shallow validation: Some setups ran only minimal tests. They sent one message, confirmed that the API responded normally, and declared the task complete. This approach delivers quickly, but it does not expose typical defects such as interrupted streaming output, lost context across multiple turns, or unhandled error states.
- Deep regression testing: Other setups proactively built multiple test cases covering long conversations, file uploads, voice input, and network error retries. When they found problems, they fixed them and iterated. For example, a long-context model setup found a flaw in its conversation history truncation strategy during integration and optimized it. Shallow validation could not have found this flaw.
All setups received the same inputs, so the differences came entirely from each model’s own task planning and its toolchain. For evaluating AI coding solutions, this means that “it runs” is the baseline. The real differentiator is whether the setup can validate and correct its own work.
Feature Diagrams and Documentation Quality Varied
In the product report stage, the stronger setups produced layered structure diagrams. The top layer showed information architecture, such as session management, model switching, and the settings center. The middle layer showed functional modules, such as deep thinking, web search, file parsing, and voice interaction. The bottom layer mapped interface dependencies. Weaker setups tended to list features without describing how the modules call each other. For engineering teams, such lists offer little reuse value.
Overall Conclusions
Across all three deliverables, the most consistent performer was the combination of a flagship general-purpose model and an AI coding tool. Its product report was well structured, its page clone was highly faithful, and its integration testing had good coverage. The target product’s own in-house model did not lead on the task of cloning its own product. It understood the conversation interaction logic well, but it fell slightly behind on engineering delivery, including directory organization, style consistency, and edge-case handling.
Three selection recommendations follow from these results:
- Prioritize task planning ability. Faced with an ambiguous requirement, strong setups break the work into milestones before writing code, rather than generating code right away.
- Value a closed loop of self-validation. Setups that proactively design test cases after receiving an API key are far more usable in practice than setups that pass on the first attempt.
- Treat the toolchain as equally important as the model. The orchestration quality of browser access, file system operations, and terminal execution determines whether a model can gather enough context to complete the task.
Practical Guide: Reproducing This Type of Evaluation
Teams that want to evaluate different AI coding solutions can build a lightweight evaluation environment with these steps:
- Choose a target product. Pick a web application with clear feature boundaries and complete API documentation. This keeps the complexity of the target from distorting the evaluation.
- Fix the two-round prompts. Round 1 defines the deliverables, and round 2 triggers integration. This ensures every setup receives identical inputs.
- Build a scoring matrix. Score each setup on five dimensions: documentation completeness, UI fidelity, functional usability, integration testing depth, and optimization creativity. Adjust the weight of each dimension to match your team’s priorities.
- Record the process. Save the model’s intermediate planning, test logs, and number of iterations. This process data often reveals more about real capability than the final page does.
At the infrastructure level, this kind of evaluation can run on a general-purpose container platform to launch isolated environments quickly. Object storage can archive each setup’s outputs. A log service and monitoring alerts can track the success rate and latency of API calls, forming a complete observability loop. Major cloud platforms, including Baidu AI Cloud, offer these general-purpose product categories, which are sufficient for the evaluation needs of small and mid-sized teams.
Conclusion
The main takeaway from this experiment is that the barrier to replicating a product with large models has dropped substantially. Producing a high-quality clone and improving on it still depends on how well the model and its toolchain work together. For developers, a benchmark built around real tasks and judged by delivery quality is more useful than chasing scores from a single model. For vendors, opening API capabilities is only the first step. The key competitive question is how well agents can use those capabilities.
