AI Coding Agents Tested: Building an E-Commerce Site from Scratch

    This hands-on test examines whether AI coding agents can deliver a runnable, well-structured e-commerce site with a complete shopping flow, form validation, and product detail pages. It compares agent orchestration modes, evaluates architecture and frontend quality, analyzes response speed and error recovery, and explains how object storage, container deployment, and logging services can address common engineering gaps.

    As AI coding tools evolve from code completion to full-project generation, developers are increasingly concerned with whether these tools can deliver projects that actually run, follow a reasonable structure, and provide a usable interface. To explore this question, we designed a test task: build an e-commerce site from scratch with a complete shopping flow, form validation, and product detail pages.

    This article summarizes our observations and explains how cloud services can help address some of the engineering weaknesses found in AI-generated projects.

    The results come from a single targeted test and do not represent how every tool performs in every scenario. Tool versions and models change rapidly, so readers should validate the findings in their own environments.

    1. Agent Orchestration Modes Involve Different Trade-Offs

    Most tools have moved beyond the early fully autonomous approach. Auto mode asks the model to complete the entire task independently. However, in long workflows, small errors at each step can accumulate until the final project becomes unusable.

    Two approaches are now more common.

    The first is a guided mode, with names such as Craft and Builder. These modes require developers to intervene at key points and guide the model through the implementation with clear prompts. During the test, some tools completed the basic shopping flow in a single attempt when operating in this mode. Strict context control helped prevent the model from drifting away from the original objective.

    The second is a multi-agent collaboration mode, in which different roles handle different parts of the task. Architect mode was effective at breaking down complex requirements and showed potential for handling business logic in an e-commerce project. Zulu generated code quickly, but had clear problems with file-system operations. In the test, it created a nested folder with the same name inside the target directory, leaving the project unable to start.

    This suggests that multi-agent collaboration still has consistency issues in task orchestration and file operations.

    The table below summarizes the main differences observed during the test. Architect and Zulu were the mode names shown in the tools tested. Their implementation details may differ across products.

    Mode Orchestration characteristics Main test result Primary risk
    Fully autonomous mode (Auto) The model completes the entire task independently Errors accumulated during the long workflow, making the project unusable No feedback mechanism
    Guided mode (Craft, Builder) The developer intervenes at key points Some tools completed the basic shopping flow in one attempt Depends on prompt quality and context control
    Multi-agent collaboration (Architect) Breaks down the task and distributes work to different roles Showed potential for handling complex business logic Task orchestration requires manual verification
    Multi-agent collaboration (Zulu) Generates output relatively quickly File-system operations failed and the project could not start Inconsistency between directory and file operations

    2. Evaluation Criteria for Full-Stack Projects

    A generated project should not be evaluated solely on whether it can start. Its architecture, code separation, and frontend experience are equally important.

    2.1 Project Architecture and Code Separation

    A good full-stack project should have a clear directory tree and well-defined modules. During the test, some tools separated styles from JavaScript logic, resulting in relatively readable code.

    Other tools produced overly simple structures and embedded mock data directly in business components, violating the principle of separation of concerns. Some also created modern frontend directories such as hooks and context, but left the files empty without implementing actual state-management logic.

    This type of superficial structure shows that large language models may still understand best practices for specific technology stacks only at a surface level. During review, developers should inspect the directory tree and state-management files to confirm that the expected functionality has actually been implemented.

    2.2 UI Interaction and Responsive Design

    Frontend generation remains a weak area. Multiple sites produced during the test had usability problems of varying severity.

    Common issues fell into three categories:

    • Pages did not adapt properly to mobile screens.
    • Some buttons used white text on a white background, making the labels invisible.
    • Color schemes were inconsistent and failed to meet basic design expectations.

    One reason is that models generate CSS without visual rendering feedback. Unlike human developers, they cannot continuously inspect the browser and adjust the interface in real time. Another common issue was the use of placeholder images for all products. These assets must be replaced manually before launch.

    3. Development Efficiency and Error Recovery

    3.1 Response Speed

    Waiting time also affects the user experience, in addition to the quality of generated code. Some tools that rely on specific large language models responded slowly to complex prompts. During the test, the delay was significant enough to make paid acceleration seem appealing.

    Some foundation models may be available at no cost in certain markets, but compute scheduling latency remains one of the main factors affecting the overall experience.

    3.2 Errors and Self-Repair

    AI-generated code can contain errors. In the test, the first version produced by some tools had compilation problems and required several rounds of interaction before it could run.

    Projects generated in multi-agent mode could sometimes start successfully but contained more runtime errors. During automatic repair, the model occasionally became trapped in a loop, repeatedly attempting to fix the same issue. Developers eventually had to abandon the process.

    This indicates that current agents still lack automated tests as a reliable safety net. Without regression validation before code submission, an agent cannot reliably determine whether a fix has resolved the original problem or introduced a new one.

    4. Using Cloud Services to Address Engineering Gaps

    The following approach is based on general services provided by Baidu AI Cloud. Its effectiveness should be validated in each project. Product capabilities, quotas, pricing, and availability may change, so readers should consult the official documentation.

    4.1 Managing Product Images with Object Storage

    AI-generated projects often rely on placeholder images. Developers can prompt the model to integrate with object storage so that product images are uploaded and retrieved through a centralized service.

    This can help address missing assets, but image content and copyright still require manual verification. Access permissions must also be configured properly to prevent sensitive resources from being exposed publicly.

    4.2 Containerizing Backend Services

    AI-generated backends often lack deployment scripts. Packaging the backend as a container makes it possible to run the service in a consistent environment and adjust the number of instances according to load.

    Before deployment, teams still need to configure resource specifications, access permissions, health checks, and rollback strategies. Microservices generated through a multi-agent workflow can also run in the same type of environment, but their service boundaries must be reviewed manually.

    4.3 Using Logging Services for Troubleshooting

    Runtime errors are often difficult to locate, making them a common problem in AI-generated projects. Connecting application logs to a logging service makes it easier to search and analyze exceptions.

    Logs can provide clues about data flows, such as how shopping cart data moves through the application. Rendering issues, however, depend more heavily on screenshots and reproducible steps. Both types of information should be considered together during diagnosis.

    Conclusion

    This test shows that AI coding tools can build the basic framework of an e-commerce site in a relatively short time. However, shallow architecture, unstable styling, and inconsistent multi-agent collaboration remain significant problems.

    When adopting these tools, teams should define acceptance criteria first and then decide which parts of the workflow can be delegated to the model. Before release, projects still require manual code review, security scanning, regression testing, and verification of image and content rights.

    Cloud services such as object storage, containers, and logging can be integrated through standard interfaces to strengthen the project’s engineering foundation. When combined with testing, monitoring, and rollback capabilities, these services can make the overall development and deployment process more controllable.