Multi-Agent Evaluation for Recreating Conversational Web Interfaces
A three-deliverable evaluation—product documentation, a high-fidelity replica, and an improved version—can reveal how effectively multi-agent teams turn public references into working conversational web applications. This article presents a reusable framework for task design, standardized prompts, acceptance criteria, and regression testing, with particular attention to API integration, streaming behavior, session state, and mobile layouts.
Evaluating agents through a “document, recreate, improve” workflow is becoming a common way to assess collaboration on conversational web products. The point is not to compare vendor claims. It is to observe, under consistent constraints, whether a team can turn public pages and API documentation into a clear product structure, a working frontend, and justified usability improvements.
This article outlines a reusable framework for task design, execution, acceptance testing, and engineering implementation. Development and product teams can use it to run controlled comparisons in an internal sandbox.
1. Why the Task Needs Three Deliverables
Recreating a complex interface can easily become an exercise in making something that merely looks similar. Splitting the task into three deliverables makes different capabilities easier to assess.
Product documentation and an architecture diagram
The documentation should define the page’s functional scope: conversation lists, new conversations, model or mode switching, message composition and sending, attachments and voice input where present, sharing and export, settings and account access, and mobile adaptation.
The diagram should express a module tree or information architecture rather than simply collect screenshots. Documentation quality shows whether the model has extracted and abstracted information, rather than copied interface text.
A high-fidelity replica
The goal is to match the reference site as closely as possible in both functionality and appearance. Relevant details include layout grids, sidebar collapse behavior, composer height and corner radius, empty and loading states, keyboard shortcuts, and focus order.
The position and dimensions of the mobile composer often expose implementations that reproduce only the desktop design.
An improved version
Agents may consult public interaction conventions and add justified capabilities, such as conversation search, message navigation, theme and font-size controls, accessibility improvements, retry and timeout feedback, interruptible streaming, and collapsible sections or a table of contents for long conversations.
This version tests judgment: can the team distinguish between faithfully reproducing an interface and making it more useful?
A two-round prompt sequence is common. The first round provides requirements and public reference materials. The second supplies API credentials or runtime secrets.
Even with identical operator procedures, execution strategies can diverge. Some agents perform only a smoke test—sending one message and treating that as completion. Others cover deeper paths and discover lost state after switching conversations, broken message bubbles after interrupted streaming, or share links that fail in another browser.
These differences reflect the evaluation harness’s planning depth, tool-call budget, and interpretation of “done,” rather than an operator changing the task midstream.
2. What a Standardized Prompt Should Constrain
Comparable evaluations require fixed roles, reference materials, deliverables, and prohibitions. A prompt should specify:
- Role: Act as a senior product manager and frontend implementer. Research before implementation.
- References: Use the designated conversational website and API documentation. An authenticated browser tool may be used to inspect structure and styling.
- Deliverables: Produce a report with a feature inventory and architecture diagram, a pixel-level replica, and an improved site.
- Execution discipline: Ignore historical memory and unrelated skill packages. Work directly from the current task instead of forcing an old project’s component library into the implementation.
“Identical” needs testable criteria. These can include sidebar width and collapse animation, header height, bottom anchoring and safe-area handling for the main composer, the send button’s disabled state, code-block scrolling, and dark mode if the reference supports it.
For the improved version, require every added feature to include a problem–solution–risk explanation. This discourages unsupported feature accumulation.
Providing credentials in the second round reveals whether the team moves from a static interface to real API calls. Some workflows implement only basic connectivity. Others add streaming parsing, error-code mapping, rate-limit backoff, and conversation persistence.
Evaluation records should separately identify the work completed after credentials become available. Otherwise, a visual frontend implementation and a fully integrated application can be mistaken for equivalent results.
3. Four Evaluation Dimensions
Overall performance should not be judged by screenshot similarity alone. Use four dimensions: documentation, fidelity, improvements, and strategy.
Documentation completeness
Check whether the report covers navigation, conversations, messages, input, settings, and mobile behavior. Determine whether the architecture diagram can guide development decomposition.
The report should also identify environment-dependent acceptance checks, such as sharing features that require validation in another browser. Teams that explicitly document these conditions tend to handle subsequent integration more reliably.
Replica fidelity
Compare both desktop and mobile versions. Common weaknesses include composer position and dimensions, font size and line height, message spacing, and scroll ownership—whether the entire page scrolls or only the message region.
Core behavioral checks should include:
- Creating a conversation.
- Sending several consecutive turns.
- Stopping generation.
- Switching to a historical conversation without mixing contexts.
- Restoring state after a refresh.
Quality of improvements
New features should address genuine problems, such as searching long conversations, jumping to cited content, retrying failed requests, or improving accessible focus behavior. Unrelated portal-style modules do not improve a conversational interface.
The improved version should retain a clear information architecture. Making the page appear more sophisticated should not reduce the efficiency of its primary workflow.
Depth of execution strategy
Assess whether testing remains shallow or becomes more thorough after credentials are supplied. Deeper testing includes invalid credentials, timeouts, interrupted streams, very long messages, concurrent sends, poor network conditions, and layout changes caused by the mobile keyboard.
A collaborative workflow that discovers defects and repairs them is closer to a real development cycle.
A common pattern is that model-and-harness combinations with strong planning and detailed acceptance checks are more consistent in documentation and visual fidelity. Other combinations remain conservative after receiving credentials and guarantee only a working connection. That does not make them useless: they can serve as baseline comparisons for calibrating the scoring rubric.
4. Turning a One-Off Evaluation into a Regression Suite
To make these experiments reusable team assets, replace subjective visual judgments with repeatable checks.
1. Establish an information architecture baseline
Freeze a feature tree as the reference standard. Measure documentation coverage against that tree instead of redefining module names for every evaluation.
2. Establish visual and layout baselines
Compare screenshots at key breakpoints, including a common desktop width and a small-screen width. Add geometric assertions for the composer, sidebar, and header, covering position, height, and safe-area handling.
Keeping the mobile composer anchored correctly when the software keyboard opens should be a required test.
3. Establish behavioral baselines
Use end-to-end scripts for primary workflows and selected negative paths. For streaming output, replay a fixed token sequence through a mock API so that live-service variability does not distort scoring.
4. Track post-credential integration work
Define a minimum integration checklist:
- Authentication headers.
- Conversation creation.
- Streaming reads.
- Error display.
- Stopping generation.
Record work beyond this minimum as additional credit.
5. Review the improved version separately
Product and design reviewers should examine the descriptions of added features together. Reject additions that lack supporting rationale or a discussion of risks.
For cloud deployment, static assets can be placed in object storage, while session and audit logs can use a logging service. Monitoring and alerts can track time to first response chunk and failure rates.
A container platform can isolate each evaluation’s frontend and mock gateway, preventing environments from interfering with one another. These are general infrastructure capabilities, not requirements tied to a particular vendor.
5. Common Prompting and Collaboration Pitfalls
Losing context between rounds
An agent may produce polished documentation in the first round, then update the API integration while accidentally reverting the layout in the second.
Require incremental patches and prohibit unexplained full rewrites.
Testing too much or too little
Some agents exhaust their time budget during credential-stage testing; others send a single message and stop.
Set maximum tool steps and test-case counts so that strategies operate within comparable budgets before assessing their quality.
Treating private reference-site details as official features
The evaluation should rely on public pages and public API documentation. Do not treat an occasional experimental entry visible after login as a formal product capability.
Letting improvements contaminate the replica
Keep the replica and improved version in separate directories or branches. Open and score them separately so that an optimized interface is not mistaken for the fidelity deliverable.
The following pseudocode illustrates acceptance logic; it does not describe any specific product API:
for each viewport in [desktop, mobile]:open replicaassert sidebar.width ≈ baselineassert composer.bottom ≈ safeAreasend("ping")assert stream.renders_incrementallyinterrupt()assert bubble.not_corruptafter_key:create_session(); multi_turn(); switch_session(); refresh()assert no_context_bleed
6. A Practical Workflow for Your Team
To reproduce this evaluation internally:
- Freeze the three deliverables and the two-round prompt sequence.
- Fix the harness’s step budget and browser-tool permissions.
- Use the same operator procedure to reduce human variation.
- Score results with four checklists: structural coverage, desktop and mobile geometry, primary and negative paths, and post-credential integration work.
- Feed defects found during deeper testing into the next evaluation baseline.
This compares the full cycle of requirements interpretation, implementation, acceptance testing, and improvement—not a screenshot that happened to look convincing.
Conversational web interfaces may appear simple, but they combine information architecture, real-time streaming, state machines, and cross-device adaptation. Asking multi-agent teams to recreate and improve them quickly exposes differences in planning depth, tool use, and definitions of completion.
Recording those differences with a consistent rubric has more engineering value than debating which team is best at copying a page. The results can directly inform task decomposition and acceptance criteria when conversational capabilities are next embedded in your own product.
