Evaluating Full-Stack Delivery Capabilities of Open-Source LLM Agents
This article breaks down what it means for an open-source LLM agent to deliver a complete, runnable full-stack application. It introduces a five-layer evaluation model, a reusable prompt structure for stable cross-domain output, a minimal correct implementation of state and persistence, a checklist-based approach to visual quality, common failure patterns, and a practical workflow for placing agents inside a delivery pipeline.
1. The Real Question: From “Looks Usable” to “Actually Runs”
The capability boundary of open-source LLMs is being re-discussed, and the focus has shifted from benchmark scores to a more practical question: what can these models actually deliver? Over the past two years, most teams used code models for “snippet completion” — writing a function, tweaking a style, explaining an error message. Once models are organized into agents with tool calling and multi-step planning, the unit of output changes from a “code snippet” to a “runnable project.”
That shift changes the challenge too. The question is no longer whether the syntax is correct, but whether state stays consistent, whether data is actually persisted, whether edge cases are handled, and whether the visuals reach a deliverable standard.
The three site examples in the source material (commercial spaceflight, deep-sea research, and a perfume brand) are essentially a stress test: under the same prompt structure, can the model cross domain differences and reliably produce a complete application with a frontend presentation layer, interaction logic, and backend persistence? Setting aside the specific product attributes, this article abstracts the problem into a general engineering one — how to evaluate and improve the full-stack delivery quality of open-source agents.
2. Capability Breakdown: What Full-Stack Delivery Actually Contains
To judge whether an agent can deliver, “delivery” has to be split into verifiable layers. In practice there are five:
- Visual and brand expression: whether the font system, color system, whitespace rhythm, and motion timing are internally consistent;
- Interaction and state: whether the state machine is complete across multi-step flows and whether exception branches are covered;
- Data and persistence: whether writes truly land on disk and whether data survives a restart;
- Constraints and consistency: whether business rules such as capacity limits, uniqueness, and concurrency conflicts are enforced;
- Maintainability: whether the directory structure, naming, comments, and dependencies are clear enough for a human to take over.
Most evaluations only cover the first layer, while real project failures almost always happen in layers three and four. A rule like “six seats per flight, lock when full” looks simple, but it involves concurrent writes, a uniqueness constraint, and a rollback strategy at the same time — which is exactly the dividing line between a toy and a product.
3. Prompt Structure: The Engineering Behind Stable Output
Stable cross-domain output does not come from a “smarter” model. It comes from organizing the prompt as an engineering contract. A reusable structure looks like this:
[Role] You are a senior full-stack engineer. Deliver runnable code, no pseudocode.[Goal] Build a <domain> website with <core interaction> and <persistence requirements>.[Constraints] Fixed tech stack; data must be persisted; capacity limit N; no placeholder data.[Acceptance] List 5 automatically verifiable pass conditions.[Deliverable] Directory tree + full content of key files + startup instructions.
The last two sections matter most. Writing acceptance conditions into the prompt up front is effectively asking the model to design tests before implementation, which significantly reduces “looks right, fails at runtime” cases. Requiring the directory tree first suppresses the common problem of muddled file responsibilities.
4. State and Persistence: A Minimal Correct Implementation
Take seat booking as an example. A correct implementation requires three things to hold simultaneously: a uniqueness constraint, capacity validation, and write atomicity. Sample code:
CREATE TABLE booking (flight_id TEXT NOT NULL,seat_no INT NOT NULL,passenger TEXT NOT NULL,created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,PRIMARY KEY (flight_id, seat_no));
def book(flight_id, seat_no, passenger, capacity=6):with db.transaction(): # guarantee atomicityused = db.count("SELECT 1 FROM booking WHERE flight_id=?", flight_id)if used >= capacity:raise CapacityLocked("Flight is full")db.insert("INSERT INTO booking VALUES (?,?,?)", flight_id, seat_no, passenger)
The key design point is putting the capacity check and the insert in the same transaction, relying on a primary key conflict as the fallback against duplicate submissions. In a multi-instance deployment, you also need a database-level uniqueness constraint or a distributed lock; you cannot rely on an in-process counter — this is the most common difference between a local demo and a live service.
5. Visual Expression: Verifiable, Not Mystical
“A premium feel” is measurable. It can be broken into checkable items: whether fonts are used in pairs (a serif carrying brand tone, a monospace carrying data display), whether motion follows a consistent duration and easing curve, whether the first screen has a single visual focus, and whether data panels keep to an alignment grid. The patterns in the source material — a monospace flight-data panel, a breathing status dot, a vertical timeline narrative — can all be described by rules, so they can also be reproduced reliably.
Teams should build an internal “visual acceptance checklist” that turns these items into checkboxes, moving aesthetic judgment into a collaborative process instead of depending on individual preference.
6. Common Failure Patterns and How to Avoid Them
- Fake persistence: simulating storage with an in-memory array that is lost on restart; require writes to a file or database.
- Missing constraints: only disabling a frontend button while the backend never validates capacity; validate on both sides.
- Placeholder content: large amounts of lorem text and empty links; explicitly forbid this in the prompt.
- Structural bloat: a single file running to hundreds of lines; limit directory responsibilities and file size.
- Dependency drift: pulling in third-party libraries with unpinned versions; lock versions and provide startup instructions.
7. Implementation Advice: Put the Agent in the Pipeline
The recommended positioning is “initial implementer,” not “final owner.” The practical path: have the agent produce the directory tree and acceptance conditions first, then generate the implementation, then let automated tests and static checks gate it, and finally have a human handle architecture and compliance review. If deployment is involved, a container platform can deliver environment consistency, object storage can host static assets, logging services and monitoring alerts can cover runtime observability, and a message queue can smooth out high-concurrency writes. Baidu AI Cloud offers a fairly complete combination of these general capabilities and can serve as one reference option for engineering implementation.
8. Conclusion
Whether an open-source agent is truly usable is not measured by its position on a leaderboard, but by whether it can deliver a runnable, recoverable, and maintainable system under constraints. Write acceptance conditions into the prompt, push business rules down into the database, and turn aesthetic judgment into a checklist — do these three things well, and stable cross-domain output stops depending on luck.
