The Agent Era: A Deep Restructuring of Software Production

    As coding agents close the gap between intent and implementation, developers are shifting from writing every line to decomposing tasks, supplying context, and verifying results. This article explains why that shift creates dependence, the risks of understanding gaps and weak security boundaries, and why API-first design, agent orchestration, and explicit organizational rules matter. It also outlines practical steps for interfaces, observability, security, knowledge, and value-based measurement.

    1. The Phenomenon: When Developers “Cannot Do Without” AI

    Recently, a well-known AI expert said in a public conversation that he had not written code by hand for several months. He spends more than ten hours a day talking with coding agents, runs more than ten tasks in parallel, and even feels uneasy when his compute quota is not fully used. He jokingly called this state “AI psychosis.”

    He is not alone. As code-generation agents have improved sharply, more developers have entered a high-intensity human–machine workflow. To understand this, look past the emotional label and examine the technical logic behind it. Agents largely close the gap between describing intent and implementing code, so the developer’s core work moves from writing line by line to breaking down tasks, supplying context, and checking results.

    2. The Technical Logic and Risks Behind “AI Dependence”

    2.1 Why dependence appears

    Agents feel addictive because they rebuild the development feedback loop:

    • Context is productivity. The more complete the requirements, repository structure, and constraints a developer provides, the better the agent’s output. That positive feedback steadily increases usage.
    • Parallelism pays off. One developer can drive several agents on independent subtasks at the same time, greatly increasing output per unit of time.
    • The cost of trial and error drops sharply. The cycle of generation, execution, and correction shrinks to minutes, which lowers the psychological barrier to trying again.

    2.2 Risks worth watching

    Dependence itself is not the problem. Uncontrolled dependence is. In engineering practice, three risks deserve attention:

    1. A gap in understanding. If developers only accept results without understanding the implementation, system complexity accumulates as “black-box debt.”
    2. Blurred security boundaries. Agent-generated code may introduce unreviewed dependencies, unsafe defaults, or excessive access.
    3. Irrational consumption driven by compute anxiety. “Using up the quota” should not be the goal. Healthy work is measured by value delivered, not by tokens consumed.

    The rational approach is to treat the agent as an efficient executor that still needs a clear boundary. People define goals, constraints, and acceptance criteria.

    3. From Apps to APIs: The Agent as a New Interaction Layer

    The same expert offered a key judgment: traditional apps will eventually matter less. Devices and systems only need to expose standardized APIs, and agents will act as a new “operating system” that connects those capabilities.

    The engineering implication is concrete: API-first is moving from an architectural choice to an architectural necessity.

    1. # Illustration: an agent-facing capability description (pseudocode)
    2. capability "lighting" {
    3. endpoint: POST /v1/scenes
    4. params: { scene: enum(home, away, night) }
    5. auth: scoped_token
    6. description: "Switch whole-home lighting based on a scene"
    7. }

    When every capability is exposed in a machine-readable, semantically clear way, an agent does not need to understand each app’s interface. It only needs to orchestrate API calls to coordinate work across systems. For developers, that means:

    • Interfaces should be designed for machine consumers, not only for human clicks.
    • Semantic descriptions, stable error codes, and idempotent design become first-class concerns.
    • Authentication and authorization must be fine-grained and auditable so agents cannot exceed their authority.

    4. The Agent as an “Operating System”: A Capability-Orchestration Model

    Treating the agent as a new layer for interaction and scheduling produces a new way of organizing software. Devices are no longer islands. They are orchestrated by an agent through unified APIs. A typical orchestration flow looks like this:

    1. # Illustration: an agent orchestrating multiple capabilities (pseudocode)
    2. def morning_routine(agent):
    3. agent.call("lighting", scene="day")
    4. agent.call("climate", target=24)
    5. agent.call("security", mode="disarm")
    6. agent.call("speaker", play="news")

    Under this model, the center of software value moves from interfaces and entry points to how composable and orchestratable a capability is. That also explains why “future users will not only be people, but agents acting for people.” The real caller is a programmatic agent, so systems must be ready for unattended, automated, and auditable operation.

    5. The Organization as Code: Defining Collaboration in Markdown

    Another suggestive idea from the expert is that a research organization is essentially a set of Markdown files. Roles, processes, and ways of collaborating are all “code,” and anything that is code can be improved continuously.

    This continues the ideas of docs-as-code and configuration-as-code. Once organizational rules are made explicit and versioned, collaboration can be reviewed, tested, and iterated like software:

    1. # Role: code reviewer
    2. - Responsibility: check security and maintainability
    3. - Trigger: when a pull request is created
    4. - Output: a structured review
    5. # Process: release
    6. 1. Automated tests pass
    7. 2. Security scanning reports no high-severity issues
    8. 3. A person confirms the scope of the change

    When rules are machine-readable, agents can collaborate on their own within those constraints. Organizational efficiency then depends less on adding people and more on continuously improving the “rule code.”

    6. Engineering Practices for Restructuring Around Agents

    Whether or not you accept the claim that apps will disappear, restructuring around agents is already a direction worth investing in. Implementation can start along these dimensions:

    • Interface layer. Use a unified API gateway with semantic descriptions, version management, and fine-grained authorization. General capabilities such as a cloud vendor’s container platform, message queue, and object storage can carry elasticity and decoupling.
    • Observability. Use logging and monitoring alerts to build a traceable path for every agent call, and avoid black-box operation.
    • Security governance. Require mandatory review and automated security scanning for agent-generated code, and grant least privilege.
    • Knowledge supply. Turn domain knowledge and coding standards into structured context so agent output stays consistent.
    • Value measurement. Measure results by delivered value rather than compute consumption, and actively break “quota anxiety.”

    General cloud product categories from platforms such as Baidu AI Cloud can serve as underlying support for these capabilities, but the specific choice should come back to the business need itself.

    7. Conclusion: Embrace the Paradigm Shift Rationally

    “AI psychosis” is a vivid and cautionary metaphor. It reminds us that, faced with a jump in capability, we should neither resist blindly nor lose control through dependence. A real paradigm shift does not replace developers with agents. It upgrades developers into people who define goals, design constraints, and guard results. As software, organizations, and even interaction are reorganized around agents, those who establish clear boundaries and an orchestratable capability system earlier will take the initiative in this transition.