Open the WaytoAGI knowledge base on Feishu · 100M+ visits, open to everyone →
WaytoAGI

Knowledge Base · Learning paths

Andrew Ng: AI Engineering Skill Map - Using Coding Agents

Andrew Ng outlines the core AI engineering skills for effectively using coding agents. The high-level workflow includes three key phases: Planning, Execution, and Deployment & Monitoring. Mastering prompt orchestration, autonomy implementation, output review, environment customization, and foundational principles can dramatically boost development efficiency. This skill area is evolving rapidly, requiring continuous experimentation and iteration.

Andrew NgAI engineeringcoding agentsAI agentsAI workflow

Translated from Chinese by AI. Spotted an issue? Use the feedback button.

🔗 Original link: AI Engineering Skills Map: Using coding agents

Andrew Ng · X · @AndrewYNg · 2026-09-04 23:02

📌 This article is reposted. All copyrights belong to the original author. Please refer to the original link for the full text.

A key AI engineering skill is using coding agents. Your ability to harness them to write code and perform non-coding tasks (such as data analysis or system operations and maintenance) will allow you to accomplish significantly more.

The rapid pace at which coding agents are evolving means this skill is also changing quickly — faster than any other top-tier AI engineering skill. Both proprietary agents (such as Claude Code, Codex, and Cursor) and open-source agents (such as OpenCode and Pi) are making major leaps through dual improvements in harnesses and underlying models. Therefore, keeping up with how to use coding agents requires an ongoing process of experimentation, building, and learning.

After interviewing dozens of top AI engineers and reflecting on our own team’s experience using coding agents, we identified a consistent high-level workflow for building software with them. The key steps are:

  • Planning. This includes (i) brainstorming, which may involve research, experimentation, and understanding the existing codebase (if any), and (ii) writing a specification that covers requirements, technical design, and architecture, followed by generating an execution plan. You may also review the plan to challenge key assumptions and check for security, over-engineering, and other gaps.

  • Execution, where you build, test, and validate while striking the right balance between agent autonomy and human oversight. This involves (i) letting the agent build the software and calibrating the appropriate level of agent autonomy, and (ii) verifying its output through automated or manual checks.

  • Deployment & Monitoring, where you (i) deploy the software, potentially gated by CI/CD pipelines or additional human approval gates, and (ii) use agents to monitor logs, detect and report issues, and propose and implement improvements.

This high-level workflow is similar to the one typically used to build software before coding agents existed. The difference now is that we focus less on the code itself and more on deciding what to build, designing the architecture, writing specifications, and validating the output.

The duration of each step can vary significantly across projects, and some steps can be skipped. For example, the specification for a greenfield (built from scratch) prototype might be roughly described in a quickly written prompt, whereas the specification for a brownfield (existing) project with many users may require far more effort to write and validate. In addition, the workflow is highly iterative. Skilled developers know when feedback from later steps should guide them back to earlier ones. For instance, if validation fails, they know how to direct the agent to rebuild and fix the errors; or if monitoring reveals issues, they know how to have the agent update the system and redeploy.

To use coding agents effectively within this workflow, the core skills are:

  • Steering the workflow
  • Implementing agent autonomy
  • Reviewing work products
  • Customizing agents and their environment
  • Coding agent fundamentals

Steering the workflow. You know how to navigate every step of the workflow above. This involves deciding how much human and agent effort to invest at each stage, and when to loop back to earlier steps for iteration. It requires a deep understanding of the trade-offs between speed, cost, technical risk, and human effort, enabling you to decide how much research and planning to invest upfront, when to retain human ownership of critical work, how to choose architectures, how much detail to write into planning artifacts (such as specifications), and how to break work down into verifiable steps.

Implementing agent autonomy. When applying coding agents to steps in the workflow, you choose the appropriate level of autonomy: do you observe it and engage in interactive back-and-forth, or delegate larger chunks of work to it? And when do you set clear goals and let it loop until it succeeds? In addition, you must carefully manage the agent’s context. As the build process moves through different phases, you will calibrate when to ensure that key learnings, user feedback, and assumptions — including those that change mid-build — are captured for the agent to use later. You will also decide when to spin up multiple agents in parallel to break down tasks — orchestrated by a human or a higher-level agent — and how to manage human attention across concurrent agent sessions. You also know how to run agents safely, setting appropriate permissions and operational guardrails so that development can move quickly while limiting the risk of leaks, data loss, or other harm.

Reviewing work products. The output of coding agents is non-deterministic. We don’t know in advance what good ideas it might propose or what mistakes it might make. Reviewing and validating the output is a critical step to ensure you get the desired result — and to redirect the agent if you don’t. You will design tests and validation that match the task, applying behavioral and functional verification as needed. You may also test user flows, perhaps asking the agent to provide screenshots as evidence of success or failure. For qualitative/behavioral evaluation, you can use evaluation sets, potentially with an LLM acting as a judge.

Deciding How Much to Automate in Testing. You also need to decide how much of these tests should be automated. Some workflows fully automate all tests and validation so the AI agent can self-inspect its work and know when it has successfully completed a task. You must evaluate these tests to ensure they align with your goals, and improve them if they don’t. In addition, you leverage AI agents for code review and run AI-driven security and architecture audits. When AI review is insufficient, you selectively insert human review into code behavior (and occasionally the code itself), while exploring ways to further automate this process. Finally, you validate deployments and can operationalize monitoring and incident management using AI agents.

Customizing Agents and Their Environment. Your ability to update both the AI agent and its working environment allows your agents to efficiently acquire the necessary context, access the right tools, and build correctly and effectively. You know how to integrate agent skills, plugins, and MCP servers. Occasionally, you prune them when they are no longer needed (for example, when a new model renders an old skill obsolete). You can use hooks to automate repetitive parts of the development process, such as triggering automatic code reviews or CI/CD pipelines. You also maintain the environment in which the agent works: updating persistent context files (such as AGENTS.md or CLAUDE.md), supplementing them with codebase information, key architectural assumptions, code style guidelines, and data access patterns. You know how to maintain state across multiple sessions and parallel agents, and how to accumulate the agent’s learnings over time—perhaps by running post-mortems to capture what worked and what didn’t. You also know how to establish consistent conventions and structure so that your codebase is easy for agents to navigate, and how to occasionally clean up the technical debt that agents inevitably create. When working in a team, you also consider how to coordinate context across different developers’ agents.

Understanding the Foundations of Coding Agents. Finally, to make good decisions at a global level, you need a deep understanding of how coding agents actually work: how they perform codebase search and retrieval, how they manage their context windows, how different operations (such as adding tool calls, MCP servers, etc.) affect context, how agents and sub-agents interact with each other, and how agents are constructed by wrapping a harness around an LLM. This demystifies the agent, helping you identify failure modes such as over-engineering simple solutions, loss of rigor due to the absence of clear verification processes, stopping before the goal is truly met, or the risk that agent actions might corrupt files or production data. It also helps you reason about the agent’s state and guide it effectively by providing the right instructions or context. During monitoring of runs, this understanding allows you to better detect when an agent has gone off track and needs your intervention.

I’ve noticed that social media often offers overly simplistic descriptions of how to use coding agents. Sometimes it is indeed useful to let an agent run autonomously for hours, consuming millions or even tens of millions of tokens. However, the practical utility of such ultra-long-horizon tasks—especially relative to their cost—has currently been exaggerated far beyond reality. In contrast, the most effective use of coding agents is a sophisticated, highly iterative process where high-quality judgment and timely intervention lead to significantly better outcomes.

Your skill in using coding agents will make you a highly effective builder. It also gives you the ability to guide the overall building process. I will elaborate more on this in future articles.