Cloning a Conversational AI Web App with Multiple Large Language Models: A Practical Experiment
This article reports an experiment in which six model and toolchain combinations each tried to produce a product report, a replica, and an improved version of the web interface for a conversational AI product. It compares how the combinations handled real API integration and explains why post-integration testing separated the strongest results from the rest. It also summarizes prompt design and evaluation practices that apply to cloning-style tasks.
Cloning a Conversational AI Web App with Multiple Large Language Models: A Practical Experiment
When a major model vendor announced that it would open-source its model family, and said developers could even clone its official application one-to-one, an obvious question followed: if leading models each tried to clone the web version of the same conversational AI product, which one would do it best? The experiment tests both coding ability and how well each model understands a product. This article covers the design, the execution, and the conclusions, and it extracts engineering lessons that can be reused.
1. Background: Once Open-Sourced, Self-Cloning Becomes Possible
In a technical article, the vendor noted that developers could fully clone the official application one-to-one. Few companies take this stance. Most treat their product design as a core competitive advantage. Allowing people to replicate the product suggests that the vendor’s strategic focus has shifted toward its underlying model capabilities and longer-term technical goals.
Users later noticed that the official service began imposing limits on daily conversation counts and input length per message. Some community members joked that open-sourcing capabilities might be a way to let users build their own versions while the vendor keeps inference resources for more cutting-edge research.
Joking aside, the fact that the official product can be cloned makes a useful test. Cloning a mature product checks a model’s ability to break down requirements, the precision of its UI replication, and its debugging depth once it connects to a real API. This experiment pitted six model and toolchain combinations against each other.
2. Experiment Design: Three Deliverables and Two Rounds of Prompts
2.1 Participants
The test included six combinations of models and supporting toolchains, called harnesses. They covered flagship models from different vendors, a long-context model, and agentic coding environments. The combinations included one with agent-team collaboration, one that paired a model with a code-generation agent, and one that paired a long-context model with a dedicated client. Every combination received the same task and prompts to keep the comparison fair.
2.2 Three Deliverables
Each combination had to produce three outputs:
- Product feature document and structure diagram: The model acts as a senior product manager, analyzes all functional modules of the target web page, and produces a structured product report with a feature list and a feature structure diagram. This item tests information extraction, summarization, and product-oriented writing.
- Replica web page: The replica must match the original in features and UI. Layout, color scheme, interaction details, and mobile adaptation should all be reproduced as closely as possible. This item tests code generation quality and visual fidelity.
- Improved web page: Based on the model’s own understanding of similar products and any relevant information it could find online, the model redesigns the product’s UI, UX, and features. This item tests product judgment and creative design.
2.3 Two Rounds of Prompts
The test ran in two rounds:
- Round 1 (requirements round): The model receives the full task. It acts as a senior product manager, gets the URL of the target page and the URL of the API documentation, and may view the logged-in page through a browsing tool. It then completes the three deliverables in order. The prompt ends with “Forget all preset memory and skills, and start executing directly” to prevent earlier context from influencing the result.
- Round 2 (integration round): The model receives a real API key and must connect the static page to the live conversation interface so that it works as a usable product.
The core structure of the Round 1 prompt is shown below:
Role: Senior product manager and full-stack developerInputs: Target product URL and API documentation URL (accessible via browsing tool)Task list:1. Produce a product report (feature list and feature structure diagram)2. Replicate the target web page one-to-one (UI and features)3. Optimize and refactor based on your own understanding, and output a new versionConstraints: Forget all preset memory and skills, and start executing directly
3. Key Observations During Execution
3.1 Round 2 Separated the Models
The largest differences did not come from the Round 1 requirement breakdown. They came from what each model did after the API key was added in Round 2. Two strategies stood out:
- Shallow testing: Some models sent one or two messages to confirm that the API responded, then declared the task complete. This approach delivers quickly, but it hides many potential problems, including interrupted streaming output, truncated long contexts, lost state across multi-turn conversations, and unhandled error codes.
- Deep testing: Other models built their own edge-case tests, such as very long inputs, consecutive multi-turn conversations, and simulated network failures. They found bugs, identified the causes, and fixed them through several iterations before delivering. Their final output was much closer to production-ready.
The experimenters ran the same procedure for every combination, so the differences came from each model and toolchain’s own task strategy. Code generation ability sets the floor for results. A model’s habit of verifying its own work sets the ceiling.
3.2 Traits of the Best Performer
Overall, the combination with the most consistent product reports and replica fidelity showed several distinct traits:
- Attention to detail: Its product report included acceptance notes. For example, it stated that the share link feature needs to be verified in a different browser environment. This shows that the model anticipated how the feature depends on its runtime environment, not just how to implement it.
- Pixel-level fidelity: The replica matched the position and size of the original mobile input box almost exactly. This suggests the model measured the viewport carefully when it captured the target page, rather than estimating roughly.
- Feature completeness: Core chat functionality, session management, and input interactions were reproduced in full, with no obvious gaps.
These traits point to one conclusion. The combination that best clones a product is not necessarily the one built by that product’s own vendor. It is the one that balances product understanding, visual measurement, and engineering rigor most evenly.
4. From Experiment to Method: General Lessons for Cloning Tasks
4.1 Prompt Design Principles
- Define the role and deliverables first: Set the role, then list the deliverables as a numbered list. This makes the model’s execution path more stable.
- Declare what the model can access: State which pages the model can reach through the browsing tool and what its login status is. This prevents the model from inventing features it cannot see.
- Provide sensitive information in a later round: Supply keys and other sensitive data in Round 2. This mirrors a real collaboration workflow and shows how the model behaves when it moves from a static stage to a dynamic one.
4.2 Four Dimensions for Evaluating Replication Ability
| Dimension | What to observe |
|---|---|
| Documentation | Whether the feature list is complete and the structure diagram has a sensible hierarchy |
| Replication accuracy | How closely the layout, spacing, and mobile adaptation match the original |
| Engineering depth | Whether the model proactively runs edge-case tests and fixes issues after connecting to the real API |
| Innovation | Whether the improved version proposes reasonable, well-grounded new features |
4.3 Practical Recommendations
Teams that want to use large models to build conversational AI applications quickly should not judge output by first impressions. Build self-testing into the workflow. For example, the prompt can require the model to list and verify at least several edge cases. For UI replication tasks, provide screenshots or explicit dimension annotations, because text descriptions alone leave room for ambiguity. When deploying such applications to the cloud, pairing them with general-purpose logging and monitoring alerts also helps surface problems faster during integration.
5. Conclusion
Cloning a mature product may look like copying an existing answer, but it tests a model’s product understanding, visual precision, and engineering rigor at the same time. In this experiment, the combinations performed similarly when following instructions. The real differences appeared in active verification and attention to detail. For developers choosing a model, the key question is which one will find problems before you do.
