Rebuilding an AI Chat Application with Multiple Model–Agent Combinations

    This engineering experiment compares six model–agent harness combinations tasked with rebuilding a full-featured AI chat web application. It examines requirements analysis, UI fidelity, API integration, product improvements, and self-testing, highlighting why agent orchestration and explicit acceptance criteria matter as much as model capability. The findings offer practical guidance for evaluating end-to-end AI development workflows and identifying implementations that appear complete but remain unreliable.

    Rebuilding an AI Chat Application with Multiple Model–Agent Combinations

    1. Background: When AI Application Capabilities Become APIs

    A leading large language model provider recently exposed the capabilities of its chat application through APIs. These included extended reasoning, web search, file parsing, speech synthesis, and speech recognition. The provider also stated that developers could reproduce its complete application on a one-to-one basis.

    This prompted discussion among developers. API access lowers the barrier to building applications, but it also raises an engineering question: Can a language model independently move from requirements analysis to implementation when given only a requirements brief and API documentation?

    Rather than reviewing the provider’s specific products, this article treats the scenario as a general engineering experiment. Multiple combinations of models and agent harnesses were tasked with rebuilding a full-featured AI chat web application. Their performance was compared across requirements interpretation, code generation, self-testing, and defect correction.

    2. Experiment Design: Comparing AI Engineering Capabilities

    2.1 Model–Harness Combinations

    The experiment evaluated six combinations of models and agent harnesses. The resulting implementation depended not only on the model, but also on the harness’s ability to decompose tasks, invoke tools, and plan across multiple rounds.

    For example, a long-context model working through a collaborative agent team can follow a very different development path from a standard-context model running in a conventional client—even when both receive the same requirements.

    2.2 Three Required Deliverables

    Each combination had to produce three deliverables, corresponding to three key stages of product engineering:

    1. A product requirements document and feature hierarchy diagram. This tested requirements analysis: could the agent inspect the target website and API documentation, identify the full feature set, and represent the relationships between modules?

    2. A faithful implementation of the original application. This tested UI reproduction and API integration. The layout, interactions, and core functionality needed to match the original web application.

    3. An improved version of the application. This tested product judgment. After understanding the original design, the agent had to conduct web research, propose justified improvements, and implement them.

    2.3 A Two-Round Prompting Strategy

    The evaluation used two rounds of prompting:

    • Round one: Provide the complete requirements and ask the model to act as a senior product manager. It was instructed to inspect the target website and API documentation, produce all three deliverables, and begin directly rather than relying on memory or pre-existing skills.
    • Round two: Supply the actual API credentials and require the agent to connect to the live service and verify functionality.

    The key observation was how thoroughly each combination tested its implementation after receiving credentials.

    Some performed only a basic connectivity check: send a request, receive a response, and declare completion. Others ran multiple real conversations, identified interrupted streaming responses, lost conversation history, or misaligned mobile layouts, and iteratively corrected those problems.

    These differences reflected the task strategies of the agent harnesses, rather than model capability alone. The human-operated procedure was kept consistent across all combinations.

    3. Results: Where Engineering Performance Diverged

    3.1 Product Documentation Quality

    Stronger combinations did more than list features. Their reports included acceptance-testing considerations, such as verifying shared links in a browser without an authenticated session and testing file uploads separately for format and size restrictions.

    These details demonstrated an awareness of practical engineering validation, rather than simply repeating text from the website.

    Weaker combinations tended to produce documents that looked structurally complete but contained little substance. Their feature hierarchy diagrams added limited analytical value.

    3.2 UI Fidelity

    Reproducing an interface tests both detailed visual interpretation and implementation ability.

    The strongest implementations closely matched the original application, including the position and dimensions of the mobile input field. They also covered details such as chat bubbles, collapsible reasoning panels, and syntax highlighting in code blocks.

    Common weaknesses included:

    • Dark-mode toggles that did not work.
    • Poor scrolling performance in long lists.
    • Sidebar conversation management that fell out of sync with routing state.

    These issues illustrate why a visually convincing initial screen is not enough to establish that an application has been faithfully rebuilt.

    3.3 Trade-Offs in the Improved Version

    The third deliverable revealed some of the clearest differences.

    Simpler implementations mostly accumulated features: voice input, theme switching, and export buttons. Stronger combinations first considered why the original application had been designed as it was, then introduced improvements selectively.

    Examples included reorganizing conversation-history search, adding prompt-template management, and refining mobile gesture interactions. Each change was accompanied by a rationale, rather than being treated as an automatic improvement simply because it added functionality.

    4. Lessons and Best Practices

    The experiment suggests several reusable practices for evaluating and deploying AI-driven development workflows:

    • The agent harness matters as much as the model. When the same model operates within a harness that supports task planning and reflection, testing depth and defect correction can improve substantially.

    • Staged prompting is preferable to a single all-in-one request. Separating requirements analysis, development, and credential-based validation makes it easier to observe and guide the agent’s execution strategy.

    • Define acceptance criteria upfront. Including requirements such as mobile consistency and live API integration in the initial prompt is more efficient than discovering those expectations during rework.

    • Watch for superficial completion. An implementation can appear finished while retaining significant hidden defects. A standardized functional verification checklist is necessary to distinguish basic connectivity from actual application readiness.

    Teams applying a similar “AI rebuilding an AI application” workflow in production can use general-purpose cloud infrastructure to reduce infrastructure overhead. Object storage can host static assets, container platforms can deploy generated frontend and backend services, and logging, monitoring, and alerts can provide visibility during integration testing.

    General-purpose product categories offered by providers such as Baidu AI Cloud can support these infrastructure needs, subject to the availability of the relevant services in the intended deployment region. This allows teams to focus more of their effort on model evaluation and prompt engineering.

    5. Conclusion

    Asking AI to rebuild an AI application may look like a novelty, but it provides a practical framework for evaluating agent engineering capabilities.

    The task simultaneously tests requirements understanding, code generation, design judgment, and self-correction. It also exposes deeper differences in how agent harnesses plan, validate, and complete work.

    As model capabilities continue to evolve, end-to-end application-rebuilding experiments can serve as an important benchmark for assessing how effectively AI systems handle real software engineering tasks.