From Benchmark Scores to Deliverables: Full-Stack App Generation with AI Agents

    This article explains why benchmark scores alone do not show whether an AI agent can build a working full-stack application. It outlines the capability layers that end-to-end app generation requires, uses a seat reservation system to show how concurrency and data consistency must be handled, and proposes task-level acceptance metrics and deployment practices for delivering generated applications.

    1. Why Benchmark Scores Are No Longer the Finish Line

    Public evaluations show that some open-source large language models are approaching, and in some cases matching, leading closed-source models on difficult tasks. For developers and enterprises, however, a model score only indicates that a model may have a certain capability. It does not answer the more important question: can the model reliably turn a requirements document into an application that runs, can be maintained, and can be deployed?

    End-to-end app generation differs from traditional code completion. The model or agent must handle requirement understanding, task decomposition, visual design, frontend interaction, backend APIs, data persistence, concurrency control, error handling, deployment configuration, and acceptance testing. If any of these is missing, the output may look finished but work only as a demo page, not as a system that can handle real traffic.

    For this reason, an agent’s full-stack generation ability should be judged by more than public benchmark scores. The question is whether the agent delivers a complete loop: users can operate the product, data is stored in a database, errors can be recovered from, the service can be observed, and the code can be maintained.

    2. Breaking Down End-to-End Generation

    A deliverable full-stack generation task should be split into at least the following capability layers:

    1. Requirement parsing and task planning: Break a natural-language requirement into tasks for pages, interactions, APIs, data models, tests, and deployment. Identify implicit constraints, such as “seat capacity per flight,” “persistent reservation data,” and “automatic locking when a flight is full.”
    2. Visual and brand system generation: Generate design tokens, including colors, font hierarchy, spacing, motion rhythm, and component states, so that multiple pages stay visually consistent.
    3. Frontend interaction implementation: Build responsive layouts, state management, form validation, loading and error states, and accessibility support. A page that only looks like a static screenshot does not meet this layer.
    4. Backend domain modeling: Abstract business objects into entities such as flights, seats, reservations, and passengers. Define interface contracts, validation rules, and error codes.
    5. Data persistence and consistency: Store data in common services such as relational databases, object storage, or caches. Ensure concurrency correctness through transactions, unique constraints, or optimistic locking.
    6. Security and observability: Add input validation, authentication, rate limiting, audit logs, structured logs, and monitoring with alerts.
    7. Deployment and rollback: Provide container images, environment variables, health checks, and canary release and rollback strategies.

    These capabilities are interdependent. An agent needs to establish frontend-backend contracts during task planning. Otherwise, frontend interactions and backend data models can easily drift apart. It also needs to define design tokens at the design stage. Without them, a multi-page output quickly loses visual consistency.

    3. From Concept Site to Running System: An Abstract Case

    Consider a low Earth orbit travel concept website. Its requirements typically include a full-screen video or space background, a flight data panel, a timeline narrative, an SVG-based cabin selection interface, a flight booking form, persistent reservation data, and a per-flight seat cap with automatic locking. A qualified output should not only have visual impact. It also needs complete backend logic.

    Its abstract architecture can be represented as follows:

    1. Requirement specification
    2. -> Task planning: pages / components / APIs / data models / tests
    3. -> Design tokens: colors, fonts, spacing, motion, component states
    4. -> Frontend: narrative pages + cabin selection + booking form
    5. -> Backend: flight query / seat inventory / reservation creation / idempotency check
    6. -> Data: flight table, seat table, reservation table, audit table
    7. -> Deployment: containers, environment variables, health checks, logs and monitoring

    Similar requirements, such as a concept website for a deep-sea research institute or a luxury perfume brand, change the visual style but share the same engineering structure: a hero narrative, parameter cards, content sections, interactive forms, data APIs, and deployment configuration. What shows full-stack capability is whether the visual system, interaction logic, and backend data form a closed loop. The visual impact of a single page matters less.

    4. Concurrency and Consistency: Seat Reservation as a Case

    Seat reservation is the scenario that most clearly exposes the gap between a demo and a running system. If “sold out” is handled only by graying out a button on the frontend, concurrent requests can still oversell a flight. A better approach enforces consistency on the server, using transactions and unique constraints, and introduces idempotency keys to prevent duplicate submissions.

    Example request and server logic:

    1. POST /api/reservations
    2. Content-Type: application/json
    3. Idempotency-Key: <client-generated>
    4. {
    5. "flightId": "F-001",
    6. "seatId": "A1",
    7. "passenger": {"name": "...", "document": "..."}
    8. }
    9. server:
    10. validate(payload)
    11. if idempotencyKey exists:
    12. return previousResult
    13. tx = begin()
    14. flight = tx.lock(flightId)
    15. if tx.countReservations(flightId) >= flight.capacity:
    16. rollback(); return 409 CAPACITY_FULL
    17. if tx.exists(flightId, seatId):
    18. rollback(); return 409 SEAT_OCCUPIED
    19. tx.insertReservation(..., uniqueKey=(flightId, seatId))
    20. commit()
    21. return 201

    The key lies in the engineering constraints, not in any single technology. The capacity check and the write must happen within the same transaction boundary. The data layer should enforce seat uniqueness as a final safeguard. Repeated requests should return consistent results, and the frontend should be able to recognize and display error codes. Only when these constraints are in place does an agent-generated reservation system have real usability.

    5. Acceptance and Evaluation: Establishing Task-Level Metrics

    Public benchmarks reflect general capability, but enterprise acceptance requires task-level metrics. At a minimum, cover the following:

    • Functional pass rate: Whether core and exception paths all pass automated tests.
    • Visual consistency: Whether design tokens are applied consistently and whether multiple pages share the same style.
    • Accessibility: Whether keyboard operation, color contrast, and semantic labels meet the standard.
    • Performance budget: Whether first-screen resources, interaction response time, and API latency stay within budget.
    • Security baseline: Whether input validation, authentication, rate limiting, and protection of sensitive information are in place.
    • Maintainability: Whether the directory structure, interface contracts, type definitions, and logs are clear.
    • Deployment success rate: Whether the app deploys successfully on the first attempt in a clean environment and passes health checks.

    These metrics show whether an output is usable more clearly than a single score. During agent-driven generation, require the agent to produce test cases and an acceptance checklist alongside the code. Use contract tests to keep the frontend and backend consistent.

    6. Cloud Deployment and Observability

    Generating code is only part of delivery. The deployment stage needs general cloud services: a container platform to run the service, object storage for static assets and generated images, a relational database for reservation data, a cache for frequently accessed queries, a message queue for asynchronous notifications, and logging and monitoring services for observability. Baidu AI Cloud offers general-purpose container platform, object storage, relational database, cache, logging, and monitoring services that can be used for this kind of deployment. Specific interfaces, quotas, and configuration options should be confirmed in the official documentation.

    Observability should cover at least structured access logs, error logs, key business metrics, and alert rules. Examples include reservation failure rate, capacity conflict rate, API latency percentiles, and database connection pool utilization. Without these metrics, locating problems after launch is difficult.

    7. Implementation Recommendations

    First, write requirements as verifiable specifications that define the data model, interface contracts, exception paths, and capacity limits. Second, set tool-calling boundaries and sandboxes for the agent so it cannot operate production resources directly. Third, require generated tests and contract checks, especially for concurrency, idempotency, and permission scenarios. Fourth, have people review the visual system and security baseline to avoid output that looks good but does not work. Fifth, build a pipeline from generation to deployment that keeps rollback and audit capabilities.

    In conclusion, the value of open-source large language models is moving from score displays toward delivery loops. What matters most is whether an agent can reliably produce runnable, maintainable, and observable full-stack applications under engineering constraints. For developers, a task-level acceptance framework has more long-term value than chasing a single benchmark score.