Multi-Model Agent Evaluation: Rebuilding a Web Chat Product in an Engineering Experiment
This article presents a controlled experiment that compares six model plus coding-agent harness combinations on a realistic product reconstruction task: replicating a common web-based AI chat product under identical inputs. It explains the two-round prompt design, including staged release of API keys, and analyzes the key differentiator observed in the experiment: whether agents performed shallow validation or deep self-testing after receiving real resources. The article also outlines evaluation criteria for three deliverables—product documentation and structure diagrams, the replicated web page, and an enhanced version based on the agent’s own product judgment—and distills a reusable framework for assessing agent engineering capability. Readers gain practical insight into how to design staged tasks and evaluate autonomous testing depth, failure modes, and engineering maturity when selecting or building agentic development platforms.
Multi-Model Agent Evaluation: Rebuilding a Web Chat Product in an Engineering Experiment
1. Experiment Background and Goals
As large language models become increasingly capable of programming, the idea of giving an agent a requirement description and letting it autonomously build a complete product has moved from proof of concept into everyday development scenarios. To objectively evaluate how current mainstream models differ on realistic engineering tasks, this article designs a controlled experiment: six combinations of “model + coding agent harness” are asked to replicate a common industry web-based AI chat product under completely identical input conditions. The experiment observes behavioral differences across four dimensions: requirement understanding, code generation, autonomous testing, and iterative optimization.
The web chat replication task was chosen because it is sufficiently comprehensive. It includes front-end interface reconstruction, back-end logic such as API integration, streaming output, and session management, and it requires the model to proactively read third-party API documentation and integrate it correctly. This kind of task tests product understanding, software engineering ability, and autonomous debugging at the same time, making it much closer to real workload than a task such as “write a sorting algorithm.”
Each combination is required to produce three types of deliverables:
- Product feature documentation and structure diagrams: evaluates the model’s understanding of the target product’s information architecture.
- A replicated chat web page: evaluates 1:1 reconstruction capability and basic engineering implementation.
- An enhanced web page improved based on the model’s own experience: evaluates product judgment and proactive optimization awareness.
2. Experiment Design: Unified Inputs and Two Rounds of Prompts
To ensure fairness, all combinations follow exactly the same process and prompts, with no intervention beyond the prescribed prompts.
2.1 Prompt Structure
The test is divided into two rounds.
Round 1: Requirement prompt. The model is asked to play the role of a senior product manager and is given a task: replicate a mainstream web-based chat product. The prompt provides the target product’s access entry and the address of its official API documentation, and clearly states that the model may use its built-in web browsing tool to visit these pages, with the account already logged in. No key information is exposed in the first round, forcing the model to first complete requirement analysis, interface research, and technical solution design.
Round 2: Key delivery. After the model completes the initial implementation, it is given a usable API key and asked to connect to the real interface and perform integration testing.
2.2 Why the Task Is Split into Two Rounds
This split is not arbitrary. It deliberately simulates a common real-world project scenario: requirements first, resources later.
- The first round tests whether the model can still produce a high-quality static implementation and documentation when runtime conditions are missing.
- The second round is the dividing line. It directly exposes differences in willingness to perform autonomous validation across model/harness combinations.
3. Key Observation: Testing Depth Is the Biggest Differentiator
The most interesting finding from the experiment is not which combination produced a more attractive page. It is that after the API key was delivered in the second round, the combinations showed clear behavioral divergence.
3.1 Shallow Validation
Some combinations performed only minimal validation after receiving the key: they sent one request, confirmed that it returned HTTP 200, checked that the page could display the reply, and then declared the task complete. This strategy has the advantage of speed and low token consumption, but its risks are obvious. It does not cover any of the following:
- Streaming output interruption and reconnection;
- Truncation behavior under very long context;
- State crosstalk when switching between concurrent sessions;
- Front-end fallback when the API returns errors such as rate limiting or authentication failure;
- Layout adaptation on narrow mobile screens.
In other words, shallow validation proves only that the “happy path” works, while ignoring the boundary conditions that matter most in production.
3.2 Deep Self-Testing
Other combinations demonstrated a notable “engineer’s instinct.” After receiving the key, they proactively constructed multi-turn conversations to test whether context memory worked. They deliberately entered abnormal parameters to observe error handling. They checked whether streaming rendering had character jitter or Markdown truncation. Some even reviewed their own code and found a state update race condition in the streaming callback, then refactored and fixed it. These combinations often also added a “known issues list” before delivery, describing which scenarios had not yet been covered.
It is important to emphasize that all combinations received exactly the same operating instructions. The differences came entirely from the model’s own task-planning tendencies and the execution strategy of its accompanying agent framework. This suggests that in agentic coding scenarios, “the design of the harness loop mechanism” is as important as “the model’s internal level of caution.” A framework without a self-verification loop tends to stop too early, even when paired with a strong model.
4. Evaluation Criteria for the Three Deliverables
4.1 Product Feature Documentation and Structure Diagrams
A strong output should include a core feature list—such as conversation management, history, model switching, and a deep-thinking toggle—a page information architecture diagram, a main user flow diagram, and an API capability mapping table showing which interface elements depend on which API fields. Evaluation should focus on two points. The first is completeness: whether secondary but high-frequency features such as “regenerate,” “stop output,” and “copy code block” are missing. The second is structural quality: whether the information is expressed through hierarchical diagrams rather than plain prose.
4.2 Replicated Web Page
Reconstruction fidelity can be evaluated at four levels:
- Visual layer: layout skeleton, color scheme, typography hierarchy, and dark mode;
- Interaction layer: auto-expanding input box, send shortcut, and streaming typing effect;
- Logic layer: session creation, switching, and deletion, plus persistence of historical messages;
- Integration layer: API request format, streaming response parsing, and error handling.
Common high-frequency defects observed in practice include failure to correctly handle fragment boundaries during streaming data parsing, failure to reset input state after creating a new session, and hardcoding API keys in front-end code. The last is a security anti-pattern that must be corrected; the proper approach is to proxy requests through a back end.
4.3 Enhanced Web Page
The third deliverable best reflects the model’s product sense. Valuable improvement directions include:
- Conversation search and tag grouping, solving retrieval problems when there are too many historical sessions;
- A prompt template library, reducing the cost of repeated input;
- Export and sharing of conversation content;
- Visualization of response latency and token usage, helping users perceive cost;
- Message-level re-asking and branched conversations.
Evaluation should distinguish between “grounded improvements” and “change for the sake of change.” The former explains what specific pain point an improvement solves; the latter merely piles on features.
5. Methodology: How to Evaluate an Agent’s Engineering Capability
Based on this experiment, a reusable evaluation framework can be distilled:
- Unify inputs and isolate variables: prompts, available tools, and operating steps are completely identical, with differences coming only from the model and framework itself.
- Release resources in stages: requirements first, keys later, to observe the quality of the model’s planning when information is incomplete.
- Focus on “behavior without instructions”: what a model does proactively reflects its engineering maturity more than what it does when instructed.
- Evaluate deliverables at different layers: documentation, reconstruction, and improvement correspond to understanding, execution, and judgment, respectively, and should not be conflated.
- Record failure modes, not just success rates: failure modes such as shallow validation, hardcoded keys, and streaming parsing defects are more diagnostically valuable than whether the task “ran successfully.”
6. Conclusion
Under exactly the same conditions, the six combinations produced markedly different results. This reinforces a judgment: the bottleneck in agentic coding is shifting from “whether the model can write correct code” to “whether the model can work like an engineer”—including proactive validation, defect discovery, iterative repair, and honest reporting. For teams building or selecting agent development platforms, evaluation should not rely only on demo performance. Instead, they should design staged tasks similar to those in this article and focus on how deeply the model tests itself after receiving real resources. Only combinations that pass this kind of stress test deserve to be entrusted with real production tasks.
