A Practical Guide to Replicating a Conversational AI App with Multiple LLM and Agent Framework Combinations

    This article documents a controlled experiment that assigns the same task—replicating a conversational web application—to six different combinations of large language models and agent execution frameworks. It covers the three required deliverables, the two-round prompting strategy that separates planning from engineering validation, the role of a unified operating setup in keeping results comparable and reproducible, a five-dimension scoring rubric, and how to connect generic cloud capabilities such as object storage, message queues, containers, and observability. The key takeaway: a model's planning ability sets the ceiling, while the framework's validation strategy sets the floor.

    1. Background and Experiment Goals

    As agent execution frameworks and tool-calling capabilities evolve quickly, a natural engineering question arises: given the same complex delivery goal, how do different LLMs and different execution frameworks actually behave? To make this question observable and comparable, this practice picked a task with clear boundaries and a well-defined deliverable—replicating a conversational web application.

    This article is not a benchmark or recommendation of any specific third-party product. Instead, it abstracts the scenario into a general technical problem: given the interface of an already-launched conversational product and a generic API usage document, how can an agent complete the full loop from requirement abstraction to a runnable frontend and then to experience optimization?

    The experiment defined three deliverables:

    1. Product functional documentation and structure diagram: information architecture, page module breakdown, and core interaction flows.
    2. A high-fidelity replica of the web interface: visuals and interactions as close to the reference as possible.
    3. An experience-driven improved version: optimizations proposed and implemented on top of the replica.

    2. Experiment Design: Six Model and Framework Combinations

    The experiment used six “model + execution framework” combinations with different positioning:

    • Combination A: a high-tier mode of a general-purpose LLM + a multi-agent team collaboration mode.
    • Combinations B and C: two different tiers from the same model family + the same AI coding execution framework.
    • Combination D: a model built for extra-long context + an AI coding execution framework.
    • Combination E: a model tuned for balanced standard-context performance + its companion client.
    • Combination F: a general-purpose flagship model + its companion interactive interface.

    This design deliberately controls variables: the same delivery goal, the same reference material, and the same operating conventions. The only thing that changes is model capability and execution framework strategy. That is what allows differences to be attributed to “strategy” rather than “conditions.”

    3. Two Rounds of Prompting: Constrain First, Then Open Up

    The experiment used two rounds of prompts.

    The first round provided only the role and the goal, with no credentials of any kind. The core instruction, abstracted, was:

    1. You are a senior product manager who needs to replicate a conversational web app.
    2. Reference: the interface of an already-launched conversational product (accessible via browser tools, already logged in).
    3. Reference material: the generic API usage documentation for this class of product.
    4. Deliverables: functional documentation and structure diagram, the replicated page, and an improved version of the page.

    Only the second round disclosed the available calling credentials. The point of this design: the first round tests planning and reproduction ability, while the second round tests engineering closure and self-validation ability.

    A key divergence appeared in practice:

    • Some combinations, after receiving credentials, performed only the most basic connectivity check—for example, sending one message to see whether a response came back.
    • Others proactively constructed multi-turn conversations, malformed input, extra-long text, interrupted streaming output, and similar scenarios, exposing defects and iterating on fixes.

    This shows a systematic difference in “validation depth” across models and execution frameworks—and validation depth directly determines delivery quality.

    4. Why a Unified Operating Convention Matters

    All combinations used the same operating approach in the experiment: the same browser access path, the same file write locations, and the same run and preview methods. There are three reasons:

    1. Comparability: avoid mistaking differences in tool proficiency for differences in model capability.
    2. Reproducibility: any single result can be run again.
    3. Attributability: when something goes wrong, it is possible to pinpoint whether the cause is a planning defect, a coding defect, or a validation defect.

    5. Suggested Evaluation Dimensions

    Score across five dimensions, 1–5 points each:

    Dimension Focus
    Requirement understanding Whether core modules such as the session list, message stream, input area, and parameter area are identified
    Interface fidelity Whether layout, spacing, hierarchy, and state feedback are complete
    Code quality Component decomposition, state management, maintainability
    Validation depth Whether abnormal and boundary scenarios are constructed proactively
    Improvement value Whether optimizations solve real pain points rather than making visual tweaks

    6. Connecting Generic Cloud Capabilities to the Conversational App

    A replica is only the starting point. To make it usable, connect generic cloud capabilities:

    • Object storage: persist conversation history and attachments.
    • Message queues: smooth traffic peaks and support asynchronous distribution of streaming output.
    • Container platform: elastic scaling for the frontend and the inference gateway.
    • Log service and monitoring/alerting: track time to first token, failure rate, and timeout distribution.

    On the frontend side, keep a minimal viable skeleton:

    1. async function send(prompt) {
    2. const resp = await fetch('/api/chat', {
    3. method: 'POST',
    4. headers: { 'Content-Type': 'application/json' },
    5. body: JSON.stringify({ prompt, stream: true })
    6. });
    7. for await (const chunk of resp.body) {
    8. render(parseChunk(chunk));
    9. }
    10. }

    7. Conclusion

    The value of a same-task, different-stack experiment lies not in ranking but in revealing an engineering rule: a model’s planning ability sets the ceiling, and the execution framework’s validation strategy sets the floor. To make agents deliver reliably, prompts must explicitly require boundary testing, exception handling, and iterative fixes, and validation depth must be part of the evaluation criteria.