Inside the Creation of AI Coding Agents: Engineering Practices and Lessons Learned
This article explores how AI coding agents are reshaping software engineering, based on hands-on experience shared by Boris, an engineering lead behind a cloud vendor's intelligent coding tools. It covers a fully AI-written workflow built on parallel agents and plan mode, a Swiss Cheese Model for agent security, the shift toward a title-free technical staff culture, prototype-driven decisions that replace PRDs and tickets, and the core skills that matter most as code generation becomes cheap. Readers will gain a practical view of workflow redesign, safety defenses, organizational change, and skill re-evaluation in the AI era.
Introduction: Software Engineering Is at a Tipping Point
The software development industry is undergoing a transformation comparable to the invention of the printing press in the 15th century. Boris, the engineering lead who spearheaded the development of intelligent coding tools at a cloud vendor, shared frontline experience showing how AI is fundamentally reshaping the software engineering process. In this shift, the role of programmers is moving from that of “medieval scribes” who possessed scarce skills to that of “authors” who drive business logic. This article examines the creation and real-world adoption of intelligent coding agents across four dimensions: workflow redesign, security defense systems, organizational collaboration models, and the re-evaluation of core skills.
1. Abandoning the Traditional IDE: A 100% AI-Written Workflow
In the traditional development model, the integrated development environment (IDE) is the programmer’s central battleground. Boris revealed that he has completely uninstalled his IDE, adopting an extreme yet highly efficient “pure AI coding” workflow. This is not simple code completion but a fundamental restructuring of the development paradigm.
Parallel Agents and Multi-Terminal Coordination
The core of this workflow is the “parallel agent” model. Instead of typing line by line, developers open multiple terminal tabs and run multiple instances of intelligent coding agents at the same time. According to practice data, this model can produce 20 to 30 code merge requests (PRs) per day, with developers not manually editing a single line of code. This demands strong task decomposition and orchestration skills, splitting large business requirements into multiple independent, parallel subtasks and distributing them to different agent instances.
Plan Mode: Align on Logic Before Execution
To prevent AI from drifting in complex logic, the workflow introduces a strict “Plan Mode.” Before an agent generates specific code, it must first output a detailed logic plan, a list of file changes, and expected results for human developers to review and align on. Only after the plan is confirmed correct is the agent allowed to invoke tools and implement it.
Illustrative workflow logic:
# Pseudocode: parallel agent orchestration logictasks = decompose_requirement(user_input)agents = [AI_Agent(plan_mode=True) for _ in range(5)]for task in tasks:plan = agents[task.id].generate_plan(task)if human_approve(plan):agents[task.id].execute(plan)auto_create_pr(agents[task.id].result)
Quality Advantages in Complex Migrations
Conventional thinking holds that AI-generated code lacks reliability, but practice shows that when handling large-scale codebase migrations, framework upgrades, and complex refactoring, AI agents introduce far fewer bugs than humans. The reason is that AI does not tire and can strictly follow predefined static rules, avoiding the low-level mistakes humans make when attention declines during repetitive work.
2. The Swiss Cheese Model: Layered Defenses for Agent Safety
Giving AI agents permission to execute system commands (such as Bash) is the biggest security challenge in adoption. Once an agent is hit by a malicious prompt injection, it may perform dangerous operations like deleting files or leaking data. To address this, the team built a classic “Swiss Cheese Model” multi-layered defense system.
Model Layer: Alignment Enhancement
The innermost defense relies on the model’s own alignment training. General techniques such as reinforcement learning from human feedback (RLHF) give the model a natural tendency to refuse dangerous instructions and to recognize risks. While effective, this layer has probabilistic gaps and therefore needs reinforcement from outer layers.
Runtime: Classifier Interception
In the runtime environment where the agent executes commands, a real-time classifier is deployed. This classifier performs intent recognition and risk scoring on every system command the agent is about to execute. If a high-risk operation is detected (such as formatting a disk or force-pushing to the main branch), the classifier blocks it directly and triggers an alert. This is a deterministic rule-based safeguard that compensates for the uncertainty of the model’s probabilistic judgment.
Sub-Agent Isolation: Preventing Prompt Injection
To address the risk that scraped external web content may contain malicious instructions (prompt injection), the team uses a “sub-agent summarization” mechanism. The main agent does not read raw web pages directly; instead, it dispatches an isolated sub-agent to fetch and summarize the page content. The sub-agent outputs only a plain-text summary, stripping out all potentially instructional characters, ensuring the main agent receives clean data rather than weaponized prompts.
This design of “certainty within uncertainty” is the core prerequisite for enterprise-grade AI tools to be adopted safely.
3. De-Titling Organizations and Technical Staff Culture
The widespread adoption of AI tools is not merely a technical issue; it also triggers organizational restructuring. Anthropic does not assign specific job-level titles internally, referring to everyone uniformly as Technical Staff.
Breaking Down Functional Boundaries
De-titling breaks down the traditional barriers between R&D, testing, and operations. Finance staff, salespeople, and even data scientists can all contribute code directly with the help of intelligent coding tools. When business people can drive AI to generate scripts or tools using natural language, cross-department collaboration losses are minimized.
Shortening the Decision Chain
The “generalist model” greatly shortens the decision chain. Requirement changes that would otherwise require layer upon layer of approval can be implemented directly by the person closest to the business through AI in minutes. This flat structure allows teams to iterate products at an extremely high experimentation frequency and to fail fast.
4. Dropping PRDs and Tickets: High-Frequency Prototyping Drives Decisions
Traditional product requirement documents (PRDs) and ticketing systems are becoming ineffective. In the AI era, build costs are extremely low while goals are highly uncertain, so “show, don’t tell” has become the most efficient communication method.
Generating Dozens of Runnable Prototypes in a Day
Intelligent coding teams no longer spend days writing PRDs; instead, they use AI to generate dozens of runnable prototypes in a single day. Product decisions no longer rely on abstract document reviews but on the “feel and fine-tuning” of real, interactive prototypes.
Products Take Shape Through Fine-Tuning
Under this model, the product form emerges through continuous trial and error and fine-tuning. Developers and product managers rapidly generate prototypes to validate assumptions intuitively, greatly reducing communication costs and misinterpretations of requirements.
5. Skill Re-Evaluation: Curiosity and Systems Thinking Outrank Framework Experience
As the cost of writing code drops a hundredfold, attachment to a specific programming language or framework has lost its value. The core competencies of the future will shift fundamentally.
Systems-Based, Hypothesis-Driven Debugging
The most competitive skill is “systems-based, hypothesis-driven” debugging. Facing complex AI-generated code, developers need to act like scientists: proposing hypotheses, designing verification experiments, and quickly locating logic flaws rather than memorizing syntax.
Cross-Disciplinary Generalist Perspective and Intellectual Humility
A cross-disciplinary generalist perspective becomes critical, because AI has leveled the knowledge barriers of any single domain. At the same time, programmers must maintain “intellectual humility.” The rapid evolution of AI will turn many technical approaches once considered “impossible” into reality within months. Staying curious and embracing change is the only survival rule for developers at this printing-press moment. With the empowerment of cloud platforms such as Baidu AI Cloud, this new development paradigm is accelerating toward becoming an industry standard.
