Why AI Coding Agents Get Criticized and How to Tell If They Are Actually Improving
AI coding agents are often criticized for poor performance, but most complaints stem from mismatched expectations, runtime environments, and evaluation methods rather than model intelligence alone. This article breaks down common issues, explains why newer versions can feel noticeably better, and offers a reusable evaluation framework with metrics such as task completion rate, tool-call success rate, and recovery ability. It also provides practical engineering constraints, a task description template, common pitfalls, and general capabilities to consider for enterprise adoption.
1. Define the Problem First: “Bad” Usually Means a Mismatch Between Capability and Expectations
When people complain that an AI coding agent (an agent that can plan autonomously, call tools, and read or write a codebase) performs poorly, the issue is rarely raw model intelligence. More often, the task definition, runtime environment, and evaluation method are not aligned. Turning “hard to use” into measurable problems is the first step toward judging whether the agent is improving.
Common complaints fall into five categories:
- Requirement misunderstanding: a one-line request is expanded into a massive refactor, and the scope of changes spirals out of control.
- Unstable tool calls: reading or writing files, running commands, or searching code produces parameter errors or wrong paths.
- Context loss: constraints are forgotten during long sessions, and completed work is repeated.
- Unrecoverable failures: after an error, the agent loops in place and cannot correct itself based on the error message.
- Unverifiable results: without tests or static checks as a safety net, correctness can only be judged by human inspection.
Only the first category is strongly tied to model capability; the other four are fundamentally engineering problems. This means that simply switching to a newer model version yields limited gains, while adding engineering constraints often produces a much more noticeable improvement in experience.
2. Why “The New Version Is Clearly Better” Is a Credible Observation
The feedback that the new version feels significantly better can be reasonably explained in an agent system. It usually comes from four curves moving up at the same time:
- Instruction following and structured output are more stable, reducing the rate of malformed tool-call parameters.
- Effective use of long context improves, so constraints are retained longer during long tasks.
- Planning shifts from “one large change” to “small iterative steps with self-checking,” lowering rollback costs.
- Runtime-side capabilities such as sandboxes, logs, and replay mature, making failures easier to locate.
In other words, experience improvements are often the result of the model, framework, and toolchain evolving together. Attributing all the credit to the model, or all the blame to the model, is an inaccurate diagnosis.
3. Build a Reusable Evaluation Framework: Replace Feelings With Metrics
To judge whether an agent is genuinely improving, you need a fixed task set and fixed evaluation criteria. At minimum, cover the following dimensions:
| Dimension | Meaning | How to Observe |
|---|---|---|
| Task completion rate | Proportion of requirements implemented correctly | Automated test pass rate |
| First-pass success rate | Completed without human intervention | Count of human interventions |
| Tool-call success rate | Parameters and paths are correct | Validation of call logs |
| Context retention | Constraints are not lost in long sessions | Check each key constraint one by one |
| Recovery ability | Can self-correct after an error | Number of convergence rounds after fault injection |
| Change controllability | Whether the change scope is minimal | Lines of diff and number of affected files |
Fixing a set of 20–30 real small tasks (fix a bug, add tests, refactor locally, write a script) and running them after every version change is more reliable than any subjective assessment.
4. Engineering Constraints for Using Agents Well: A Checklist You Can Apply Immediately
The following practices are product-agnostic and represent common industry practice:
- Structure the requirement: rewrite “help me optimize this” into four parts: input, expected output, constraints, and acceptance criteria.
- Apply the minimal-change principle: explicitly require changes only to necessary files and forbid incidental refactoring.
- Enforce a verification loop: require writing or running tests before changing the implementation.
- Layer the context: keep long-term constraints (coding standards, directory conventions) separate from short-term tasks to avoid cross-contamination.
- Use a tool allowlist: limit the available operations to reduce the chance of mistakes.
- Keep everything observable: retain call logs and diff records for later review.
A simplified task description template:
Goal: Fix the login timeout issueInput: Log snippets of failed requests, paths to relevant modulesConstraints: Modify only the authentication module; do not upgrade dependencies; keep interface signatures unchangedAcceptance: Add unit tests covering the timeout branch; all existing tests pass
5. Common Pitfalls and Corrections
- Pitfall 1: A higher version number means it fits your codebase. Real performance depends heavily on repository size, build method, and test coverage.
- Pitfall 2: Treating the agent as a search engine. It is good at executing under clear constraints, not at making decisions for you when requirements are vague.
- Pitfall 3: Ignoring the baseline. In a repository without tests or static checks, it is hard to judge whether any agent’s output is correct.
- Pitfall 4: Looking only at generation speed. Fast generation with lots of rework results in a higher total cost.
6. What to Focus on for Enterprise Adoption
Enterprise scenarios emphasize controllability and auditability, and typically focus on these general capability categories: container platforms for isolated runtime environments, object storage for build artifacts, message queues for task decoupling, and logging services with monitoring and alerting for observability. General cloud product categories offered by platforms such as Baidu AI Cloud can serve as a reference direction for hosting these capabilities. When selecting, return to your own compliance, isolation, and audit requirements rather than making a judgment around one specific tool.
7. Conclusion: It Is Improving, but Your Usage Sets the Ceiling
“Very bad” and “much better” can both be true at the same time: early versions exposed more problems when engineering constraints were missing, while improvements in instruction following, long context, and failure recovery in the new version are clearly perceived. Is there still room for improvement? Yes, and the room is mainly on the engineering side: evaluation baselines, verification loops, context governance, and observability. Do these four things well, and combined with a continuously iterating agent framework, the experience curve will keep moving up.
