No results for “{{ query }}”. Try a shorter or more general term.
The structure spectrum Approach 03
The agent plans, edits, runs tests and iterates. The human sets goals and reviews.
Also called: Agentic engineering, coding agents
A coding agent takes a scoped task, reads the codebase, makes multi-file changes, runs commands and tests, and iterates until it believes the task is done. The human sets the goal, supplies context and conventions, approves risky actions and reviews the diff before it merges.
Karpathy later preferred "agentic engineering" as the framing for serious work, as distinct from vibe coding.
Agents that could edit code and run tests appeared in research first, including Princeton’s SWE-agent and Cognition’s Devin in 2024. Terminal-based agents such as Claude Code, OpenAI Codex and Gemini CLI followed in 2025 and brought the approach into everyday use.
Karpathy proposed “agentic engineering” in February 2026 and set out the idea at Sequoia’s AI Ascent in April. Others, including Simon Willison and Addy Osmani, had used the phrase earlier.
Steps 2–4 repeat inside one task.
Typical tools: Claude Code, OpenAI Codex, Gemini CLI, Cursor agent mode, GitHub Copilot coding agent.
Solid: AI does core work · Hatched: partial or informal · Dashed: done by people. Compare all approaches
Good for: Multi-step internal features with a mostly clear goal
Where it runs: A terminal or editor agent (Claude Code, Codex, Cursor) working in a repository with tests.
Instructions make violations rare. Enforced checks make them close to impossible. Policy written into the agent’s instructions is advisory; nothing forces a session to follow it. Any rule that must always hold, such as keeping regulated data out of logs or never touching production credentials, needs a check that runs on every action and blocks it, set centrally where individual builders can’t switch it off.
Think in guides and sensors. A useful way to plan these controls: guides steer the agent before it acts (instructions, a security rules file, templates), and sensors check its output afterwards (tests, linters, secret and vulnerability scans). Each can be deterministic or AI-judged. Put the rules you can’t afford to break in deterministic sensors, because a guide can be argued around. In one team’s project, the AI suggested making a storage bucket public and giving a service account far broader rights than needed; a person caught both, but a scan should have (Koul et al., 2026).
The agent can’t approve its own work. Separation of duties survives automation: whatever the agent writes reaches the main code only through review and a named human approver. Let autonomy rise by environment. In a test environment the agent can deploy freely; in production it prepares the release and a named person authorizes it.
Keep a short project file the agent reads every session. It holds the build and test commands, the conventions that matter and the mistakes the agent keeps making. When the agent makes the same mistake twice, the fix goes in the file. Keep it under a page and in version control. It doubles as the handoff note a successor needs, which reduces orphaned tools.
The agent sees only what its user may see. Agents work better with context such as tickets, documentation and past decisions, but connecting that context must respect existing permissions. Enforce access where the data lives, so an agent acting for a person can reach exactly what that person could, and no student or personnel record more. See data levels.
Adapted from two vendor practitioner guides: the AI-native SDLC playbook and the AI SDLC transformation playbook.
Asynchronous agents
Background agents such as GitHub Copilot coding agent, Claude Code on the web and Codex work without a live session. Someone assigns an issue, the agent works in a cloud sandbox, and a pull request arrives later. The issue tracker becomes the interface, and review becomes the main human job.
Across more than 456,000 agent pull requests on GitHub, agents submitted quickly but were accepted less often than people, which the authors call a trust and utility gap. [cite]