CHAPTER 1 / 8
From autocomplete to coding agents
The important change in AI development tools is not sentence length but the growing scope in which they observe, act, and re-verify on their own.
Why this concept became necessary
Early code completion looked at the current line and nearby files to suggest the next token or code block. Because people chose and executed the suggestions, the tool had little authority, but it could produce plausible code without knowing repository-wide rules or actual test results.
Interactive tools produced explanations and proposed changes across multiple files, while coding agents connect search, edits, shell execution, and reading test results in a loop. Quality now depends less on a single answer than on correctly repeating observation→hypothesis→small change→verification.
The broader the scope of action, the greater the impact of failure. Read-only investigation, source changes, package installation, and deployment each require different approvals and rollback plans, and an agent's ability to do something is not by itself grounds for granting execution permission.
The important change in AI development tools is not sentence length but the growing scope in which they observe, act, and re-verify on their own.
Tool results feed back into the next model input, creating a feedback loop that repeats until the termination condition is met.
Separate the same task into a suggestion-only mode and a file-editing/test mode, then tabulate the possible side effects.
Follow it through a concrete system
Autocomplete suggests the next few lines of the function a developer is viewing, while a coding agent can receive a goal, locate relevant files, run tests, and select the next change based on failures. Even with the same model, connecting read, write, and execution tools changes the system's responsibilities and risks. Package installation and deployment, in particular, affect much broader external state than source-code suggestions.
For small bug fixes, an effective loop is to reproduce the failure first, read the relevant contract, make a minimal diff, and then re-verify with the same command. Conversely, giving an agent write access to the entire repository while the goal is ambiguous lets it redefine on its own what counts as done. The higher the level of automation, the more specific the acceptance criterion, stop conditions, and reversible units of change must be.
Selection criteria and failure boundaries
As the scope of automation grows, so do costs and the risks of incorrect changes, secret exposure, and external side effects.
Misconceptions to avoid: Describing an agent as merely a chatbot that gives longer answers misses the difference in control flow.
Verify it yourself
Separate the same task into a suggestion-only mode and a file-editing/test mode, then tabulate the possible side effects.
Official sources for this chapter
The technical facts in the text were reviewed against the following primary sources. The author reconstructed the diagrams and comparisons using these materials.
- Anthropic, 「Building Effective Agents」Review date 2026-08-28 · Scope Latest official documentation
- Anthropic, 「Effective Context Engineering for AI Agents」Review date 2026-08-28 · Scope Latest official documentation