Evaluating AI Agent Full-Stack Delivery: Three Case Studies and Acceptance Criteria
Benchmark scores do not equate to actual task completion. This article explores how to evaluate AI Agents' full-stack delivery capabilities through three case studies: a commercial space travel website, a deep-sea research institution portal, and a luxury perfume brand visualization. It covers evaluation metrics, long-context planning, tool execution, code reliability, a minimal acceptance template, and common pitfalls to help developers determine if an Agent is ready for real-world development workflows.
Evaluation Metrics vs. Delivery Results
When the community sees a new model released, the first reaction is usually to look at benchmark scores. Benchmarks describe how many questions a model can answer correctly, but developers care about how much actual work the model can complete. There is a clear gap between the two. Answering a multiple-choice question correctly does not mean the model can read a requirements document, break down features, write runnable front-end and back-end code, or self-correct after encountering errors.
When reading an evaluation report, note the following information: model name and version, benchmark name, score, and evaluation settings. Evaluation settings include whether tool calling is enabled, context length, and sampling times. Common public benchmarks fall into three categories: comprehensive knowledge, software engineering, and terminal operations. Software engineering benchmarks usually require models to fix multi-file bugs, while terminal benchmarks require models to execute commands, read outputs, and adjust strategies. These categories are closest to actual delivery capabilities.
If someone claims a model “approaches or even surpasses closed-source flagships,” you need to reproduce it yourself under the same benchmark and settings, rather than just citing a single number.
Using Long Context for Global Planning
Agents usually receive an information package rather than a single question, including requirements, visual specs, API definitions, and deployment constraints. Long context capability determines whether the model can remember all these constraints simultaneously. For example, a page must have a timeline narrative, the seat map must be interactive, and booking data must be persisted. If any constraint is dropped during generation, the final result will have gaps.
The verification method is simple: after generation, list the requirement document items one by one and check them off. Record missed items as test samples for the model’s planning capability.
Ensuring Tool Calls are Executable
A model’s output must translate into file modifications, command executions, and API requests, relying on structured tool calls. Unlike regular chat, every tool call changes the real environment, so three layers of protection are needed. The first layer is parameter validation: paths, commands, and parameters received by the tool must match expected formats. The second layer is access control: the Agent can only access authorized directories, database tables, and APIs. The third layer is logging: every call must be recorded for traceability.
How to Determine if Generated Code is Reliable
Runnable code does not equal reliable code. You can judge this by four points: whether the directory structure is clear, whether naming is consistent, whether exception paths are handled, and whether concurrency scenarios are considered. The first two can be judged by reading the code, while the latter two require specific testing.
Case 1: Full-Stack Delivery for a Commercial Space Travel Website
The requirement was to build a website for a low-earth orbit travel company, including brand showcase, space cabin seat selection, and flight booking. In the demo, the model generated a full-screen video hero section, an interface with breathing status indicators, and a vertical timeline arranged by launch, propulsion, zero gravity, and splashdown recovery. These front-end effects are immediately visible.
The real challenge lies in the back-end. Each flight has six seats, and they must auto-lock when full. If you just write if count < 6, two concurrent requests might read count as 5 simultaneously, both passing the check and resulting in overselling. The correct approach is using transactions with locks and adding a unique constraint at the database level. Below is an illustrative code snippet assuming PostgreSQL, serializable transaction isolation, and a unique index on (flight_id, seat_id) for the booking table:
async def book_seat(flight_id: str, seat_id: str, passenger: dict):async with db.transaction(isolation="serializable"):# All code paths lock the flight first, then the seat to avoid deadlocksflight = await db.flights.lock_for_update(flight_id)if flight.booked_count >= flight.capacity:raise FlightFullErrorseat = await db.seats.lock_for_update(flight_id, seat_id)if seat.status != "available":raise SeatUnavailableErrorawait db.bookings.create(flight_id=flight_id, seat_id=seat_id, **passenger)await db.flights.increment_booked(flight_id)await db.seats.update_status(seat_id, "locked")
This code is only illustrative. In real projects, you also need to handle unique index conflict exceptions and convert them to business errors, and design retries for serialization failures. Without these, users will see raw database errors during peak concurrency.
This case shows that the model knows capacity control belongs in the back-end and is aware of transactions. Whether it can consistently maintain this across all code paths requires verification through concurrency testing.
Case 2: Content Architecture for a Deep-Sea Research Institution
The second requirement was for a deep-sea exploration research institution. The focus here was information architecture. In the demo, the model designed the hero section as a vertical narrative descending from the sea surface into the water, and organized sections for three submersibles, six deep-sea creatures, and three field notes. The notes were attributed to a chief scientist, a marine biologist, and a documentary director, matching roles with content types.
A common issue with such pages is that the generated parameters look professional, but the values might be wrong. The diving depths of submersibles, observation window sizes, body lengths, and habitat depths of creatures all need verification by domain experts. The model’s output can serve as a draft but cannot be published directly.
This demo shows the model can organize the content hierarchy of a professional institution’s website. It does not prove the model can stably establish content systems across all professional domains.
Case 3: Visual Implementation for a Luxury Perfume Brand
The third requirement was just four words: “extreme aesthetics.” In the demo, the model broke it down into a concrete plan: an amber perfume bottle on a marble surface, the liquid inside slowly rotating, light passing through the glass to form caustics, and the brand name overlaid on the bottle in a serif font. Liquid rotation and caustics require Canvas or WebGL implementation, involving fluid simulation, lighting calculations, and custom shaders.
This implementation has clear boundaries. First, WebGL may drop frames or drain battery on low-end phones and old devices; you need to detect device capabilities and provide static images as a fallback. Second, if the user enables “Reduce Motion” settings, animations should stop or simplify. Third, fonts have copyright and loading costs; ensure authorization and set font loading strategies to avoid blank text flashing initially.
“Refinement” is a subjective judgment. The model can map it to a technical solution, but the final effect needs approval from designers or the brand.
A Minimal Acceptance Template
The purpose of acceptance is to determine if a delivery can enter the real development workflow. It is recommended to use a multi-page application with login, data entry, and list display as a test subject, checking item by item:
| Check Item | Pass Criteria | Verification Method |
|---|---|---|
| Functional completeness | Login, registration, CRUD, and pagination all work | Operate step by step according to requirements doc |
| Auth & permissions | Unauthenticated access to protected APIs returns 401; normal user access to admin APIs returns 403 | Request APIs using tokens of different roles |
| Input validation | Illegal parameters return 400 and no data is written | Submit nulls, extra-long strings, wrong types |
| Concurrency safety | Only 1 out of 50 concurrent requests for the same seat succeeds | Use load testing tools for concurrent requests |
| Error handling | Database disconnection returns 500, response contains no stack traces | Manually close DB connection and request |
| Logging | Every write operation is recorded; logs contain no passwords or ID numbers | Check log files |
| Security review | No SQL injection, XSS vulnerabilities; dependencies have no known high-risk vulnerabilities | Run scanning tools and manually review |
| Rollback capability | Database migrations are reversible, backups exist before changes | Execute rollback in test environment |
Only when all items pass can it enter the pre-release environment. Any failure should be fixed first, then re-accepted.
What to Add Before Going Live
Generated code usually only runs locally. To serve real users, you need to integrate infrastructure. Media files go to object storage, business data to relational databases, async tasks to message queues, runtime logs to logging services, and exceptions are caught by monitoring alerts. These are standard configurations that an Agent generally won’t do for you.
For security, three types of content must be manually reviewed: permission validation logic, payment flows, and code related to user privacy and data compliance. Model-generated server-side code might look correct but lack permission checks or input filtering.
Common Failure Reasons
In practice, failures usually stem from four reasons. First, only checking the front-end effect without testing the back-end. Second, concurrency rules are only on front-end buttons, without server-side constraints. Third, generated factual content is unchecked. Fourth, vague requirements lead to repeated rework.
Prompt quality directly affects delivery results. A good task prompt should be like a concise requirements document, specifying target users, feature lists, visual styles, technical constraints, and acceptance criteria. The more specific the constraints, the higher the Agent’s completion rate.
Conclusion
Open-source large models are transitioning from chat tools to task-executing agents. The three demos show that the model has certain capabilities in visual design, content organization, and back-end consistency, but each requires verification. By combining evaluation metrics, acceptance checklists, and manual review, you can determine whether an Agent is truly ready to enter the development workflow.
