Hands-On Test of LLM Coding Capabilities: From Rapid Prototyping to Agentic Execution
A practical evaluation of large language models for software development: generating a complete front-end app from natural language, running agentic tasks locally, and building a systematic framework to assess coding agents across stability, instruction following, error recovery, environment awareness, and cost efficiency.
1. Background: A Real Development Need
Ahead of earnings season, I wanted to quickly build a lightweight web app to track and monitor upcoming earnings releases from multiple companies. It was a typical “personal tool” requirement: not functionally complex, but with specific expectations around UI presentation, data organization, and interaction details.
Following a standard workflow, I first had the LLM generate a product plan and sample data structure, defining the app’s core modules:
- Earnings calendar view: a timeline of companies scheduled to report;
- Sample data: mock fields including company name, release date, and key financial metrics;
- Interaction logic: basic operations such as filtering, sorting, and marking items as read.
With this “requirements spec” in hand, the next step was to test whether current LLMs can produce a runnable front-end application from nothing more than a natural language description.
2. Test One: Generating a Complete Front-End from Natural Language
2.1 Test Method
I sent the requirements above, in natural language, directly to an AI coding assistant and asked it to build the app through conversational interaction, including page layout, component styling, and interaction logic.
2.2 Results
The overall output exceeded expectations. The generated front end covered essentially every point in the requirements:
- High style fidelity: color schemes, spacing, and typographic hierarchy were well handled, requiring little rework;
- Sensible interaction patterns: filtering, view switching, and hover feedback all matched conventional usage habits;
- Clear data structure: the sample data fields aligned with the product plan, making it easy to wire in a real data source later.
That said, conversational generation currently remains front-end focused. Back-end concerns like data persistence, scheduled scraping, and notification pushes still require a coding agent to enhance the existing front-end code in a targeted way. This actually highlights a practical takeaway: using an LLM to quickly validate the product shape first, then letting an agent iterate on the back end against a stable code baseline, is a more controllable path than trying to one-shot a full-stack application.
2.3 Lessons from Cross-Model Comparison
For reference, I tested the same requirement against other models and observed several typical issues:
- Style drift: some models followed the specified visual style poorly, producing results that deviated from the intended design language;
- Cutting corners: trade-offs in component count and feature coverage, requiring multiple follow-up rounds to fill gaps;
- Resource consumption differences: certain models consumed significantly more tokens on complex tasks, and some even stalled on long-context tasks.
This shows that when selecting a model, beyond generation quality, you should also evaluate instruction-following ability and resource efficiency—two dimensions that directly determine single-attempt success rates and overall cost.
3. Test Two: Agentic Task Execution in a Local Environment
3.1 Differences from Traditional Coding Assistants
In the second phase, I used the LLM’s agent mode in a local environment. Compared with traditional CLI coding assistants, the experience differed noticeably:
- Self-feedback iteration: after executing a task, the agent proactively checks results and adjusts its next action when it detects anomalies, forming an “execute—verify—fix” loop rather than waiting for human confirmation at every step;
- Task decomposition: when facing complex goals, it autonomously breaks them into sub-steps and proceeds in dependency order;
- Cost-effectiveness: if agent mode can complete equivalent tasks with lower token consumption, its cost advantage becomes significant in scenarios like batch code modifications and environment configuration.
3.2 Observing the Agent’s Execution Trace in Code
In a real project, you can log every action the agent takes to evaluate its behavioral quality. For example:
import json, timeclass AgentTracer:def __init__(self):self.log = []def record(self, step, action, result, status):self.log.append({"step": step,"action": action,"result": result,"status": status, # success / retry / fail"ts": time.time()})def retry_rate(self):total = len(self.log)retries = sum(1 for x in self.log if x["status"] == "retry")return retries / max(total, 1)
Core metrics include: retry rate (measuring first-attempt success), average task duration, and whether the recovery strategy after failure is reasonable. These metrics reflect an agent’s real maturity far better than a subjective “it feels good to use.”
4. A Systematic Evaluation Framework for Agent Capabilities
Based on the practice above, I’ve summarized a set of dimensions for evaluating AI coding agents, for use in deeper testing:
- Stability: whether success rates remain consistent across consecutive rounds of tasks, and whether behavioral degradation occurs;
- Instruction following: the degree of deviation when executing complex, multi-constraint instructions—especially compliance with negative constraints (“do NOT do X”);
- Handling of unexpected situations: when encountering compilation errors, missing dependencies, or environment anomalies, whether it can self-diagnose and choose a reasonable fix path rather than falling into a loop of repeated attempts;
- Environment awareness: whether it accurately recognizes the current project’s directory structure, dependency versions, and runtime environment, avoiding assumptions that don’t match reality;
- Cost efficiency: actual token consumption and time overhead per unit of task completed.
I recommend using a unified task set (e.g., scaffolding a new project, fixing a known bug, batch refactoring, writing and running tests) for blind testing across different agents, with scripts automatically collecting the metrics above to produce quantifiable comparisons.
5. Practical Recommendations
Based on this hands-on testing, here are a few suggestions for developers:
- Layered usage: conversational generation suits prototype validation, while agent mode suits continuous iteration on existing code—the two complement rather than replace each other;
- Define specs before generating: constraining model output with a clear product plan and data structure significantly improves first-attempt success rates;
- Prioritize quantitative evaluation: use metrics like retry rate, consumption, and environment-awareness accuracy instead of subjective impressions when choosing tools;
- Keep human review checkpoints: for high-risk operations such as deployments or data deletion, manual confirmation steps should still be in place.
AI-assisted development is evolving from “completing code” to “autonomously executing tasks,” and scientific, reproducible evaluation methods are the key to making rational choices among the many models and tools available.
