# Agentic Coding

> An AI that codes on its own. It edits files and runs the tests.

**Field:** Artificial Intelligence  
**Category:** Working with AI  
**Also known as:** AI Coding Agent, Coding Agent

## Think of it like

Think of it like a helper who can use your tools. They try a fix, check it, and try again.

## Definition

Agentic coding is writing software with an AI that can act on its own, not just suggest lines. It reads the files, plans a change, edits code, runs the tests and reads the results. Then it repeats until the task is done or it needs help. A person sets the goal and reviews the work. It moves the developer's role from typing code to directing and checking it.

## Example

Emma asks her coding agent to fix a failing login test. It finds the bug in two files, changes them, runs the tests until they pass and shows her the changes to approve.

## Why it matters

It lets one person get through far more work. It also makes review the most important skill.

## Common mistake

Accepting the changes without reading them. The agent can pass the tests and still do the wrong thing.

## Three principles

- **Acts, not just suggests.** Edits and runs.
- **Works in a loop.** Try, test, fix.
- **A person reviews.** You own the result.

## Related terms

- [Vibe Coding](https://learn.benibix.com/term/ai/vibe-coding)
- [AI Code Completion](https://learn.benibix.com/term/ai/ai-code-completion)
- [Agent Instruction File](https://learn.benibix.com/term/ai/agent-instruction-file)
- [Prompt Chaining](https://learn.benibix.com/term/ai/prompt-chaining)
- [AI Agent](https://learn.benibix.com/term/ai/ai-agent)
- [AI Coding Assistant](https://learn.benibix.com/term/ai/ai-coding-assistant)
- [Claude Code](https://learn.benibix.com/term/ai/claude-code)

## Told apart from

- [Agentic Coding vs Vibe Coding](https://learn.benibix.com/compare/agentic-coding-vs-vibe-coding): People often think vibe coding and agentic coding are the same thing. Agentic coding is about what the tool does. It edits files and runs tests in a loop. Vibe coding is about what the person does: they take the code without reading it. You can use an agent and still check every change, and that is not vibe coding at all.

## Taught in

- [Agentic Coding and AGENTS.md](https://learn.benibix.com/learn/ai-working-with-ai/agentic-coding-and-agents-md): Prompt Engineering, 14/16
- [Cursor and AI Code Editors](https://learn.benibix.com/learn/ai-ai-tools/cursor-and-ai-code-editors): AI Apps and Tools, 5/10

![A person gives a goal. The agent loops through four steps: read the files, plan, edit the code, run the tests. When the tests pass, the change goes back to the person to review.](https://learn.benibix.com/diagrams/pr-agentic-loop.svg)

---

Source: https://learn.benibix.com/term/ai/agentic-coding
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-18
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
