Evaluating LLM Workflows by Recreating an Open-Source Chat App
A practical evaluation of six model-and-tool configurations examines how LLMs handle requirements analysis, application development, API integration, and iterative improvement. Using a two-stage prompting process and consistent deliverables, the study highlights differences in autonomous testing, context retention, and planning quality, and provides a reusable framework for assessing end-to-end engineering performance.
Evaluating LLM Workflows by Recreating an Open-Source Chat App
1. Background and Objectives
The open-source LLM ecosystem continues to expand, with ongoing improvements in foundation models and reasoning capabilities. For developers and engineering teams, a recurring question is how much these models differ when applied to real software development tasks.
Benchmark scores alone cannot answer that question. They rarely capture the full development lifecycle: understanding requirements, generating code, testing independently, and refining an implementation.
This evaluation used a task close to real-world development: asking several model-and-tool configurations to recreate an open-source conversational web application. Each configuration had to produce three deliverables: product documentation, a working replica, and an improved version based on its own assessment of the product.
A standardized workflow and two rounds of prompting made it possible to observe differences in execution depth and draw lessons relevant to model selection. The aim was not to recommend a particular brand or model, but to identify reusable evaluation methods and engineering practices.
2. Test Design: Consistent Tasks and Controlled Variables
2.1 Model and Tool Configurations
The evaluation included six configurations covering different reasoning approaches and context capacities. These included:
- A flagship reasoning model with a team collaboration mechanism.
- A deep-reasoning model paired with an intelligent coding tool.
- Long-context and standard-context models, each paired with its corresponding client.
- General-purpose conversational models using their native toolchains.
The configurations emphasized different capabilities. Some focused on deep reasoning and multistep planning, others on retaining information across long contexts, and others on tool use and code execution.
Evaluating model-and-tool combinations, rather than models in isolation, more closely reflects how teams use LLMs in practice.
2.2 Required Deliverables
Every configuration had to produce the same three outputs:
- Product requirements documentation and structural diagrams: A feature inventory, information architecture, page navigation flows, and an explanation of technology choices.
- A recreated chat application: An implementation of core capabilities, including multi-turn conversations, conversation history management, and streaming responses.
- An improved application: At least one implemented user-experience or engineering improvement based on the model’s understanding of the product.
Clearly defined deliverables reduce the risk that open-ended model behavior will distort the evaluation. In practice, each deliverable should be broken down into checkable acceptance criteria, such as:
- The conversation list supports creating, switching, and deleting conversations.
- Messages support Markdown rendering.
- API errors produce an appropriate fallback message.
2.3 Two-Stage Prompting
The test used two rounds of prompts:
- Round 1: Requirements and design. The model received a role definition, task objectives, and access instructions for the reference application and API documentation. It was asked to analyze the requirements and develop an implementation plan.
- Round 2: API credentials. After the design was complete, the model received a working API key and proceeded to live integration testing.
This “design first, integrate second” structure separates planning ability from execution ability. The first round reveals how thoroughly the model understands the product’s scope. The second reveals whether it can independently test and fix problems once real credentials are available.
The core prompt structure can be summarized as follows:
Role: Senior product manager and full-stack engineerTask: Recreate the core experience of a conversational web applicationReferences: Target website with authorized access and API documentationDeliverables:1. Product documentation and structural diagrams2. A recreated web application3. An improved version based on practical assessmentConstraint: Present the plan first. Wait for API credentials in thesecond round before performing integration testing.
3. Observations: Differences in Model Behavior
3.1 Shallow Execution vs. Thorough Validation
Once the models received API credentials, their behavior diverged noticeably.
- Shallow execution: Some configurations stopped after a basic connectivity check. Their applications could send and receive a single message, but they did not test edge cases.
- Thorough validation: Others independently tested multi-turn conversations, long text, and unusual inputs. They identified and repaired issues such as interrupted streaming output, incorrect restoration of conversation history, and token-limit failures.
These differences show that engineering capability is not just a matter of code generation quality. It also depends on whether the model follows a test–detect–repair loop. In practice, that loop often determines how far an implementation progresses beyond a basic demo.
3.2 The Effect of Context Length
Long-context models retained information more effectively when working with product documentation, API documentation, and multiple source files. Their changes were also more consistent.
Standard-context models were more likely to lose track of earlier decisions as the task progressed. Examples included inconsistent API field names and conflicting styling conventions.
For long-running tasks, teams should explicitly maintain a contract summary: a concise record of agreed interfaces, conventions, and constraints. Including it in each interaction can reduce context drift.
3.3 Reasoning Depth and Planning Quality
Deep-reasoning models generally produced more complete structural diagrams and feature breakdowns in the first round. Some also identified weaknesses in the reference product, such as inadequate mobile support or missing loading states, and incorporated those issues into their improvement plans.
General-purpose conversational models were more likely to move directly into coding without clarifying requirements.
For complex tasks in this evaluation, planning before implementation worked substantially better than attempting to complete everything in a single step.
4. A Reusable Evaluation and Delivery Framework
The observations support a general framework for evaluating LLMs on engineering tasks.
4.1 Evaluation Dimensions
Score each configuration from 1 to 5 across five dimensions:
| Dimension | What to assess |
|---|---|
| Requirements understanding | Coverage of functional boundaries and failure paths |
| Solution design | Architectural suitability and the quality of documentation and structural diagrams |
| Code quality | Readability, component organization, and state management |
| Autonomous validation | Whether the model proactively tests the implementation and discovers defects |
| Iterative improvement | The value of proposed improvements and how completely they are implemented |
4.2 Procedures for Controlling Variables
To keep results comparable:
- Use identical prompt text, reference materials, and credential-release timing for every configuration.
- Avoid intervening in the model’s internal strategy, since evaluator guidance can introduce bias.
- Record execution time, interaction rounds, and final deliverables for each configuration.
These records provide a more consistent basis for comparison than impressions of the final interface alone.
4.3 Deliverable Acceptance Checklist
A reliable recreation of a conversational web application should satisfy at least the following requirements:
- Correctly pass conversation context across multiple turns.
- Provide stable streaming output and recovery from interruptions.
- Support conversation creation, switching, deletion, and persistence.
- Render Markdown and code blocks, with copying support.
- Display user-friendly messages for API timeouts, rate limits, authentication failures, and similar errors.
- Provide a responsive layout and basic accessibility support.
The improved version should include at least one optimization validated through actual use. Examples include lower time to first token, clearer conversation history management, or more robust error recovery.
5. Engineering Lessons
Staged prompting is effective. Separating design from live integration can substantially improve delivery stability on complex tasks.
Give models the ability to validate their work. Access to a working environment lets models run tests themselves and can expose defects that manual checks may miss.
Long context does not eliminate forgetting. Structured records of agreements and task state remain important for maintaining consistency.
Select models for their closed-loop execution capability. Generating code is only the starting point. Models that can independently test, detect defects, and repair them are better suited to end-to-end development tasks.
Treat evaluation as an engineering process. Consistent acceptance criteria and scoring dimensions produce more reproducible conclusions than subjective impressions.
6. Conclusion
This multi-model evaluation found that the most meaningful differences appeared in the depth of engineering execution, rather than code generation alone.
Two-stage prompting, consistent deliverables, and multidimensional scoring give teams a practical way to compare models on real development work. They also help teams choose configurations suited to their application complexity and technology stack.
For organizations introducing LLMs into software development, the resulting workflow—requirements, design, integration, validation, and improvement—provides a reusable structure for both evaluation and delivery.
