LLM App Replication Test: Capability Boundaries Across Six Configurations
This article reports a hands-on replication test in which six "LLM + agent execution framework" combinations were asked to rebuild a conversational web application under identical constraints. It covers the two-round prompt design, the three required deliverables, the capability layers that separate the configurations, and a reusable evaluation checklist. Readers will find practical notes on information architecture, state management, API adaptation with retry and backoff, and experience improvements, plus recommendations for turning replication into a maintainable engineering asset.
1. Background: Once Capabilities Are Open, Replication Becomes a Real Capability Check
Several vendors have recently opened up interface capabilities for conversational applications, covering common modules such as deep reasoning and retrieval, file input, speech synthesis, and speech recognition. Their documentation explicitly allows developers to build their own chat products on top of these interfaces, with an experience that can closely match the original application. The significance goes beyond “the interfaces work.” It puts a question in front of engineering teams: once the underlying capabilities are standardized, how much can build efficiency at the application layer actually improve?
In practice, usage is commonly subject to quota constraints, such as daily conversation limits, maximum input length per request, and concurrency caps. These limits are not a reduction in capability but a routine means of resource scheduling and cost control. For developers, this makes one thing clear: keeping core capabilities in your own hands and serving business traffic through a self-built application is the more controllable path.
This article therefore sets up a horizontal experiment: six combinations of “LLM + agent execution framework” complete three deliverables under the same constraints — a product feature document with a structure diagram, a high-fidelity replica of the chat web page, and an improved version of the page based on the combination’s own judgment. The goal is not to crown a winner, but to extract transferable engineering experience.
2. Experiment Design: Identical Inputs Are Required for a Fair Comparison
Fairness in this evaluation comes from consistent constraints. Two rounds of prompts were used: the first provided only the requirements and a reference entry point; the second added API credentials. All combinations followed the same standard — no scaffolding, no preinstalled component library, no external plugins or existing skill packs — and were required to start from scratch.
The core structure of the first-round prompt was as follows (illustrative):
Role: Senior product manager + front-end architectGoal: Replicate a conversational web applicationInputs: Target site URL, API documentation URL, available browsing and login stateDeliverables:1) Product documentation with a feature list and feature structure diagram2) High-fidelity replica page, matching function and visuals as closely as possible3) An improvement plan and its implementation; web search allowed for design inputConstraints: No reliance on any preset skills or plugins; execute directly
The second round only appended credential information, used to integrate against the real API. It looks like adding a single parameter, but it turned out to be the dividing line. Some combinations did nothing more than the most basic connectivity check after receiving credentials. Others proactively constructed boundary cases and exercised streaming output, extra-long context, interrupted requests, and retries, exposing defects before delivery and going back to fix them. This difference suggests that the key variable in such an evaluation is often not “can it write a page,” but “is it willing to dig deeper once it has the resources.”
3. Observations Across the Six Configurations: Strategy Differences Outweigh Model Differences
Under a unified process, the six configurations showed clear tiers.
The first type is the “stable documentation, accurate replication” group. They first produce a structured feature list, breaking modules such as conversation, session management, attachment parsing, voice interaction, sharing, and export down to second and third level, then split page components and state accordingly. In the replication step, these combinations handle details well — responsive breakpoints, fixed positioning and adaptive height of the input box, maximum width of message bubbles — so switching between mobile and desktop requires almost no rework.
The second type is the “long context, aggressive digging” group. They proactively expand the test surface during integration: constructing extra-long document inputs to observe truncation strategy, simulating network jitter to observe reconnection and incremental rendering, and checking for state residue when switching sessions. Such combinations often fix a batch of hidden problems before delivery, at the cost of taking longer.
The third type is the “speed first, good enough” group. They quickly produce a runnable version with decent visual completeness, but leave obvious gaps in exception paths, accessibility, and boundary inputs, requiring manual hardening afterward.
One conclusion worth recording: the best at replication was not a “sibling” model of the replicated target, but the combinations that proactively noted acceptance preconditions in their documentation — for example, that a shared link needs to be verified in a different browser. This habit of writing acceptance conditions into the deliverable is closer to real engineering collaboration than any single feature.
4. Capability Breakdown: What Actually Makes Replication Hard
Abstracted from the process, the difficulty concentrates in four layers.
The first layer is information architecture. Chat products look simple but actually contain multiple areas — session list, message stream, input area, attachment and voice entry points, settings, and sharing — with complex visibility and linkage relationships among them. Documentation quality directly determines whether the implementation that follows needs rework.
The second layer is state management. Streaming output, interruption at any time, regeneration, session switching, and attachment parsing progress all exist concurrently; poor design in any one of them causes content misalignment or duplicate rendering. The mature approach is to separate session state, request state, and rendering state, and drive the view from a single source of truth.
The third layer is API adaptation. With unified credentials, you need to handle authentication headers, timeouts and retries, error code mapping, and rate-limit backoff. An illustrative implementation:
def stream_chat(messages, key, retry=3):for attempt in range(retry):try:with client.chat_stream(messages, api_key=key, timeout=60) as resp:for chunk in resp:yield chunk.textreturnexcept RateLimited:time.sleep(2 ** attempt) # exponential backoffexcept TransientError:continueraise RuntimeError("stream failed after retries")
The fourth layer is experience optimization. What really separates the field is the improved version: session grouping and global search, message-level action menus, collapsible long content, keyboard-first interaction, semantic accessibility labels, and draft recovery based on local caching. None of these are “flashier” — they mean “fewer mistakes.”
5. A Reusable Evaluation and Acceptance Checklist
To run a similar exercise inside your own team, fix the following dimensions to avoid subjective scoring:
- Documentation completeness: does the feature list reach the third level, and are a structure diagram and state descriptions provided;
- Replication fidelity: desktop and mobile breakpoints, input area positioning, scrolling and stick-to-bottom behavior;
- Integration depth: coverage of streaming, exceptions, retries, rate limits, and extra-long inputs;
- Improvement effectiveness: do new capabilities solve real pain points rather than pile on decoration;
- Maintainability: are component boundaries clear, is state centralized, are styles configurable;
- Accessibility: focus order, contrast, label completeness.
6. Implementation Recommendations: Turn “Replication” into an Engineering Asset That Evolves
For most teams, the conclusion comes down to three points. First, treat interface capabilities as a stable foundation and the application layer as an asset that can iterate quickly, managing model switching and fallback through configuration. Second, bring quotas and rate limits into the design phase, reduce call volume with caching, batching, and request coalescing, and pair this with monitoring, alerting, and logging to locate anomalies. Third, hard-code the acceptance checklist into the process so that “digging deeper after receiving credentials” becomes the default action rather than an option.
In related practice at Baidu AI Cloud, such requirements are typically served by a combination of “model service + container platform + object storage + logging and monitoring”: the model service provides a unified inference entry point, the container platform carries elastic scaling for the front end and gateway, object storage holds attachments and static assets, and logging and monitoring handle trace tracking and quota alerts. With this general architecture, a replicated application can launch quickly and still leave room for long-term evolution.
