AI Agents for Full-Stack Development: From Benchmarks to Engineering Delivery

    Code benchmarks reveal only part of an AI agent’s development capabilities. Using a commercial spaceflight booking website as a case study, this article examines frontend generation, database constraints, concurrent booking, cloud deployment, and human review. It also provides a structured prompt template and a practical evaluation method for deciding which development tasks agents can reliably handle.

    Introduction

    The way large language models are evaluated is changing. The industry once focused primarily on scores for natural language processing tasks. Increasingly, teams want to know whether models can complete work in real software engineering environments. Some open-source AI agents have performed well on coding benchmarks, demonstrating capabilities in code generation and logical reasoning.

    For enterprise teams, however, benchmark scores are only a reference point. The more important question is whether an agent can take a business brief, implement everything from frontend design to backend storage, and deliver an application that runs and can be maintained.

    Rather than discussing rankings, this article uses a concrete engineering scenario to examine what agents can do, where their limitations lie, and how developers should organize the work.

    1. The Gap Between Benchmarks and Business Requirements

    Two common benchmarks evaluate different aspects of coding capability:

    • SWE-bench uses issues from real open-source repositories to test whether a model can locate a defect and produce a fix that passes tests.
    • Terminal-Bench evaluates the ability to complete tasks in a command-line environment, such as installing dependencies, modifying configuration, and running scripts.

    These benchmarks provide evidence of a model’s understanding of programming languages, engineering configuration, and system operations—foundational skills for building complex applications.

    Commercial software requirements are different. They are often incomplete, span multiple domains, and include demanding visual expectations. A model that can fix a repository issue may not be able to turn an ambiguous brand description into a usable interface.

    A high benchmark score therefore indicates strong performance on a particular set of tasks, not an ability to deliver a complete product independently.

    Benchmark versions, execution environments, and prompting methods also affect results. When reporting a score, record the benchmark name and version, model version, and test date.

    2. Frontend Engineering: From Visual Requirements to a Working Page

    Consider a website for a commercial space travel company offering low-Earth-orbit trips. The design needs to convey both a premium experience and advanced technology, making its visual requirements more demanding than those of a typical corporate website.

    The following discussion describes the generated results in the case study without relying on unverified performance metrics.

    2.1 Immersive Visuals and Animation

    An agent can generate the playback logic for a full-screen background. For example, the page can simulate a view through a spacecraft window, with Earth’s curved surface slowly rotating in the background. It can also overlay a telemetry-style panel in a monospace font and use CSS animation to create a pulsing “System Online” indicator.

    The distinction is important: the agent generates code, not the video asset. The design team must supply the video and verify its licensing.

    Before release, teams should:

    • Compress the video to a reasonable size—for example, a few megabytes per background video—with the exact limit determined by the project’s performance budget.
    • Set a poster image so a static visual appears before the video loads.
    • Replace video with a static image on mobile devices or slow connections.
    • Use lazy loading to avoid loading large files during the initial page load.
    • Detect prefers-reduced-motion and disable video and substantial animation when the user enables that preference.

    2.2 Narrative Information Architecture

    An agent can build a vertical timeline that presents successive stages of the trip:

    • T-60:00: preparation at the spaceport.
    • T+03:00: the powered flight phase.
    • T+08:00: the zero-gravity experience.
    • The final splashdown and recovery.

    Each stage can display its own data and imagery.

    The main engineering challenge is consistency between the narrative and its underlying data. Every timeline timestamp should come from one shared data source rather than being hard-coded separately in templates. Reviewers should check that the data is centrally managed and that values remain consistent across pages.

    2.3 Seat Selection and Vector Graphics

    Seat selection is a more interaction-intensive feature. With six seats per flight, the agent needs to generate an SVG seat map based on the business rules and bind each seat to a clickable UI component.

    The interface should use seat availability returned by the backend to mark sold seats as unavailable and prevent duplicate submissions.

    The frontend handles presentation and interaction; the backend remains the source of truth. Even if a seat appears available in the interface, the backend must validate its availability again when the booking is submitted.

    2.4 Examples Across Other Domains

    The source material also mentions deep-sea research and luxury e-commerce scenarios, including hero-section camera movement, animated filters, and specified fonts.

    However, it does not provide the complete shared prompt, generation times, or acceptance criteria. Those specific visual results are therefore not used as evidence here.

    To evaluate similar outputs, teams should compare multiple models or repeated generations using the same prompt, recording completion time, revision count, and defect categories for each run.

    3. Backend Engineering: A Minimal Reproducible Booking Flow

    Visual presentation is only one part of the application. Booking requires working backend logic, particularly seat-capacity control that remains correct under concurrent requests.

    The following minimal example uses MySQL 8.0. The data access layer could use SQLAlchemy 2.0 or another ORM; exact versions should be confirmed against the project’s requirements.

    1. CREATE TABLE flight (
    2. id BIGINT PRIMARY KEY AUTO_INCREMENT,
    3. flight_no VARCHAR(16) NOT NULL UNIQUE,
    4. depart_at DATETIME NOT NULL,
    5. seat_capacity TINYINT NOT NULL DEFAULT 6,
    6. seats_booked TINYINT NOT NULL DEFAULT 0,
    7. CHECK (seat_capacity BETWEEN 1 AND 6),
    8. CHECK (seats_booked >= 0 AND seats_booked <= seat_capacity)
    9. );
    10. CREATE TABLE booking (
    11. id BIGINT PRIMARY KEY AUTO_INCREMENT,
    12. flight_id BIGINT NOT NULL,
    13. seat_no VARCHAR(4) NOT NULL,
    14. passenger_name VARCHAR(64) NOT NULL,
    15. status VARCHAR(16) NOT NULL,
    16. created_at DATETIME NOT NULL,
    17. UNIQUE KEY uk_flight_seat (flight_id, seat_no),
    18. FOREIGN KEY (flight_id) REFERENCES flight(id)
    19. );

    Three constraints are particularly important:

    1. The CHECK constraints prevent the booked-seat count from exceeding capacity.
    2. The uk_flight_seat unique index allows only one booking record for a given seat on a given flight.
    3. The foreign key ensures that each booking references an existing flight.

    A conditional update can control concurrent changes to the booked-seat count. Execute the following steps within a single transaction:

    1. START TRANSACTION;
    2. UPDATE flight
    3. SET seats_booked = seats_booked + 1
    4. WHERE id = ? AND seats_booked < seat_capacity;
    5. -- If 0 rows are affected, the flight is full; roll back and return 409.
    6. INSERT INTO booking (flight_id, seat_no, passenger_name, status, created_at)
    7. VALUES (?, ?, ?, 'CONFIRMED', NOW());
    8. COMMIT;

    If the UPDATE affects zero rows, the application should roll back the transaction and return 409 Conflict. If the INSERT fails because of a unique-index conflict, it should likewise roll back and report that the seat is already taken.

    The API can expose:

    • GET /api/flights/{id}: Return flight details and the number of remaining seats.
    • POST /api/flights/{id}/bookings: Submit passenger details and a seat number. Return 409 when the flight is full and 400 for invalid parameters.

    All endpoints should validate input. Sensitive information, such as passenger names and identity document numbers, must not be written to logs. Database connection settings should be injected through environment variables or a secrets management service.

    4. Deployment and Cloud-Native Integration

    Agent-generated applications usually need to be deployed to a cloud environment.

    For example, a deployment on Baidu AI Cloud could use its object storage service, BOS, for frontend assets and video files, its container engine, CCE, for backend services, and a logging service to collect runtime logs. Alibaba Cloud, Tencent Cloud, or a self-managed Kubernetes cluster can serve the same architectural purpose. The choice depends on the team’s existing stack and budget.

    Before deployment:

    • Run at least two backend replicas, with load balancing and health checks, to avoid a single point of failure.
    • Configure alerts for key indicators, including error rates, response times, and seat overselling.
    • Obtain cloud credentials through RAM roles or a secrets management service rather than embedding them in code or configuration files.
    • Apply least-privilege policies to object storage. Static assets may be publicly readable, but upload and delete permissions should be restricted to the deployment process.
    • Estimate resource consumption and costs for each deployment, and configure budget alerts.

    With these preparations, the generated application can move into a test environment relatively quickly. Whether it runs reliably depends on load-test results and monitoring data—not generation speed.

    5. How the Developer Workflow Changes

    When agents take on much of the boilerplate coding and page layout work, developers can focus more on requirements, architecture review, and testing.

    5.1 A Structured Prompt Template

    Prompt quality directly affects the output. Teams can adapt the following template to their projects:

    1. [Role]
    2. You are a senior full-stack engineer familiar with React and Spring Boot
    3. (replace these with the frameworks used in the project).
    4. [Technology Stack]
    5. Frontend: Vite + React 18.
    6. Backend: Python 3.11 + FastAPI.
    7. Database: MySQL 8.0.
    8. [Business Rules]
    9. Each flight has a maximum of 6 seats.
    10. Return 409 when the flight is full.
    11. The same seat cannot be booked twice.
    12. [UI Requirements]
    13. Primary color: #0B1F3A.
    14. Fonts: Cormorant Garamond for headings; system sans-serif for body text.
    15. No horizontal scrolling at a mobile viewport width of 375px.
    16. [Performance Requirements]
    17. Initial-load JavaScript must not exceed 200KB.
    18. Background video must include a static poster image.
    19. Support prefers-reduced-motion.
    20. [Security Requirements]
    21. Read sensitive configuration from environment variables.
    22. Do not log passenger identity document numbers.
    23. [Deliverables]
    24. Complete project directory.
    25. Database migration scripts.
    26. Local setup and run instructions in the README.
    27. At least 10 unit tests.
    28. [Acceptance Criteria]
    29. List the test cases corresponding to each business rule.
    30. Identify any areas not covered by tests.

    The values and technology choices are examples, not universal requirements. Replace them with the team’s standards and keep the role description consistent with the selected stack.

    Clear acceptance criteria are more useful than a longer descriptive brief.

    5.2 Code Review Checklist

    Agent-generated code requires human review. The following checklist provides a starting point:

    Review Area What to Check Passing Criteria
    Database constraints Completeness of unique indexes, foreign keys, and CHECK constraints Invalid data is rejected at the database layer
    Concurrency control Conditional updates or locking for seat counts No overselling during load tests
    Input validation Validation of all external input Invalid parameters return 400 without exposing stack traces
    Sensitive information Privacy leaks in logs, responses, and frontend code No exposure of identity document numbers, secrets, or internal addresses
    Dependency versions Pinned framework and library versions Lockfiles are present and versions match the project
    Visuals and performance Initial-load size, mobile behavior, and animation fallbacks Meets the prompt’s performance requirements
    Test coverage Tests mapped to business rules At least one test case for every rule

    6. Limitations and a Practical Validation Method

    Many available case studies are compiled by the teams involved and lack standardized comparative experiments. Readers should therefore validate agent delivery capabilities themselves rather than accept broad claims.

    A simple evaluation method is to give the same fixed prompt to two or three models or tools. For each run, record:

    • Completion time.
    • The number of lines requiring manual changes.
    • The number of defects found.
    • The categories of those defects.

    Then assess every result using the same review checklist. This produces more useful evidence than a single promotional example.

    Agents also remain dependent on prompts for aesthetic decisions. Designers need to judge whether the result accurately reflects the intended brand. Work involving money, personal information, or production databases requires additional human confirmation.

    Conclusion

    Benchmark scores demonstrate coding capability within a defined evaluation setting. Engineering delivery also requires database design, concurrency control, security review, deployment, and ongoing operations.

    With human acceptance testing and security checks, AI agents can reduce the time spent building frontend pages and boilerplate backend code. Teams should concentrate on clear requirements and quality control, using actual acceptance-test results to decide which parts of the workflow can be delegated to an agent.