The Evolution of Programmers in the AI Agent Era

    This article examines how AI agents are reshaping software delivery and why the value of programmers is shifting from writing code to defining problems, constraining behavior, and verifying results. It covers the changed cost structure of agentic tasks, how to build metrics before pursuing recursive self-improvement, the gap between 2D vision and 3D spatial reasoning, the divergence between developers who use AI as a lever versus a crutch, and a practical checklist for teams. No specific products are discussed; the focus is on general engineering practices.

    Introduction: An Unavoidable Technical Proposition

    Several signals in the tech community deserve serious attention from developers. A research lead, after reviewing hundreds of public technical data sources, estimated roughly a 60% probability that AI will achieve recursive self-improvement before the end of 2028. A chipmaker executive pointed out that the compute required for a model to understand, reason, plan, and call tools to take action is about three orders of magnitude higher than for purely generative tasks. A co-founder also cautioned that the industry’s optimism about AI may be skewed, drawing an analogy to the early “Y2K” problem—the real risk lies not in emergent capabilities but in unaudited systemic dependence.

    Put together, the conclusion is not mysterious: Agents are becoming the infrastructure of software delivery, and the anchor of a programmer’s value is migrating from “writing code” to “defining problems, constraining behavior, and verifying results.” This article discusses no specific products; it addresses only general technical questions and engineering practices.

    1. The Cost Structure Has Changed: Why Agents Cost Three Orders of Magnitude More Than Chatbots

    A generative task is essentially a single forward inference pass. An agentic task, by contrast, is a closed loop: perceive context → plan steps → call tools → observe returns → revise the plan. Each round must carry historical context, so token consumption does not grow linearly but accumulates roughly quadratically with the number of steps.

    This imposes three engineering constraints:

    1. The context budget must be managed explicitly. Treating “append history indefinitely” as the default strategy is the most common source of runaway costs.
    2. Tool return values must be trimmed. A single full-table query response can consume the budget of dozens of conversation rounds.
    3. Retries on failure need a cap and a fallback path, otherwise a single infinite loop can burn through a whole day’s quota.

    A skeletal budget-control example:

    1. class Budget:
    2. def __init__(self, max_steps=8, max_tokens=60000):
    3. self.max_steps, self.max_tokens = max_steps, max_tokens
    4. self.used_tokens = 0
    5. def allow(self, prompt_tokens):
    6. return (self.used_tokens + prompt_tokens) < self.max_tokens
    7. def run_agent(task, tools, budget):
    8. history = summarize(task) # compress first, rather than stuffing in everything
    9. for step in range(budget.max_steps):
    10. plan = llm_plan(history, tools) # planning: output structured steps only
    11. if plan.done:
    12. return plan.answer
    13. obs = tools.call(plan.tool, plan.args, truncate=2000)
    14. history = compress(history, obs) # key: rolling summary
    15. budget.used_tokens += estimate(plan, obs)
    16. if not budget.allow(estimate(history)):
    17. return fallback_answer(history)
    18. return fallback_answer(history)

    When deployed in the cloud, such systems typically combine a container platform to host execution sandboxes, object storage to persist intermediate artifacts, a message queue to decouple steps, and logging plus monitoring and alerting for cost observability. Baidu AI Cloud provides exactly these foundational capabilities in this general category, rather than some irreplaceable proprietary interface.

    2. Recursive Self-Improvement: Don’t Panic First, Build Metrics First

    “AI building AI” is discussed repeatedly because the automation chain is closing: generate hypotheses → run experiments → read results → modify code. But what truly determines progress in engineering is not how smart the model is, but whether the feedback signal is clean.

    An actionable test comes down to three questions:

    • Can an experiment be reproduced with a single command?
    • Is the evaluation metric singular, stable, and noise-resistant?
    • Can failed samples be automatically archived and fed back?

    If the answer to all three is no, then even the strongest model is only producing more changes that cannot be attributed. The pragmatic approach is to first turn the evaluation set and regression pipeline into an “automatically scorable closed loop,” and only then talk about automated improvement. This is also the true meaning of the “Y2K-style risk”: not that machines suddenly wake up one day, but that we allow large amounts of unaudited auto-generated logic to enter the production chain.

    3. The Spatial Cognition Gap: The Divide Between 2D Vision and the 3D World

    Most mainstream vision benchmarks reason over a 2D pixel grid, so models can perform classification, segmentation, and photorealistic image generation, yet cannot reliably answer “the cup is on the second shelf,” “how far the table is from the wall,” or “where the window begins.” The reason is the lack of an explicit 3D structural representation and scale-consistency constraints.

    The direction for improvement is to introduce depth estimation, point cloud or voxel representations, and multi-view consistency checks, upgrading “pixel reasoning” to “structural reasoning.” A common engineering practice is: multi-frame input + geometric consistency filtering + confidence-threshold refusal. It is better to refuse than to give a confident wrong answer about spatial relationships—this is a hard requirement in scenarios such as robotics, inspection, and security.

    4. The Divergence Among Programmers: The Real Gap Between Two Types of People

    The first type treats AI as a lever: they write clear specifications, break down verifiable small tasks, and maintain high-quality tests. AI handles enumeration and trial-and-error, while humans handle trade-offs and accountability. Their output is amplified as tools grow stronger.

    The second type treats AI as a crutch: they skip understanding and adopt directly, the code runs but they cannot explain why, and they become helpless when facing edge cases and production incidents. The stronger the tool, the faster their ability is diluted.

    The essence of the gap is three trainable abilities:

    Ability Concrete manifestation How to train
    Problem definition Turning vague requirements into acceptance criteria Write an acceptance checklist for every requirement first
    Constraint expression Fixing boundaries with types, schemas, and assertions Structurally validate all inputs and outputs
    Result verification Designing counterexamples and quickly locating regressions Build a minimal reproducible experiment set

    5. A Practical Checklist for Teams

    1. Set a triple budget of steps, tokens, and time for agents, and wire it into monitoring and alerting.
    2. Apply input validation and output truncation to all tool calls; prohibit unbounded returns.
    3. Build a trinity of “specification—test—evaluation” assets as the prerequisite for automated improvement.
    4. Enforce mandatory review and static checks on auto-generated code, and retain a human accountability step.
    5. For tasks involving 3D or multimodal data, explicitly model geometric constraints and allow refusal.
    6. Treat compute as a measurable resource, accounting for cost per task rather than allocating by departmental guesswork.

    Conclusion

    Tools will grow stronger, but responsibility does not transfer. What is truly scarce is not people who can call tools, but people who can be accountable for results and turn vague problems into verifiable engineering. Build the system of metrics, budgets, and verification first, then talk about automation—this is the most reliable path through this wave of technological optimism.