Evaluating and Practicing Full-Stack Delivery with Open-Source LLM Agents

    Open-source LLM agents are moving beyond question answering and code completion toward multi-step software delivery. This article presents a practical framework for evaluating their ability to parse requirements, plan architectures, generate code, call tools, validate results, handle state and concurrency, and deliver maintainable, auditable software artifacts. It also covers sandboxed execution, persistence, automated acceptance testing, quality metrics, and deployment risks.

    Evaluating and Practicing Full-Stack Delivery with Open-Source LLM Agents

    1. From “Answering Questions” to “Delivering Software”

    Open-source large language models are evolving from single-turn question answering and code completion toward agent-driven execution of complex tasks involving multiple steps, files, and runtime constraints. For developers, the most important question is not how a model performs in one public benchmark. It is whether the model can reliably complete the full workflow inside an agent framework: interpreting requirements, planning an approach, generating code, calling tools, validating results, and documenting the delivery.

    In other words, the evaluation target should shift from “a piece of generated text” to “a runnable, maintainable, and auditable software artifact.”

    This shift introduces three immediate changes.

    First, task descriptions must be structured. Requirements should define functional boundaries, data constraints, interaction flows, acceptance criteria, and unacceptable behavior.

    Second, evaluation metrics must be multidimensional. In addition to functional correctness, evaluators should examine constraint satisfaction, persistence consistency, exception handling, code readability, dependency choices, security, and runtime cost.

    Third, the delivery process must be observable. Every tool call, file modification, test execution, and retry should be logged for troubleshooting and post-task analysis.

    Consider several typical demonstration tasks:

    • Build a commercial spaceflight website with seat selection and flight booking.
    • Build a deep-sea research organization website with equipment specification cards and content sections.
    • Build a luxury brand website that emphasizes visual motion and brand consistency.

    These tasks may appear to be frontend-generation exercises, but they also involve visual systems, interaction logic, backend APIs, persistence, capacity limits, and error states. Checking only whether a page “looks good” leaves the most important engineering risks untested.

    2. Breaking Down Full-Stack Delivery Capabilities

    Full-stack agent delivery can be divided into six capability layers.

    1. Requirement parsing and constraint extraction

    The agent must extract entities, states, actions, boundary conditions, and acceptance criteria from natural-language requirements.

    For example, the requirement “each flight can have no more than six seats, and bookings must be locked when the flight is full” should be converted into executable data constraints and API behavior.

    2. Architecture planning

    The agent should define page routes, component boundaries, data models, API contracts, and the deployment model instead of immediately generating large amounts of code.

    3. Visual and interaction implementation

    This layer includes layout systems, responsive behavior, animation timing, accessibility, and loading states.

    4. Backend and persistence

    Booking data must be written to storage. Seat locking requires transactions or an equivalent consistency mechanism. Duplicate submissions require idempotent handling.

    5. Quality validation

    Validation should include static checks, unit tests, API tests, end-to-end workflows, and injected failure scenarios.

    6. Delivery documentation

    The agent should explain how to run the project, which configuration values are required, how data migrations work, what limitations remain, and where the system could be extended.

    Among these six layers, the frontend is the easiest to make appear complete. State consistency and exception handling are the areas most likely to fail in practice.

    For example, if two requests attempt to reserve the same seat at the same time, the system may oversell the seat without a unique constraint or transaction control. An agent that generates only a form and a list, without concurrency control and full-capacity locking, cannot be considered a full-stack delivery system.

    Evaluation should therefore prioritize tasks with state, constraints, and concurrency boundaries rather than purely static page-generation tasks.

    3. An Engineering Architecture for Runnable Artifacts

    To help agents consistently produce runnable artifacts, a practical architecture can combine four layers:

    Task orchestration → sandbox execution → artifact management → review gates

    The task orchestration layer decomposes requirements into verifiable subtasks and associates each task with the necessary tools and acceptance conditions.

    The sandbox execution layer provides an isolated filesystem, runtime environment, and network policy. It restricts the agent to the resources it actually needs.

    The artifact management layer stores source code, configuration, database migration scripts, test reports, and build outputs so that every delivery remains traceable.

    The review-gate layer runs automated checks before a merge or release. If the checks fail, the delivery is blocked.

    In a cloud deployment, these capabilities can be assembled from general-purpose services:

    • A container platform hosts the runtime environment.
    • Object storage keeps build artifacts and static assets.
    • A relational database stores bookings and seat states.
    • A logging service collects the agent’s tool-call traces.
    • Monitoring and alerting track API error rates and latency.

    The goal is not to accumulate services. Each layer should have clearly defined inputs, outputs, and failure-handling behavior.

    A simplified orchestration flow looks like this:

    1. task_spec = {
    2. "goal": "Generate a website with seat booking",
    3. "constraints": [
    4. "Each flight has a maximum of 6 seats",
    5. "Bookings are disabled when the flight is full",
    6. "Duplicate submissions must be idempotent",
    7. "Booking data must be persistent"
    8. ],
    9. "acceptance": [
    10. "The page supports date, seat, and passenger selection",
    11. "Concurrent booking attempts for one seat allow only one success",
    12. "The full-capacity state returns a clear error code",
    13. "The build and all tests pass"
    14. ]
    15. }
    16. for step in planner(task_spec):
    17. result = sandbox.execute(step.tool, step.args)
    18. log.append(step, result)
    19. if not validator.check(step.acceptance, result):
    20. repair_plan = planner.repair(step, result)
    21. sandbox.execute_plan(repair_plan)

    The core validation for seat booking must be enforced at the data layer rather than relying only on frontend controls.

    An example transaction flow is:

    1. BEGIN TRANSACTION
    2. SELECT seat_status FROM seats
    3. WHERE flight_id = :flight_id AND seat_no = :seat_no
    4. FOR UPDATE
    5. IF seat_status != 'AVAILABLE' THEN
    6. ROLLBACK
    7. RETURN ERROR_SEAT_UNAVAILABLE
    8. END IF
    9. UPDATE seats SET status = 'LOCKED', booking_id = :booking_id
    10. WHERE flight_id = :flight_id AND seat_no = :seat_no
    11. INSERT INTO bookings(booking_id, flight_id, seat_no, passenger)
    12. VALUES(:booking_id, :flight_id, :seat_no, :passenger)
    13. COMMIT
    14. RETURN SUCCESS

    This logic illustrates the real challenge of full-stack delivery. The difficult part is not generating a booking form. It is translating business constraints into verifiable data behavior.

    An effective agent must understand the complete loop of constraint → API → storage → testing, rather than stopping at the presentation layer.

    4. Quality Evaluation: Replace Subjective Impressions with Verifiable Metrics

    A useful evaluation system should define metrics at multiple levels.

    Functional quality

    • Core workflow success rate
    • Boundary-condition coverage
    • Consistency of error codes

    Data quality

    • Persistence success rate
    • Concurrent-conflict handling
    • Idempotency
    • Rollback completeness

    Code quality

    • Directory structure
    • Module boundaries
    • Duplicate-code ratio
    • Dependency count
    • Readability

    User experience

    • Loading states
    • Empty states
    • Error messages
    • Responsive behavior
    • Accessibility

    Engineering quality

    • Build success rate
    • Test coverage
    • Log completeness
    • Reproducibility of deployment

    Security

    • Input validation
    • Permission boundaries
    • Sensitive-information exposure
    • Dependency risks

    Cost

    • Task duration
    • Number of tool calls
    • Retry rate

    A common mistake is to evaluate only the final page screenshot. A screenshot cannot prove that booking data was persisted or that the full-capacity lock works correctly.

    A more reliable approach is to create an automated acceptance script. The script should execute flows such as:

    1. Select a date.
    2. Select a seat.
    3. Submit passenger information.
    4. Repeat the same submission.
    5. Submit concurrent booking requests.
    6. Attempt a booking after the flight reaches capacity.

    It should then verify that API responses, database state, and user-facing messages remain consistent.

    A task should be considered complete only when the acceptance script passes.

    5. Risks and Practical Adoption Recommendations

    Full-stack agent delivery still has clear limitations.

    First, complex business rules can be lost during a long execution chain. Structured task specifications and staged acceptance checks can reduce this risk.

    Second, generated code may introduce unnecessary dependencies or hidden security issues. Dependency allowlists, static analysis, and security scanning should be used as controls.

    Third, visual consistency is difficult to evaluate fully through automation. Design tokens, component standards, and manual spot checks should be combined.

    Fourth, long-running tasks can consume significant time and resources. Maximum step counts, timeouts, retry limits, and human handoff points should be defined.

    Fifth, when real data or external services are involved, validation must take place in an isolated environment to prevent accidental operations.

    A practical adoption strategy is to start with a small closed loop:

    1. Choose one focused task with state constraints.
    2. Define an explicit acceptance script.
    3. Add logging and monitoring.
    4. Gradually increase task complexity.

    For developers, the value of open-source LLM agents is not that they replace every engineering decision. Their value lies in turning repetitive implementation, scaffolding, test supplementation, and documentation into an orchestrated workflow.

    For organizations, the key is to integrate agent-generated artifacts into existing engineering standards and release gates. Every delivery should remain verifiable, maintainable, and auditable.