AI Coding Agents in Six Months: How Form Converged and Why Context Engineering Now Decides the Outcome

    Over the past six months, AI coding agents have moved from open experimentation with interaction models and product positioning to a clear, shared shape. This article traces that shift: the four capabilities that became the category's minimum feature set, the two dominant workflow paradigms (terminal-first and editor-embedded), and the disciplines that now separate strong tools from weak ones, namely context engineering, tool and workflow integration, cost structure, and observability. It closes with a practical framework for evaluating and adopting coding agents at both the individual and enterprise level.

    Introduction: From a “form war” to form convergence

    Six months ago, AI coding agents (referred to below simply as “coding agents”) were still feeling their way through questions of interaction model and product positioning. By mid-2026, that debate has largely settled: the few product categories that defined the direction over the past half year have reached a broad consensus on what the core form of these tools should be.

    For technical decision-makers, the best time to study this class of product is actually after launch. Release notes only show the boundaries of capability; the real product philosophy hides in daily, high-frequency use: what runs by default, when it stops, how it presents changes, and how it trades off context. One striking trend over the past six months is that products from very different origins are converging on a similar form.

    This is much like how the smartphone eventually settled into “a slab of glass.” Once the interaction form is unified, competition shifts from “does this form work at all” to “the platform ecosystem built around that form.” For coding agents, the “glass slab” is a unified agent loop:

    • Understand the goal;
    • Retrieve context;
    • Plan the task;
    • Call tools;
    • Review the diff.

    The focus of competition has accordingly shifted down to the underlying context engineering, the tool ecosystem, and workflow integration.

    This article takes a neutral view of that process. It first clarifies two premises: local execution is not the same as local inference, and form convergence is not the same as homogenization. It then examines the two paradigms separately, terminal-first and editor-embedded, and, together with context budgets, billing models, candidate comparison, and observability, offers a practical framework for evaluation and selection.

    1. Four capabilities that have converged

    Despite different entry points, coding agents of all kinds have, over the past six months, generally filled in four key capabilities. Together they form the “minimum complete set” for this category.

    1. Long context and automatic compaction. Codebases routinely run into hundreds of thousands or even millions of lines, and no context window can hold them all at once. Tools across the board have introduced session compaction: as context approaches its limit, earlier dialogue, tool calls, and intermediate conclusions are folded into a structured summary that preserves the goal, changes already made, key constraints, and open questions, allowing long-running tasks to continue.

    2. Sub-agents and task decomposition. For tasks that span modules, mainstream tools support dispatching subtasks such as retrieval and diagnosis to separate agents with their own isolated context, so the main agent receives only the conclusions. This keeps the main context from being polluted by large amounts of intermediate information, and it makes it easier to run independent subtasks in parallel.

    3. Sandboxing and risk-graded confirmation. High-risk actions such as executing commands, writing files, and accessing the network are placed inside controlled boundaries, and a risk level determines whether a given action must be confirmed by a human.

    4. Diff review and version rollback. The changes an agent produces are presented diff by diff, and each hunk can be accepted or rejected individually. Using the branch and revert mechanisms of version control, a runaway change can be quickly undone.

    It is worth noting that form convergence does not mean homogenization. Products differ markedly in their underlying models’ reasoning style, default execution policy, and how they organize context, and it is these differences that decide real-world performance and cost.

    2. Two premises worth clarifying

    2.1 Local execution is not local inference

    When discussing the data boundaries of coding agents, “running locally” is often misread as “code never leaves the machine.” The two must be separated:

    • Local execution: the agent process runs on the developer’s machine or in a remote container and can read files, run tests, and execute commands;
    • Local inference: the model weights run on a local device, inference is fully offline, and data never needs to leave the machine.

    The vast majority of coding agents today are a hybrid of “local execution plus cloud inference”: file access and command execution happen locally, but model inference depends on cloud-hosted large model services. Retrieved code snippets, command output, and even entire file contents are uploaded to the model side with each request. Whether code truly “leaves the boundary” therefore depends on where inference is deployed and on the data governance policy, not on where the agent runs.

    This leads to a more important question: in order to reach the model, what repository context is actually sent? Send too much, and key signals are drowned out by noise while latency and cost climb together; send too little, and the agent can only fill the gaps by guessing, producing changes that “look reasonable but are actually wrong.” This is precisely the core of context engineering.

    2.2 Form convergence is not capability convergence

    Convergence happens at the level of interaction and task orchestration; differences remain concentrated in three places:

    • Context supply strategy: whether to inject key files in full or retrieve chunks on demand;
    • Default setting for execution and confirmation: ask at every step, or run in batches and review afterward;
    • Depth of coupling with existing toolchains.

    This means there is no universal “strongest tool.” The first step in selection is to judge whether your own workflow is closer to terminal orchestration or to in-editor instant assistance.

    3. Two workflow paradigms: terminal-first and editor-embedded

    3.1 Terminal-first: the “gatekeeping” paradigm closest to the original form

    Coding agents that take the terminal as the primary entry point continue the initial form of the “command-style agent”: you state a goal in natural language, advance it step by step through a conversational flow, and rely on the model’s long-context reasoning and session compaction to handle large codebases. Its most distinctive trait is deliberate “friction”: the agent must get human confirmation before executing a command or modifying a file.

    This friction is not a product flaw but a risk-control design aimed at serious codebases. In mature engineering, the moment just before a dangerous action is often the most dangerous: a command may touch production configuration or data, and a file change may break an interface contract that many others depend on. Placing a human gate at these points trades a small amount of interaction overhead for veto power over high-risk actions.

    • Advantages: A terminal-oriented workflow is naturally suited to scripting and orchestration, and easy to embed in automation such as continuous integration; it also pairs tightly with version control commands, so changes are traceable and revertible.
    • Limitations: It has a learning curve for developers used to graphical diff views; the time and cost of a single task rise fairly quickly with task complexity; interaction depends heavily on text, and tracking state through long tasks requires developers to build their own habits.
    • Suited to: infrastructure and platform engineering teams, organizations with strict compliance requirements, and developers willing to read a diff in full before a change lands.

    3.2 Editor-embedded: a design philosophy built around “not interrupting”

    The editor-embedded approach chooses to blend into the developer’s existing working environment. Its deeper value lies in “no need to migrate your workflow”: developers gain agent capabilities without leaving the files, tabs, diff views, and keyboard shortcuts they operate by muscle memory.

    This route usually keeps a model-agnostic design. The workspace can point to any frontier model the team has already procured, without being bound to a single model vendor’s release cadence or price changes. For platform teams, this means models can be assigned by task type under a unified interface, and a new model can be validated against an evaluation set before deciding to switch.

    At the same time, the multi-file editing ability of these tools keeps improving, and they can already complete cross-file changes without interrupting the developer.

    • Advantages: Context comes naturally from “the currently open files, the selected code, and recent changes,” so the cost of conveying intent is low; changes are shown as line-level diffs in a familiar interface, and the review path matches everyday code review.
    • Limitations: They are constrained by the host editor’s capabilities, so parallel orchestration and background execution for long-running tasks are relatively limited; plugin ecosystem quality varies across editors.
    • Suited to: R&D teams focused on day-to-day feature iteration and bug fixes, and organizations that want to introduce agent capabilities with the lowest possible migration cost.

    3.3 Side-by-side comparison

    Dimension Terminal-first paradigm Editor-embedded paradigm
    Primary interaction entry Conversational command flow In-editor chat, completion, and multi-file editing
    Context supply Relies on long context and session compaction; can search broadly across modules Focused on the current file, selected snippets, and recent changes
    Gating of risky actions Confirms before executing commands or writing files by default Presents changes as line-level diffs for the developer to accept or reject
    Automation integration Easy to embed in scripts and CI pipelines Mainly triggered during interaction
    Learning curve Requires adapting to terminal interaction habits Nearly zero; keeps existing shortcuts and workspace
    Typical weakness State tracking in long tasks depends on personal habits Orchestration and parallelism for long tasks are relatively limited

    One signal worth watching is that the two routes are borrowing from each other: editor-based tools keep strengthening long-task execution and background orchestration, while terminal-based tools keep improving diff presentation and context visualization. The endgame may not be one replacing the other, but developers switching entry points within a single day according to the nature of the task: exploratory edits done in the editor, and cross-module refactors handed to a terminal agent to push through in bulk.

    4. Context engineering: the variable that really decides results

    As noted above, what determines an agent’s performance is not “whether local execution is used” but “whether the repository context sent to the model is precise.” In engineering practice, context can be divided into four layers:

    1. Rule layer: project conventions, coding standards, and directory-structure notes. Usually kept in a documentation file at the repository root or a conventional location, and injected with every request.
    2. Retrieval layer: code chunks recalled by keyword, symbol index, or semantic search. This is the highest information-density source in a large repository, and also the layer most prone to introducing noise.
    3. State layer: session history, compaction summaries, to-do lists, and known constraints.
    4. Output layer: command execution results, test reports, and build logs. Volume fluctuates widely, so it needs to be truncated or structurally distilled before use.

    A working example of a context-budget configuration looks like this:

    1. context_budget:
    2. rule_files: 3000 # rule layer: specs and conventions, token estimate
    3. retrieval_top_k: 8 # retrieval layer: number of chunks recalled per query
    4. retrieval_max_tokens: 12000
    5. summary_max_tokens: 4000 # state layer: upper bound of the compaction summary
    6. command_output_truncate: 2000 # output layer: truncation length for a single command output
    7. compaction_trigger: 0.75 # trigger compaction when context usage reaches 75% of the window

    More context is not necessarily better. Long contexts suffer from the phenomenon of “key information being drowned out”: when large amounts of code of only limited relevance are injected, the model is actually more likely to overlook the instructions and constraints that truly matter. Budget configuration should therefore follow a “precise over abundant” principle and be continually calibrated against evaluation results.

    Sub-agents are an effective way to control context bloat. You can have a sub-agent complete a task such as “locate the relevant implementation and summarize its call relationships” in an isolated context, returning only the conclusion to the main agent, so that whole blocks of source code do not pour into the main conversation:

    1. Main task: refactor the order checkout module, unifying the discount calculation entry point
    2. ├─ Sub-task A (retrieval): list all call sites of discount calculation
    3. │ └─ Returns: file paths + function signatures + brief notes (no source code)
    4. ├─ Sub-task B (analysis): map out the mutual-exclusion rules between coupons and points
    5. │ └─ Returns: list of rules and conflict points
    6. └─ Main agent: synthesize conclusions → generate modification plan → implement file by file → run tests

    5. Billing models and cost structure

    The billing of these tools can largely be grouped into three types, each suited to different usage patterns:

    • Subscription plus quota: pay on a fixed cycle with a certain quota of model calls or requests included; once the quota runs out, you are either throttled or must buy more. The advantage is a predictable budget, which suits individual developers and small teams.
    • Pay-as-you-go: billed by actual tokens consumed, usually with separate input and output prices, and discounts for scenarios such as cache hits and batch requests. The advantage is that you pay for what you use; the downside is noticeable volatility under heavy use.
    • Hybrid: the subscription includes a base quota, and usage beyond it is settled by volume, combining predictability with elasticity.

    Whatever the model, the main cost drivers are the same: context size and the number of interaction rounds.

    • Input side: every round of conversation must re-carry the rule files, retrieved chunks, and history summary. Without a caching mechanism, the cumulative input consumption of a long task is significantly higher than intuition suggests.
    • Output side: the code, tests, and explanatory text an agent generates are usually billed at a higher unit price.
    • Rounds: a cross-file task often goes through many back-and-forth rounds of “retrieve, plan, modify, run tests, fix,” and the number of rounds grows non-linearly with task complexity.

    A practical cost-estimate formula is:

    1. Cost per task ≈ interaction rounds × (rule layer + retrieval layer + state layer + new output)

    This shows that controlling the context budget, raising the information density of each round, and reducing wasted back-and-forth are often more effective than simply comparing unit prices. On the premise of being model-agnostic, you can also route models by task type: hand light tasks such as boilerplate generation to a cheaper model, and complex refactors to a more capable one, balancing quality against spend.

    6. The missing piece: candidate comparison

    Coding agents today generally follow a “single generation” model: for one goal, they produce one solution, and the developer accepts it, rejects it, or continues the conversation to refine it. This model is simple and direct, but it has a structural weakness: the agent’s first output is not necessarily the best solution, and it is hard for a developer to judge “whether this is already good enough” without knowing the alternatives.

    A fuller paradigm can be called “Arena Mode,” also known as candidate comparison:

    • Generate several candidate outputs in parallel for the same goal, where each candidate may use a different model, different reasoning configuration, or different prompting strategy;
    • Present the candidate results side by side, and let the developer compare them and adopt the best.

    Its value lies in turning a one-off “accept or reject” into a “reference-based selection decision.” For tasks with multiple reasonable answers, such as architecture design, interface abstraction, and performance optimization, a side-by-side comparison can significantly reduce selection bias.

    Judging from public code traces, this mode already has prototypes, but at the time of writing no mainstream product has shipped it as an official feature. Its main obstacles to adoption are three:

    1. Cost and latency multiply: double the candidates, and token consumption and waiting time rise together;
    2. Comparison interfaces are hard to design: when several long diffs are shown side by side, the cognitive load of manual comparison is very high;
    3. Candidates are not differentiated enough: results generated multiple times by the same model may be highly similar, losing the point of comparison.

    Before the feature becomes officially available, teams can build a lightweight version themselves using “multiple generations plus automatic evaluation”:

    1. def generate_candidates(goal, context, n=3):
    2. # use different models or different prompt strategies to ensure candidates differ
    3. strategies = ["minimal_change", "structural_refactor", "performance_first"]
    4. return [solve(goal, context, strategy=s) for s in strategies[:n]]
    5. def auto_rank(candidates, repo):
    6. scored = []
    7. for c in candidates:
    8. apply_patch(c, repo)
    9. report = run_build_and_tests(repo) # build, unit tests, static checks
    10. score = weighted_score(
    11. tests_passed=report.passed,
    12. diff_size=len(c.changed_lines), # smaller changes are easier to review
    13. static_violations=report.lint_errors,
    14. )
    15. scored.append((score, c))
    16. revert(repo) # roll back regardless of the outcome
    17. return sorted(scored, key=lambda x: x[0], reverse=True)
    18. best = auto_rank(generate_candidates(goal, context), repo)[0]

    The key to this flow is using deterministic checks (compilation, tests, static scanning) as the objective scoring basis, and leaving the last mile of candidate comparison to automatic evaluation rather than manual line-by-line review, which eases the difficulty of designing a comparison interface.

    7. Where new entrants can make an impact

    After form converges, it is hard for new entrants to be disruptive at the interaction layer; competition will shift to the following dimensions:

    • Model capability ceiling: longer effective context, stronger cross-file reasoning, and lower hallucination rates directly decide success or failure on complex tasks.
    • Execution-layer efficiency: parallel task scheduling, incremental builds and test caching, and automatic retries of failed tasks determine output per unit of time.
    • Openness and integration: whether it supports custom tool integration, whether it can run unattended in a CI environment, and whether it connects to existing R&D platforms determine whether it can fit into an organization’s process.
    • Cost predictability: enterprise buyers care more about “whether the monthly bill is controllable” than about the price of a single call.

    One interaction form worth watching is “voice-first”: borrowing the voice-programming pattern of “speak the intent, have the system generate, and let the developer correct,” it lets the agent handle code execution while the developer focuses on clarifying intent and reviewing results. As speech recognition and code generation quality improve, this form has considerable potential in scenarios such as pair programming and accessible development, and may become a third interaction path alongside the terminal and the editor.

    8. Enterprise adoption: making coding agents a real part of the R&D system

    Whatever type of tool is chosen, enterprises introducing coding agents should treat them as new members of the R&D system rather than personal productivity plugins. The following five practices are worth considering:

    1. Govern context first. Establish standardized documentation files for repositories that spell out the directory structure, coding standards, and prohibited practices; configure retrieval allowlists and sensitive-file exclusion rules to ensure credentials, keys, and personal information never enter model requests.
    2. Adopt a tiered confirmation policy. Let low-risk actions (reading files, searching code) run automatically; run medium-risk actions (modifying a single file) after diff review; require human confirmation for high-risk actions (deleting files, installing dependencies, running deployment scripts), and carry them out in an isolated environment or on a branch.
    3. Connect to general-purpose cloud infrastructure. Building an enterprise-grade coding agent on a cloud platform such as Baidu AI Cloud lets you combine capabilities like model services, container platforms, object storage, logging, and monitoring and alerting:
      • Model services provide unified multi-model access and routing, supporting a model-agnostic design;
      • The container platform hosts isolated sandboxes and parallel tasks;
      • Object storage centrally manages code packages, build artifacts, and evaluation datasets;
      • The logging service retains the full trace of agent actions to meet audit requirements;
      • Monitoring and alerting track cost and failure rate in real time and warn promptly on abnormal swings.
    4. Build an evaluation loop. Pull 20-50 representative tasks (bug fixes, new features, refactors, test completion) from real projects to form a fixed evaluation set. Re-run it every time you switch models or adjust the prompting strategy, and quantify the benefit with three metrics, pass rate, average interaction rounds, and cost per task, to avoid “choosing by gut feeling.”
    5. Divide labor between humans and machines and build capabilities. Position the agent as the “executor,” and leave architecture decisions, interface contracts, and security boundaries to humans. Developers need to strengthen three abilities accordingly: writing clear, verifiable task descriptions; reading and reviewing the agent’s output; and designing verification methods that can run automatically.

    9. Conclusion: the next phase of competition is on platforms and engineering

    Six months of evolution show that the “form war” over coding agents has ended and the center of competition has shifted to platformization and engineering: whoever offers more precise context, more controllable execution boundaries, and more predictable cost will win at scale.

    For developers, rather than chasing a single “strongest tool,” it is better to build your own evaluation and selection framework. For enterprises, bringing coding agents into R&D infrastructure under unified governance is the path that turns individual productivity gains into organization-level delivery capability. As new paradigms such as candidate comparison gradually mature, the role of coding agents will also evolve from an “assistant that executes instructions” into a “collaborator that offers options and ranks them by objective metrics,” and the boundary of human-machine collaboration will keep moving outward.