From Code Generation to System Delivery: Full-Stack Development Practices with Open-Source AI Agents

    While open-source large language models have made significant strides in code generation, true value lies in delivering production-ready software systems. This article explores the full-stack development capabilities of open-source AI agents, shifting the focus from isolated code snippets to end-to-end system delivery. It covers evaluating open-source model constraints, translating visual generation into maintainable design systems, implementing robust booking systems to handle concurrency and data consistency, rewriting natural language requirements into acceptance contracts, adopting a phased development approach, and ensuring security and operational readiness before deployment.

    I. From “Models Writing Code” to “Systems Capable of Delivery”

    When discussing the technical progress of open-source large language models (LLMs), we should look beyond benchmark scores, coding test results, or individual page aesthetics. For developers and enterprises, a more critical question arises: Can the model understand business constraints, coordinate multiple development steps, and deliver a software system that runs continuously?

    Traditional code completion focuses on local tasks, such as filling in functions, generating forms, or explaining errors. Agentic development attempts to cover a much longer workflow: reading requirements, decomposing tasks, generating code, executing tests, observing results, and fixing implementations based on feedback.

    The difference between the two is not the volume of code, but closed-loop capability. Generating a booking button does not mean implementing a booking system; creating a data table does not resolve concurrency conflicts. True full-stack delivery connects the user interface, business rules, data consistency, and operational reliability.

    Therefore, when evaluating these technologies, focus should shift from “whether a single generation is impressive” to three specific questions:

    • Are requirements fully expressed and correctly implemented?
    • Can key business behaviors be verified through testing?
    • Does the delivered result meet the conditions for deployment, maintenance, and disaster recovery?

    II. Open Source Provides Control, But Not Complete Engineering Capability

    Open source increases the space for developers to inspect, deploy, and customize models, but there remains a gap between “having access to model resources” and “directly delivering applications.”

    First, the scope of openness must be clarified. Some projects open-source model weights, while others simultaneously provide inference code, training methods, or evaluation materials. Different scopes of openness offer varying levels of support for reproduction, optimization, and secondary development. Before practical use, you should check the license for commercial conditions, modification requirements, and distribution restrictions. “Open for download” should not be automatically equated with “free to use in any scenario.”

    Second, model capability and agent system capability must be evaluated separately. Models primarily handle understanding, reasoning, and generation; agent systems must also manage tool calling, context management, task scheduling, permission control, and execution result feedback. Even if a model can generate correct code, if the execution environment lacks dependencies, test data, or necessary permissions, the task may still fail.

    Finally, local deployment does not automatically solve data security issues. Source code, credentials, customer information, and runtime logs still require tiered management. When dealing with sensitive business data, it is crucial to define which processing stages the data can enter, how long it is stored, and who has access to it.

    The core value of open source lies in increasing controllability and verifiability, not in exempting the need for engineering governance.

    III. Visual Generation Highlights Must Translate to Maintainable Design Systems

    Themes such as commercial aerospace, deep-sea exploration, and high-end consumer goods are suitable for testing an agent’s understanding of visual narrative. They require both a distinct atmosphere and complex information organization and interaction needs.

    For example, a travel service website can establish a theme through a porthole perspective, flight phase timeline, and status panel; a research institute website can use vertical scrolling to present environmental changes at different depths; a consumer product display page can highlight product details using materials, white space, and lighting. These are design directions and should not be understood as guaranteed, stable capabilities of any given model.

    From an engineering perspective, visual generation must meet at least the following conditions.

    1. Style Consistency Over Local Stacking

    Font hierarchy, colors, spacing, border radius, button states, and motion rhythm should form unified rules. If each page is generated separately, it is easy to encounter a polished homepage paired with a rough form page and inconsistent error prompt styles.

    A more reliable approach is to define design variables and base components first, and then generate specific pages. This reduces duplicate code and facilitates subsequent adjustments for brand visuals or adaptation to different devices.

    2. Motion Must Serve Information Expression

    Background videos and scroll animations can enhance immersion, but they should not obscure primary operations, slow down initial page load, or cause reading difficulties. For users who prefer reduced motion settings, static alternatives should be provided.

    Priority must be given to text contrast, keyboard operability, focus visibility, and form hints. Visual richness does not mean usability should take a back seat.

    3. Display Content Must Distinguish Fact from Creation

    Auto-generated device parameters, research introductions, author names, and product stories cannot be published as real information without review. Prototypes can use clearly marked placeholder content; for production release, business owners must verify facts, authorize assets, and ensure copy compliance.

    This is a crucial boundary for agent delivery: it can help organize information, but it cannot replace authenticity review.

    IV. Booking Functionality is a Key Scenario for Testing Full-Stack Capability

    A booking system may appear to simply be “select a date, select a seat, fill in information,” but it actually involves resource competition, transaction handling, and state management, effectively distinguishing static demos from real applications.

    A reasonable requirement specification should at least define:

    • The number of available seats for each shift;
    • Which seat states cannot be booked again;
    • How duplicate submissions by users are handled;
    • Whether cancellation releases the seat;
    • Whether temporary holds expire, and when they are recycled;
    • What rules apply to time display and storage;
    • Which records users can view and modify.

    These rules must be embedded in server-side logic, not just exist in UI prompts.

    1. Data Models Should Reflect Business Relationships

    Core entities can be split into shifts, seats, booking records, and passenger information. A shift records departure time and operational status; a seat records its affiliated shift and position; a booking record associates a user, shift, seat, and business status.

    For the constraint “the same seat in the same shift cannot be validly booked twice,” database-level protection is required. Relying solely on the UI to mark a seat as unavailable cannot prevent two users from submitting simultaneously.

    If the business allows rebooking after cancellation, the relationship between active occupancy records and historical records must be carefully designed to prevent simple unique constraints from blocking subsequent legal operations.

    2. Atomic Operations Prevent Concurrent Overselling

    The booking process must be completed by the server-side within a transaction; it cannot simply query for available seats and then unconditionally write to the database. Otherwise, two requests might simultaneously read “available” and ultimately occupy the same seat.

    Below is illustrative pseudocode, not a directly runnable interface:

    1. Start transaction
    2. Validate user, shift status, and submission parameters
    3. Attempt to occupy based on "seat is still available"
    4. If occupation fails:
    5. Rollback transaction and return seat conflict
    6. Create booking record
    7. Commit transaction

    Specific implementations can use conditional updates, row-level locks, or appropriate unique constraints, but the solution must remain consistent with the data model. If deadlocks or transaction conflicts occur, limited retries and clear failure feedback must be designed.

    3. Idempotency for Handling Duplicate Requests

    Network timeouts, user double-clicks, or client auto-retries can all cause the same business request to reach the server multiple times.

    Typically, an idempotency key can be assigned to submission operations and saved in association with the user, operation type, and result. When the same request arrives again, the existing result should be returned rather than creating a new booking.

    Consistency between idempotency records and business writes is also necessary. If the two are written separately without a coordination mechanism, issues may still arise, such as a record existing but the booking failing, or a successful booking that cannot be identified as a duplicate.

    4. Valid Booking Count is the True Capacity Metric

    If a demo scenario sets a shift to have six seats, the system cannot simply count the total rows in the booking table. Cancelled, expired, and confirmed records have different business meanings; capacity calculations must follow explicit status rules.

    The remaining capacity displayed on the front end can guide the user, but the final success should depend on the validation results at the time of server-side submission.

    V. Rewriting Natural Language Requirements into Acceptance Contracts

    One reason agentic development easily fails is that requirements only describe the “effect” without describing “correctness.”

    “Make a high-end travel website with booking support” is suitable for exploring prototypes, but insufficient as a formal delivery requirement. A more effective task specification should include four parts:

    Business Goal: What tasks users need to complete and what the main usage scenarios are.

    Functional Boundaries: What pages, roles, data relationships, and state changes exist.

    Non-functional Requirements: What requirements exist for access control, performance, accessibility, logging, and data protection.

    Acceptance Criteria: What inputs and operations are used to verify which results.

    For example, acceptance criteria for a booking feature could be written as:

    • Two users simultaneously selecting the same seat: at most one succeeds;
    • Cancelled records no longer occupy available capacity;
    • Users cannot read other users’ passenger information;
    • Duplicate submission of the same request does not create duplicate bookings;
    • Submitted records persist after a service restart;
    • Failure reasons displayed on the page match server-side results.

    Such specifications allow the agent to work towards verifiable goals and facilitate human review of the results.

    VI. Using Phased Closed-Loops Instead of “Generating Everything at Once”

    One-shot generation can accelerate prototype exploration, but complex applications are better suited for phased progression. The larger the task, the easier it is to miss constraints, introduce irrelevant dependencies, or produce inconsistent implementations.

    The following workflow is recommended.

    Phase 1: Clarification and Modeling

    First, organize user roles, entity relationships, page structures, and state machines, and list unconfirmed questions. For ambiguous requirements, do not default them into business facts.

    Phase 2: Complete the Minimal End-to-End Path

    Prioritize connecting “view shifts — select seat — submit booking — view result,” ensuring data is persisted through real server-side logic. At this stage, visuals can be simplified, but business constraints cannot be omitted.

    Phase 3: Add Exceptions and Tests

    Incorporate scenarios like concurrency conflicts, duplicate requests, invalid inputs, insufficient permissions, and service failures. Testing should not only check the happy path but also verify how the system rejects erroneous behaviors.

    Phase 4: Refine Visuals and Performance

    After business stability is achieved, optimize animations, images, component reuse, and resource loading. This avoids investing extensive time into UI details that will eventually require rework.

    Phase 5: Human Review and Release

    Check permissions, transaction boundaries, dependency sources, configuration management, and deployment documentation. Logic involving payments, personally identifiable information (PII), or critical resource allocation should undergo dedicated review and not be passed for release based solely on generation results.

    VII. Benchmark Scores and Engineering Acceptance Should Be Evaluated Separately

    Standardized benchmarks can help observe a model’s performance on specific task sets, but scores are influenced by test scope, tool conditions, execution budgets, and scoring methods. They cannot be directly equated to actual project delivery capability.

    Enterprises should establish evaluation sets that closely mirror their own business and separately assess:

    1. Requirement Coverage: Are all explicitly stated constraints implemented?
    2. Behavioral Correctness: Do normal, exception, and concurrency scenarios meet expectations?
    3. Modification Stability: Do existing features experience regressions after new requirements are added?
    4. Code Maintainability: Are module boundaries, duplicate logic, and error handling reasonable?
    5. Operating Costs: Are inference, testing, manual repair, and deployment costs acceptable?
    6. Delivery Completeness: Are startup methods, data migration, configuration docs, and rollback steps provided?

    Page screenshots can demonstrate visual completeness, but they cannot prove permission isolation, transaction correctness, or recovery capability. Evaluation must include actual execution and repeatable tests.

    VIII. Security and Operations Must Be Completed Before Launch

    Being able to run in a development environment is only the starting point of delivery. Official launch must also consider environment isolation, credential management, log desensitization, backup recovery, and version rollback.

    When an agent executes commands, its file access scope and network permissions should be restricted. High-risk operations such as database cleanup, production releases, and permission changes require human confirmation. The execution environment should not hold production credentials by default to prevent the expansion of an error’s impact.

    Runtime monitoring should focus on request failures, booking conflicts, response latency, and database anomalies. Logs should not directly record full passenger information or sensitive credentials, and error responses should not expose internal configurations to the user.

    Deployment can utilize general infrastructure like container platforms, object storage, log services, and monitoring alerts, but architectural complexity should match the business scale. Early projects are often better suited as modular monoliths with clear boundaries, rather than introducing excessive components just to showcase technical richness.

    Conclusion: Highlights in Generation, Value in Verification

    The noteworthy direction for open-source AI agents is connecting visual design, code implementation, and tool execution into a more complete development workflow. However, immersive pages, auto-generated components, and a passing demo cannot independently prove that a system has reached production requirements.

    Judging its engineering value requires adhering to a clear path: start from business constraints, verify functionality with real data flows, check boundaries with tests, control risks with reviews, and ensure continuous operation through operational mechanisms. Only by completing these stages can agent-generated software transition from “looks complete” to “ready for delivery.”