Why AI Coding Agents Differ Under the Same LLM: A Technical Comparison Framework

    This article examines why AI coding agents built on the same large language model can deliver dramatically different results. It breaks down an agent into four layers—interaction, orchestration, capability, and governance—and analyzes how each design variable affects latency, automation rate, completeness, observability, and output quality. It also provides a reusable five-dimension evaluation framework, practical acceptance criteria, and engineering recommendations for building reproducible agent benchmarks.

    When multiple AI coding agents are connected to the same large language model, many people assume the results should be roughly the same. However, a side-by-side test showed that with an identical model foundation but different agent shells, the final experience can differ by an order of magnitude. Some agents return a conclusion within ten seconds, while others take tens of minutes and trigger more than twenty manual confirmations. Some exhaust an entire dataset in one pass, while others return partial results and ask whether to continue.

    This article does not focus on specific products. Instead, it abstracts these observations into an analyzable technical question: once model capability is leveled out, which design variables at the agent layer determine the final output?

    1. Baseline Alignment: Why the Same Model Does Not Mean the Same Performance

    In an agent system, the large language model only handles “next-step reasoning and decision-making.” What really determines task success is the surrounding engineering structure. A coding agent can be abstracted into four layers:

    1. ┌─────────────────────────────────┐
    2. │ Interaction: GUI / CLI / chat │
    3. ├─────────────────────────────────┤
    4. │ Orchestration: planning, loops,│
    5. │ termination │
    6. ├─────────────────────────────────┤
    7. │ Capability: retrieval, script │
    8. │ execution, skill reuse │
    9. ├─────────────────────────────────┤
    10. │ Governance: permission, audit, │
    11. │ artifact persistence │
    12. └─────────────┬───────────────────┘
    13. ▼
    14. Unified LLM foundation

    Once the model is fixed, differences in any of the four layers are amplified. The contrast between “47 minutes and nearly 20 approvals” and “a response in 10 seconds” is essentially not about model speed. It comes from different loop strategies in the orchestration layer and different confirmation granularity in the governance layer.

    Variables must also be controlled: model specification, context window, whether reasoning mode is enabled, network and rate-limit status, and whether the same skill package is mounted. In the original test, a model specification change caused by free-tier rate limiting made one agent impossible to compare fairly. This is a typical case of variable contamination. A rigorous comparison should fix the model identifier and parameters, changing only the agent shell.

    2. Difference 1: Interaction Format Determines Observability and Interruption Cost

    A graphical interface and a command-line interface are two channels with completely different information densities.

    A graphical interface folds tool calls, file changes, and execution logs into visual cards. Its advantage is a low barrier to entry and structured results. Its drawback is that the intermediate process is compressed, making it hard for users to tell how many documents the agent read or how many retrievals it performed. A command-line interface prints every tool call and path line by line, offering strong observability. However, it has a side effect: every external network access and every file write may trigger an interactive authorization, fragmenting the task into many pieces.

    This explains a common confusion: why a command-line format is “more transparent” yet “slower.” The cost of transparency is synchronous, blocking confirmation. The improvement direction is tiered authorization: divide operations into four levels—read-only, workspace write, external network access, and system-level command execution. Allow the first three levels in one pass within the session, and confirm only the fourth level each time.

    1. Read-only retrieval → allowed within the session
    2. Workspace file write → allowed within the session
    3. External network access→ allowed in batches by domain
    4. System-level execution → confirmed each time + full audit

    3. Difference 2: Context and Retrieval Strategy Determine Information Completeness

    The second test task was to retrieve text transcripts of news from a specific day. The performance gap was clear: one type stayed close to the original excerpts with categorization and light summarization; one provided analysis and conclusions after retrieval; one had obvious omissions due to poor retrieval channel selection; and another was terminated midway because of too many confirmations.

    Abstractly, there are three technical variables here:

    1. Coverage of retrieval entry points. When a single entry point has insufficient recall, multi-source cross-validation is needed, with credibility tiers assigned to sources.
    2. Context budget allocation. Excerpt-style output preserves the evidence chain, while analysis-style output compresses evidence for readability. The two correspond to different token budget strategies.
    3. Definition of termination conditions. Without a “minimum recall count” constraint, an agent tends to converge after obtaining partial results.

    A practical constraint example:

    1. Task goal: retrieve all entries for a specified date
    2. Acceptance criteria:
    3. - Total entry count must match the number published by an authoritative source
    4. - Discrepant items must be explicitly listed with reasons
    5. - No final conclusion may be output before this is met

    4. Difference 3: Skill Reuse and End-to-End Automation

    The third task used the same skill package to retrieve industry news. The two graphical-interface agents performed similarly, showing that the skill mechanism itself is portable. The command-line agent was significantly slowed down by per-link confirmation, and another agent directly reported that it could not complete the task.

    Key conclusion: a skill package solves “whether it can do it,” while the permission policy solves “whether it can finish continuously.” The end-to-end automation rate can be roughly quantified as:

    1. Automation rate = tool calls without human intervention / total tool calls

    Improving the automation rate does not rely on loosening security. It relies on changing confirmation from “per single action” to “session-level + scope-level,” while retaining complete audit logs for traceability.

    5. Difference 4: Task Completeness—The Divide Between Partial and Exhaustive Results

    The fourth task required listing all limit-up stocks on a certain trading day. Only one agent achieved an exhaustive result in one pass; the others returned partial results and asked whether to continue.

    This is the most concerning “polite premature termination” in agent design. In data-completeness scenarios, the correct approach is to model the task as paginated traversal rather than a single question-and-answer exchange:

    1. # Pseudocode: replace single Q&A with paginated enumeration
    2. page, collected = 1, []
    3. while True:
    4. batch = fetch(page=page, size=100)
    5. if not batch:
    6. break
    7. collected.extend(batch)
    8. page += 1
    9. assert len(collected) == expected_total, "Count mismatch; more data is needed"

    Supporting engineering measures include: persisting results as structured files rather than chat text, performing a total-count check before output, and generating to-dos for gaps instead of asking the user. Whether to automatically save artifacts such as Markdown should also be a configurable item, not a decision made by the agent itself.

    6. A Reusable Evaluation Framework for Selection

    The observations above can be condensed into five scorable dimensions. Any AI coding agent can be measured with the same benchmark:

    Dimension Observed Metric Description
    Latency First-token response, total task time Separates model time from orchestration time
    Automation rate Manual confirmations / tool calls Reflects governance layer design
    Completeness Deviation between output count and authoritative total Tests termination conditions
    Observability Traceability of intermediate steps Affects troubleshooting efficiency
    Artifact standards Whether output is persisted in a structured form Facilitates secondary processing

    During evaluation, fix the model and skill package, and prepare four task types: quick Q&A, long-chain retrieval, skill reuse, and exhaustive counting. Run each three times and take the median to obtain stable conclusions.

    7. Common Pitfalls and Practical Recommendations

    • Pitfall 1: Attributing slowness to the model. In most scenarios, the bottleneck lies in the confirmation mechanism and context scheduling.
    • Pitfall 2: Judging quality by answer length. Length does not equal completeness; completeness means verifiability.
    • Pitfall 3: Letting the agent decide the artifact format. Persistence formats should be constrained by engineering standards.
    • Recommendation: Set clear acceptance and termination conditions for tasks, turning “whether to continue” from a user decision into a program check.

    For stronger engineering support, you can run agents in a container platform to isolate the execution environment, use object storage to save artifacts, and use logging services and monitoring alerts to track latency and failure rates, with message queues for task peak shaving. This turns a one-off manual comparison into a sustainable regression evaluation pipeline. Combinations of such general cloud product capabilities can be covered by the basic categories offered by cloud providers such as Baidu AI Cloud.

    Conclusion

    The model determines the upper limit of capability; the agent determines the lower limit of experience. Once the foundation is unified, what really creates the gap is four things: interaction format, context budget, permission granularity, and termination conditions. Building a fixed-variable, quantifiable, and regression-capable evaluation method has more long-term value than chasing a single “strongest tool.”