Why Programming Agents Diverge on the Same Model

    When the same large language model is wired into different coding agents, developers often see large gaps in latency, follow-up questions, change scope, and completeness. Those gaps usually come from orchestration—system prompts, tool permissions, context trimming, human approval, retrieval, and how results are persisted—not from the model suddenly getting stronger or weaker. This article separates model skill from agent skill, explains where wall-clock time and risk come from, and outlines a fair comparison protocol and engineering practices you can reuse.

    Separate model capability from agent capability

    A large language model supplies language understanding, code generation, and multi-step reasoning. A coding agent is the execution system around the model. At minimum it includes task decomposition, context assembly, tool calling, permission control, failure retries, result presentation, and session memory. The model decides whether it can write and reason; the agent decides which files to inspect, whether commands may run, whether a human must approve, and whether traces remain after the work is done.

    Even with similar model identity, temperature, context window, and tool set, work style can still differ completely. Faster systems often take a shorter path, ask for fewer confirmations, and converge output more tightly. More complete systems often plan in more detail, read more context, and insert more human checkpoints. That is not a simple ranking of better versus worse; it is a trade-off among latency, risk, and auditability.

    How interaction shape changes the workflow

    A graphical interface usually puts the file tree, diffs, conversation, and run results in one view. It fits work that needs frequent review of changes, comparison against errors, and manual context selection. A command-line shape is closer to scripts and pipelines: input and output are text, which is easier to redirect, log, and embed in automation, but reviewing diffs and intermediate state costs more.

    The shape itself does not determine quality. A GUI that indexes a large project and asks for visual confirmation by default adds steps. A CLI that grants wide file and command access by default reduces waiting, but also magnifies mistaken edits and executions. Choose based on whether the team needs visible review or scriptable batch work—not on an assumption that one interface is faster or stronger.

    Where speed differences come from

    Perceived “fast” is end-to-end wall-clock time, not first-token latency of a single generation. Wall-clock time is roughly the sum of:

    • Context preparation: scanning directories, reading files, building diffs, compressing history.
    • Model inference: planning, generating patches, explaining reasons.
    • Tool round trips: search, running tests, reading logs, feeding results back to the model.
    • Human confirmation: writes, installs, or network access may pause for approval.
    • Result packaging: formatted explanations, change summaries, writing documents.

    Short-path agents merge steps, reduce tool calls, and answer with the most likely result when information is incomplete, so they feel fast. Full-path agents survey, then change, then verify, and repeatedly ask permission, so total time grows. Extra confirmations often make human wait time larger than model time. When you compare speed, record both pure model time and time spent waiting on people; otherwise caution looks like slowness, and skipped verification looks like efficiency.

    A schematic loop:

    1. while the task is not done:
    2. context = select relevant files and history
    3. plan = model generates the next step
    4. if the step requires authorization:
    5. wait for confirmation
    6. result = call a tool or apply a patch
    7. record logs and diffs
    8. if a stop condition is met:
    9. output an explanation and decide whether to persist

    Each extra round usually raises latency and cost, and also raises verifiability.

    Approvals, permissions, and safety boundaries

    Once an agent can edit files, run commands, or reach the network, it has real side effects. Approvals turn high-risk actions into explicit decisions: write access, test execution, reading sensitive config, or outbound queries. Denser approval means more pauses and a smaller blast radius. Looser approval is more fluent but depends more on prompts, sandboxes, and after-the-fact review.

    Permissions should be layered, not all-or-nothing. Read-only inspection, local patches, test runs, dependency installs, and external network access increase in risk in that order. Read-only and local edits can be allowed by default; installs, deletes, pushes, and secret access should be confirmed separately. When comparing agents, check whether they can express that layering, and whether they stop honestly after a deny or failure instead of retrying a workaround.

    Retrieval is not the same as “the model already knows”

    Parametric knowledge goes stale, and a repo’s APIs, scripts, and conventions do not appear in context automatically. Without retrieval, the agent leans on the current chat, open files, and generic experience, and may give advice that looks complete but does not match the repository. With code search, docs search, or web queries, it can gather evidence first, at the cost of latency and retrieval quality: a bad recall sends later reasoning down the wrong trail.

    Do not judge retrieval by whether a search button exists. Check four things: whether queries are traceable, whether citations map to concrete files or documents, whether misses are stated clearly, and whether sensitive repos are blocked from sending code off-site. Web search is for public material such as common errors and standard-library usage; project behavior should still be grounded in local code and tests.

    Answer richness versus durable artifacts

    For the same question, one system may return a short conclusion; another may add causes, blast radius, verification, and residual risk. Richness comes from longer planning prompts, more intermediate observation, and an explicit request to explain changes. The cost is more tokens, longer waits, and sometimes extra artifacts nobody asked for, such as auto-written docs.

    Automatic persistence is double-edged. Notes help handoff and review, but unsolicited new files can pollute the repo, leak internal paths, or mix code changes with documentation changes in review. A safer default is a summary in the conversation, with writing docs, commit messages, or change lists as optional actions shown (path and content) before write. Compare whether the final answer is reviewable, whether intermediate evidence is kept, and whether extra files are under control.

    How to compare fairly

    Align at least: the same model or capability tier, similar context length, the same repo snapshot, the same task description, the same allowed tools, and whether the network is allowed. If an environment is forced onto a different model tier, do not cross-compare speed and completeness; record them separately.

    Use a fixed task set rather than a single impression:

    1. Read-only localization: explain a likely defect cause without changing code.
    2. Small patch: change one specified function and produce a diff.
    3. Verification: run existing tests or a minimal repro, then continue from failures.
    4. Constrained task: no new docs, no dependency installs, no external network.
    5. Recovery task: give incomplete context and see whether it asks follow-ups instead of guessing.

    For each item, record wall-clock time, confirmation count, files changed, whether verification passed, whether unplanned files appeared, and whether conclusions map to code locations. A simple table beats a verdict of only “fast” or “complete.”

    Practical engineering habits

    Write prompts that state goal, scope, prohibitions, and done criteria—for example: modify only the named module, do not add docs, list files that will be read first, and stop and report if tests fail. Clearer scope makes agents more comparable and less likely to overreach.

    Feed context on purpose. Huge unrelated trees slow retrieval and crowd the window. Giving entry files, related interfaces, and failure logs is usually more stable than letting the system wander the whole repo.

    Keep logs and diffs outside the chat. Whether the UI leaves results in the session or writes them into the repo, the team should have an append-only run record: time, model identity, tool-call summary, human approvals, and final diffs. Object storage fits large logs and patches; monitoring and alerts fit unusual latency, repeated failures, and privilege-escalation attempts. Treat logging, object storage, and monitoring as infrastructure that records facts—not as a substitute for code review.

    Accept behavior, not prose. Passing tests, a bounded diff, no unplanned files, and no leaked secrets matter more than a long explanation. Explanation should serve review: what changed, why, how it was verified, and what risk remains.

    Trade-offs when you choose a product

    For interactive debugging that needs repeated diffs, prefer visibility and clear confirmation points. For batch fixes, formatting, and repeatable checks, prefer a text interface and scriptable flow. For external repos or production config, keep approvals, sandboxes, and full logs even if that is slower. For low-risk, tiny drafts, you can reduce confirmation for speed, but still inspect the diff before finishing.

    No orchestration is simultaneously fastest, most complete, and safest on every task. Short paths optimize waiting; long paths optimize evidence and constraints. With the model held fixed, evaluate whether the orchestration matches task risk: fewer detours when speed matters, a pause when caution matters, a traceable record when audit matters, and keep anything that should not enter the repo in the session or external logs. A homegrown trial set along these dimensions is more reliable than chasing who felt faster or more complete in one session.