Agentic Coding in Practice: Shifting from Writing Code to Being a Builder
This article explores how AI agentic coding transforms software development from manual coding to AI-driven execution. It covers multi-threaded parallel agent workflows, a strict plan-first methodology, the evolution of software engineers into "builders," and practical guidelines with risk mitigation for teams adopting this paradigm.
1. Background: When AI Takes Over the Keyboard
Over the past two years, AI-assisted programming has evolved from completing a single line of code to independently executing entire tasks. A group of practitioners has emerged who have radically changed their workflows: nearly 100% of their code is generated by AI, while they step back into the roles of “planners, reviewers, and system designers.” This approach, known as Agentic Coding, is not merely a tool usage trick but a reconstruction of software engineering methodologies.
A widely discussed benchmark case involves a core developer of an AI coding tool who fully adopted AI-generated code starting in late 2024, averaging 10 to 30 pull requests per day. For traditional development workflows, this volume is almost unimaginable. It is driven not simply by “AI writing fast,” but by a rigorously designed workflow. This article breaks down the core elements of this methodology.
2. Multi-threaded Parallelism: From Single Sessions to Fleet Operations
2.1 The Basic Form of Parallelism
A typical scenario in traditional AI-assisted programming involves a developer opening a single chat window in an editor and asking questions one by one. In contrast, agentic coding practitioners simultaneously launch multiple terminals and multiple web instances. A common configuration is 5 terminals plus 5 to 10 parallel sessions, with each session handling an independent task.
The essence of this model is transforming “serial development” into “parallel scheduling”:
- Task Splitting: A requirement is decomposed into several mutually independent sub-tasks, which are assigned to different agent sessions.
- Context Isolation: Each session only loads the code context relevant to its task, preventing the context window from being polluted by irrelevant information, thereby reducing costs and improving generation quality.
- Human-Focused Review: Developers no longer write line by line. Instead, they take turns reviewing the changes produced by each session, focusing their energy on architectural correctness and boundary conditions.
2.2 Nighttime Agents: Turning Time into a Resource
A more advanced practice involves letting agents run automatically overnight. Practitioners have publicly shared workflows where they launch 5 to 10 agent sessions via their phones before sleeping. Using loop and routine features, they let the AI continuously process low-risk tasks such as code refactoring, test supplementation, and documentation generation during the night, verifying the results one by one the next morning.
This model requires tasks to have two characteristics: verifiability (backed by comprehensive tests and CI) and a low blast radius (failures will not pollute the main branch). This is why nighttime automation typically starts with tasks like “adding tests, updating docs, and small-scale refactoring” rather than letting the AI independently develop core features.
3. “When the Plan is Correct, the Code is Naturally Correct”
This is one of the core engineering philosophies of the agentic coding era. Its logical chain is:
- The quality of code generated by an LLM is highly dependent on the precision of the task description;
- A sufficiently detailed plan with clear boundaries and explicit acceptance criteria is itself the strongest “prompt”;
- Therefore, an engineer’s value shifts from “implementation details” to “formulating plans.”
In practice, this means that before assigning a task to an agent, you should produce a structured task specification, for example:
## Task: Add Idempotent Submission to the Order Module### BackgroundThe current interface generates duplicate orders when the client retries.### Requirements- Use the request ID as the idempotent key. The storage layer must use records with unique constraints.- For duplicate requests, return the original result with a 200 status code.### Acceptance Criteria- Unit tests cover three scenarios: initial submission, duplicate submission, and concurrent submission.- All existing tests must pass.### Prohibitions- Do not modify code related to payment callbacks.
The more specific the description, the more controllable the AI’s output. Conversely, a vague prompt like “help me optimize this module” will almost certainly yield unusable results. This also explains why practitioners in the field pair this with a todo list mechanism: the agent first lists an execution plan, the human confirms it, and then it executes. This uses “plan review” as the first gate for quality control.
4. Role Evolution: Software Engineers are Becoming “Builders”
A notable industry prediction is that the job title of “Software Engineer” may gradually disappear, replaced by a broader role like “Builder.”
The logic behind this prediction is worth serious consideration:
- Lower Implementation Barrier: As AI can complete most of the coding, the ability to write code is no longer a scarce skill. Those who can define problems, decompose systems, and evaluate trade-offs become the bottleneck resource.
- Blurred Role Boundaries: Practitioners in product, design, data, and operations are all leveraging agents to build software directly, diluting the line between “engineers” and “non-engineers.”
- Shifting Capability Focus: Code review skills, system design, task planning, and critical judgment of AI outputs are becoming the new core competencies.
It should be emphasized that this is not “engineer depreciation,” but rather an amplification of an engineer’s leverage. A person skilled at orchestrating agents can accomplish the output of what previously required a small team.
5. Implementation Advice and Risk Mitigation
For developers looking to introduce this model within their teams, the following path is recommended:
- Build Guardrails Before Automation: Comprehensive test coverage, code review processes, and CI/CD pipelines are prerequisites for agentic coding. Automation without guardrails simply amplifies risk.
- Start with Small Tasks: Initially let agents handle adding tests, upgrading dependencies, and small-scale refactoring to build your judgment regarding AI output quality.
- Insist on Plan-First: Treat the quality of your task descriptions as a first-class citizen. Invest time in clearly defining acceptance criteria.
- Control Parallelism: The number of parallel sessions should match your review capacity. Unreviewed output is more dangerous than no output at all. This is the warning that source code manipulation and repository deletion incidents have given the industry: the higher the degree of automation, the stricter the operational standards and access controls must be.
6. Conclusion
Agentic coding is not a lazy trick to “let AI write code for you,” but an upgrade in engineering methodology: humans are responsible for thinking, planning, and judging, while AI is responsible for execution and iteration. When “the plan is correct, the code is naturally correct” becomes a consensus, the center of software engineering shifts from syntax and implementation to architecture and decision-making. For developers, the most worthwhile investments right now are exactly the capabilities that AI cannot easily replace in the short term: defining the right problems and designing the right systems.
