Evaluating Multi-Model Collaboration for Building Conversational Web Apps
This article presents a practical evaluation method for comparing how different LLMs and agent execution frameworks build a conversational web application from a vague requirement. It covers the six-stage task chain, a design using six configurations with three standardized deliverables and two prompt rounds, three-layer prompt engineering, and the strategy differences revealed in the second round. It also proposes a five-dimension weighted scoring system, common pitfalls, and guidance for building a repeatable evaluation pipeline.
1. Why “Replicating a Conversational Web Page” Is a Good Evaluation Task
As AI agents evolve quickly, single-turn question-and-answer benchmarks no longer reflect real engineering value. What engineering teams actually care about is whether a model can take a vague requirement and move it to a “runnable and deliverable” state without step-by-step human intervention. Replicating a typical conversational web application covers six stages: requirement understanding, information architecture design, UI reproduction, API integration, debugging, and autonomous optimization. This makes it a good vehicle for measuring the combined capability of a model plus its execution framework.
The key difficulty is not the page itself, but the long task chain, the multiple acceptance criteria, and the need to self-verify intermediate states. The model must first turn a natural-language requirement into a structured feature list, then decide the implementation order, and finally infer defects from runtime results. Whether it can close this loop is the dividing line between “can generate code” and “can deliver an engineering outcome.”
2. Evaluation Design: Six Configurations, Three Deliverables, Two Prompt Rounds
The original practice used six “model + execution framework” configurations, covering different context-length strategies and different agent collaboration modes. The output was standardized into three categories: a product feature document with a feature structure diagram, a high-fidelity replica page, and an improved version based on autonomous judgment. All configurations received the same requirement prompt. The first round provided only the requirement; the second round added invocation credentials, making it possible to observe how each configuration behaved once it had the conditions to execute.
Standardized output makes horizontal comparison possible. If deliverables differ in form across groups, scoring degrades into subjective impressions. It is better to break acceptance into a checkable list, such as feature coverage, interaction consistency, consistency between documentation and implementation, whether the build succeeds, and whether console errors exist. A sample acceptance structure can be expressed as:
deliverables:- product_doc: { sections: [feature list, information architecture diagram, state description] }- replica_app: { fidelity: high, build: must pass, console_error: 0 }- improved_app: { additions: [explainable sources], regressions: 0 }
3. Prompt Engineering: Role, Boundaries, and a “Skill-Free” Setup
The original prompt assigned the role of a senior product manager, provided a reference page and API documentation, made browser automation available, and required the model to “forget memory, skills, and external extensions, and execute directly.” The point of this setup is to control variables: after stripping away historical context and external plugins, the results better reflect the model’s own planning and coding ability rather than the boost from a toolchain.
In practice, it helps to split the prompt into three layers: a goal layer that states the deliverables and acceptance criteria; a constraint layer that states the tech stack, directory structure, and prohibited actions; and a feedback layer that states the verification steps to run once credentials are available. Separating the three layers reduces ambiguity and keeps configurations consistent with one another.
4. Key Finding: The Second Round Exposes Strategy Differences
After receiving invocation credentials, some configurations performed only minimal connectivity checks and then declared the task complete. Others proactively constructed boundary inputs, checked exception branches, and compared documentation against the implementation, finding defects and iterating on fixes. This does not necessarily indicate a capability gap; it is mostly a difference in how the execution framework decides “when to stop”: one favors fast convergence, the other favors deep self-checking.
The implication for engineering is that if the goal is production readiness, verification depth should be made explicit in the prompt or workflow. For example, require coverage of empty input, overly long input, concurrent requests, error-code handling, and fallback paths, and write the verification results into the delivery document. The self-check flow can be written as pseudocode that the execution framework is required to follow:
verify(app):run_build()for case in [empty, long_text, invalid_token, rate_limit]:assert response_is_reasonable(case)compare(doc_features, implemented_features)if mismatch: fix and re-verify
5. Scoring System: Turning “How Similar Is It” into Quantifiable Metrics
A five-dimension weighted score is recommended: feature completeness, UI and interaction fidelity, documentation quality, engineering robustness, and autonomous optimization gain. The first two measure delivery conformance; documentation quality checks whether the structure diagram matches the implementation; engineering robustness looks at build, errors, and exception handling; autonomous optimization gain requires that new capabilities be explainable and introduce no regressions. Any regression in any dimension should trigger an overall downgrade, avoiding the “pile on features but break the baseline” situation.
6. Common Pitfalls and How to Avoid Them
The first is misuse of context strategy: an extra-long context does not automatically produce better results; what matters is whether retrieval and compression strategies are effective. The second is formalistic verification: delivering after only the main path works means defects will erupt under real traffic. The third is requirement drift: arbitrarily changing the information architecture during optimization makes the replica baseline incomparable. The way to avoid these is to manage the baseline and the optimized version in separate directories and keep a change description.
7. Implementation Advice and a Baidu AI Cloud Perspective
To build this kind of evaluation pipeline inside an enterprise, you can connect build, static checks, log collection, and alerting to a unified container platform and log service, archive each round’s deliverables as immutable artifacts, use object storage to keep versions, and use monitoring and alerting to track failure and regression rates. Baidu AI Cloud can provide standardized support across these general capability areas, helping teams turn a one-off model comparison into a sustainable automated evaluation system and keep the quality baseline stable amid multi-model iteration.
