# AI Coding Assistant vs Coding Agent: What Each Can Change

> Canonical: https://skillalmanac.com/learn/ai-coding-assistant-vs-coding-agent | Updated: 2026-11-26 | Index status: index-eligible

Autocomplete suggests, chat answers, and an agent edits files and runs commands. Compare what each may change and which approval gates apply.

## Facts

- 2026-11-26: Claude Code reads the codebase, edits files and runs commands, and runs in the terminal, IDE, desktop app and web (https://code.claude.com/docs/en/overview)
- 2026-11-26: In Claude Code's Manual mode, reads inside the working directory need no approval, Bash commands need approval except a built-in set of read-only commands, and file edits need approval except files such as its own plan and auto memory files (https://code.claude.com/docs/en/permissions)
- 2026-11-26: Claude Code's file-edit approval can last until the session ends; a Bash 'don't ask again' choice is saved per repository and command (https://code.claude.com/docs/en/permissions)
- 2026-11-26: With Claude Code v2.1.283 or later, auto mode is the starting permission mode for interactive terminal and VS Code sessions; in auto mode a second model, the classifier, reviews actions instead of the user (https://code.claude.com/docs/en/permission-modes)
- 2026-11-26: Claude Code hooks run shell commands before or after its actions, for example formatting after each edit (https://code.claude.com/docs/en/overview)
- 2026-11-26: Claude Code hooks can be defined in a project's .claude/settings.json, which can be committed to the repository, and the /hooks command lists configured hooks (https://code.claude.com/docs/en/hooks)

An AI coding assistant is a tool that suggests code or answers questions, while a coding agent also edits files, runs commands and checks its own results. The practical difference is what the tool is allowed to change, and who approves each change.

## Three modes, compared by what they may change

Autocomplete proposes text at the cursor and changes nothing until you accept it. Chat answers a question about code you paste or select, and you apply the result yourself. An agent takes a goal, reads the project, edits several files, runs commands and iterates on failures. Each step up the scale adds one more thing that can alter your working tree.

Ask "what can this mode write or execute without my click?" to sort any tool.

## How an agent's approval gates work: Claude Code as a worked example

Claude Code's permission docs split actions by risk. In Manual mode, reads inside the working directory need no approval, Bash commands need it except for a built-in list of read-only commands, and file edits need it except for files such as Claude Code's own plan and auto memory files. As of 2026-11-26 the permission-modes page says that with Claude Code v2.1.283 or later, auto mode is the starting mode for interactive terminal and VS Code sessions, so check which mode your session is in before relying on the prompts below. File-edit approval can be granted for the rest of a session, while a Bash approval you mark "don't ask again" is stored for that repository and command.

A worked example in Manual mode: you ask Claude Code to fix a failing test. It reads the test file and source without asking. When it wants to edit the source, it asks once, and you approve for the session. When it runs the test command, that command needs its own approval unless it is on the read-only list. If you then add a hook that runs your formatter after each edit, that formatter runs automatically, so an edit can trigger a second change you did not review line by line.

Claude Code also has an auto mode, where a second model, the classifier, reviews actions instead of you. That shifts trust from each click to the classifier's rules, and the permission-modes page says it is not a safety assurance. Check which mode is active, and switch to a mode that asks before commands on a repository with production credentials.

## Choosing a mode

Decision rule: choose autocomplete when you want to type faster and review every token. Choose chat when you want an explanation or a single function drafted for review. Choose an agent when the task spans several files and includes commands you can verify afterward, and keep approval on for shell commands until you trust the repository's setup.

## Pitfalls

1. **Approval fatigue.** Clicking "yes" on every prompt trains you to skip reading. Limit "don't ask again" to commands you have read, such as a fixed test runner, and review the diff before commit.
2. **Hidden side effects.** Hooks and project scripts run as part of an edit. Notice this by checking the project's .claude/settings.json and the /hooks list after you pull a new repository, and remove any you do not recognize.
3. **Agent edits outside the task.** An agent may touch config or lockfiles while fixing a bug. Notice this in `git status` before committing, and revert unrelated files.
4. **Stale instructions.** A CLAUDE.md file or rule file from an old branch can steer the agent wrong. Check its date and contents at the start of each session.
5. **Trusting auto mode on sensitive repos.** Classifier review is not a human review. Notice this when a repo holds deployment keys, and keep manual approval there.

## When to use a skill instead

Ad-hoc prompting suits a one-time question. A reusable skill helps when the same review steps repeat. One related skill on this site is [reviewing-code-changes](/skills/skill-almanac/reviewing-code-changes), which reviews a diff or pull request for defects that matter, such as broken callers outside the diff, weakened tests and unsafe migrations. Use it after an agent produces changes, so a second pass checks what the first pass did. It does not replace the approval settings described above, and it adds nothing if you have not yet made a change to review.

## FAQ

**Is a skill the same as an agent?**
No. An agent is a running tool that acts on your project. A skill is a packaged set of instructions an agent can load for a repeatable workflow. Skills describe the task; the agent does it.

**How do agent skills differ from MCP servers?**
MCP is an open standard for connecting AI tools to outside data sources, such as a ticket tracker or a document store. Skills package a workflow as instructions. Use MCP when the agent needs access to a system, and a skill when it needs a method.

**Does an agent need approval to read my files?**
In Claude Code's Manual mode, reads inside the working directory do not need approval, while edits and most shell commands do; in auto mode a classifier decides instead of you. Check the permission settings in your tool, because other products set their own defaults.

## Related skills

- [reviewing-code-changes](https://skillalmanac.com/skills/skill-almanac/reviewing-code-changes.md): Platform Score 47/100 (provisional)

## Related guides

- [Agentic Coding Tools: What They Are and How to Choose One](https://skillalmanac.com/learn/choosing-an-agentic-coding-tool.md)
- [Claude Code first session: a plan, edit, review loop](https://skillalmanac.com/learn/claude-code-first-session-workflow.md)
- [Write a Bash Script with an AI Agent: Prompt, Lint, Run](https://skillalmanac.com/learn/write-a-bash-script-with-an-ai-agent.md)
- [Terminal AI Coding Assistants: Claude Code, Codex, and Gemini CLI](https://skillalmanac.com/learn/terminal-ai-coding-assistants.md)

## Sources

- https://code.claude.com/docs/en/overview
- https://code.claude.com/docs/en/permissions
- https://code.claude.com/docs/en/permission-modes
- https://code.claude.com/docs/en/hooks
- https://code.claude.com/docs/en/skills

Platform Scores report our assessment under a published method. They are not a safety guarantee.
