How Far Are AI Coding Tools from Taking Over Development Work
This article examines why AI coding tools still struggle to fully take over development tasks, especially those involving web interface automation. It explains the shift from screen-scraping and screenshot recognition toward declarative page capabilities, where pages expose structured, typed tools that agents can call directly. The article covers the engineering benefits in determinism, context cost, permission boundaries, and maintainability, along with practical challenges around ecosystem coverage, contract design, and security. It concludes that human involvement remains essential for requirements, architecture, debugging, and acceptance, while structured interfaces can significantly raise automation success rates.
1. Where the Problem Starts: Why Smart Coding Tools Cannot Take Over the UI
Over the past two years, smart coding tools have matured quickly at code generation, refactoring, and unit test completion. That progress has fueled a heated community debate: can AI take over 100% of programming work? To answer that, we need to break “programming work” apart. For pure logic and algorithm implementation, tools already cover a substantial share. But once a task interacts with a real runtime environment—especially operating a web interface—the success rate drops sharply. The reason is not model capability; it is that the environment does not provide agents with a standardized, stable interaction channel.
Traditional automation reads the rendered raw markup and then guesses which node is clickable and which input box accepts text. When a page is generated dynamically by scripts, the node hierarchy is deep and semantics are weak, so guessing becomes far more costly. Adding periodic screenshot recognition introduces three burdens at once: recognition error, response latency, and context consumption. The result is a long pipeline, poor stability, and a high cost per task. In other words, the bottleneck is the lack of observability and operability, not a lack of intelligence.
2. A Shift in Approach: Let Pages Expose Structured Capabilities
Recent technical progress points to a directional answer: page developers use a lightweight script to declare the set of operations the current page is willing to expose, including operation name, semantic description, input constraints, and execution logic. The host environment registers and dispatches them at runtime. The agent no longer “reads code and guesses buttons”; it calls page capabilities like local functions.
This pattern shares the same origin as the tool-calling protocols long used in the industry: the model side faces only a set of typed tool definitions and returns structured results. The difference is that the tool definition moves from the server side forward into the page itself, making the page the capability provider. You can think of it as a restaurant menu: dishes, flavors, and portions are all written down, so ordering requires no trip to the kitchen. Or think of a device remote control: buttons are fixed and semantics are clear, with no need to open the case and study the circuit.
The illustrative code below only shows the general shape of declarative registration:
// Declare a page capability that an agent can callawait document.modelContext.registerTool({name: 'add_item',description: 'Append a new record to the end of the current list',inputSchema: {type: 'object',properties: { text: { type: 'string', description: 'record content' } },required: ['text']},execute: async ({ text }) => {appendItem(text);return { success: true, message: `Added: ${text}` };}});
3. Engineering Value: Stability, Cost, and Maintainability
First, determinism improves substantially. Inputs are schema-validated, returns have a clear structure, and failures can be attributed, so the agent does not need to probe repeatedly. Second, context overhead drops. There is no need to stuff an entire node tree or a stream of screenshots into the context, so token consumption and response latency converge together. Third, permission boundaries are clear. Which operations can be exposed and whether a second confirmation is required are declared explicitly by the page side, and security policies can be audited. Fourth, frontend and backend decoupling becomes more thorough. As long as the tool contract stays unchanged, a UI redesign does not require rewriting the automation pipeline.
For developers, this also means responsibilities move forward: designing interaction semantics becomes part of the frontend deliverable, as important as API documentation.
4. Implementation Challenges and Realistic Boundaries
Three points need a clear-eyed view. First, ecosystem coverage takes time; existing sites will not automatically gain this capability, so traditional methods still need to serve as a fallback in the short term. Second, contract design quality determines success or failure; vague descriptions and poorly chosen granularity will lead agents to misuse tools. Third, security and compliance cannot be avoided; exposing write operations must be paired with identity verification, operation confirmation, and log auditing to prevent privilege abuse and accidental triggers.
Therefore, “taking over 100% of all programming work” sounds more like marketing than an engineering conclusion. A more accurate judgment is that requirements clarification, architecture trade-offs, fault localization, and result acceptance still depend heavily on people. Meanwhile, when the environment provides structured interfaces, the deliverable share of UI automation tasks will rise noticeably. Baidu AI Cloud’s general practices in agent development, model services, and observability also confirm the same path—standardize the tool contract first, then talk about automation at scale.
The advice for developers is to pilot declarative page capabilities in your own projects first, starting with small, well-defined read-only queries, then gradually opening controlled write operations, and pairing them with monitoring, alerting, and call auditing to form a sustainable human-AI collaboration workflow.
