GLOSSARY

Coding agent

A coding agent is an AI tool that reads your code, edits files and runs commands to finish a task. Definition, an example, and how permissions fit in.

Short answer

A coding agent is an AI tool that works on a codebase by itself in a loop, reading files, editing code and running commands until a task is done, rather than only suggesting text. Claude Code and Codex are coding agents. Because they act on your machine, they ask for permission before risky actions.

A coding agent is an AI tool that completes programming tasks by taking actions on a codebase, such as reading files, editing code and running shell commands, in a loop until the task is done. The difference from autocomplete or a chat assistant is that the agent acts: it decides which file to open next, runs the tests, reads the failure and tries a fix.

Anthropic describes Claude Code as "an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools." OpenAI's Codex works the same way and is available as a CLI, an IDE extension and a cloud service.

How does a coding agent work?

A coding agent pairs a language model with a set of tools. The model reads your request, picks a tool (read a file, search, edit, run a command), looks at the result, and picks the next step.

The tools are what make the agent useful and what make it risky. An agent that can run npm test can also run rm or git push, so coding agents have controls on top:

  • Permission prompts: the agent asks before running commands or editing files. See permission prompt.
  • Sandboxes: the operating system limits what commands can touch. See agent sandbox.
  • Hooks: your own scripts run at fixed points, for example before a tool call. See agent hooks.

Example

You ask Claude Code: "add input validation to the signup form and make the tests pass". The agent searches for the form component, reads it, edits the file, then asks to run npm test. You approve. Two tests fail; the agent reads the output, edits the validation logic, asks to run the tests again, and reports when they pass. You review the diff before committing.

cd my-app
claude "add input validation to the signup form and make the tests pass"

Coding agents vs other AI coding tools

Why it matters

Because a coding agent acts on your machine, the main questions are about control: which actions it may take alone, which need approval, and how you notice when it is waiting. Tools like Allowbar, a Mac menu bar app, show which Claude Code and Codex sessions are waiting and let you answer their prompts without switching to the terminal.

Sources

Frequently asked questions

Is Claude Code a coding agent?

Yes. Claude Code reads your codebase, edits files, runs commands and integrates with development tools, in the terminal, IDE extensions, a desktop app and the browser.

Is a coding agent safe to run on my machine?

It is as safe as the permissions you give it. Keep permission prompts on for risky commands, use allow rules for routine ones, and run fully unattended modes only in containers or VMs.

Can I run several coding agents at once?

Yes. You can run several Claude Code or Codex sessions in separate terminals or worktrees. The challenge is noticing which one needs you; see running multiple sessions.

ALLOWBAR FOR MAC

Answer your agents from the menu bar.

Permission requests from Claude Code and Codex slide down from the top of your screen. Allow, Block or send back to the terminal. Allowbar never approves anything on its own.

Launch price $9.99 instead of $29.90, one-time purchase, lifetime license.