Coding Agents Compared: Claude Code, Codex, Copilot and Gemini CLI
A plain-language map of the four coding agents you will hear about: what a coding agent does, where each one lives, who makes it, how they really differ, who holds the key, and why review time is the hidden cost.
What you will learn
- Explain what makes a coding agent different from a chat assistant
- Name the three places a coding agent can live: terminal, code editor, cloud
- Place Claude Code, Codex, GitHub Copilot and Gemini CLI on one simple map
- Choose a permission setting on purpose and budget review time
Before you start
- Claude Code and Claude for Chrome: what they are
A coding agent is an AI helper that doesn't just answer questions about code. It opens the project, changes it, runs it and checks it. You'll hear four names again and again: Claude Code, Codex, GitHub Copilot and Gemini CLI.
This is a map of what each one is for, not an install guide. You don't need to code to follow it.
Directions on the phone, or a contractor with a key
Your kitchen tap is dripping. Option one: you call a friend, and they tell you what to do step by step. You hold the spanner and do every step yourself. Option two: you hire a contractor and give them a key. They open the cupboard, swap the part and turn the water back on to test it.
A chat assistant is the friend on the phone: it answers, you do the work. A coding agent is the contractor: it does the work, you approve it. You still decide which rooms the contractor may enter, and you inspect the job before you pay.
What a coding agent actually does
It works in a loop until the task is done.
Three places an agent can live
- The terminal: the plain command window. It works right inside your project folder, on your own machine.
- The code editor: the app developers write code in. The agent sits next to the file you have open.
- The web, or the cloud: the agent works on a copy of the project on someone else's computer, and hands back a proposed change called a pull request for a person to review.
Terminal and editor agents work on your machine. Cloud agents work on a copy and send back a change.
The four on one map
Each has a home, and each now reaches other places too.
| Agent | Made by | Home | Also reaches |
|---|---|---|---|
| Claude Code | Anthropic | The terminal | Code editors, a desktop app, the web |
| Codex | OpenAI | The terminal and the cloud | Code editors, ChatGPT on the web |
| GitHub Copilot | GitHub | The code editor | GitHub itself: hand it a task, get a pull request |
| Gemini CLI | The terminal | Open source |
GitHub Copilot is not the same product as Microsoft 365 Copilot in Word and Excel. These products change fast, so check each one's docs for what it supports today. For a closer look at Codex, see Codex explained; for Claude Code next to Claude's other surfaces, see Claude Code and Claude for Chrome.
How they really differ
Not "which one is smartest". Ask four plain questions instead:
- Where does it run? Your terminal, your editor, or a cloud copy of the project.
- What can it touch? Only the files you open, the whole project folder, or your commands and tests too.
- How does it ask permission? Before every change, or only before the risky ones.
- What does it fit into? The tools and plans your team already uses, like GitHub, Google, Claude or ChatGPT.
Two agents can write very similar code. What feels different is the workflow around it.
Who holds the key?
Every coding agent has a permission model. The common settings, from careful to free:
- Ask every time: every edit and every command waits for your yes.
- Allow a list: safe actions, say running the tests, run on their own. Anything else still asks.
- Plan only: read-only. It looks and plans, but changes nothing.
- Work alone in a box: a sandbox, a closed space, often a cloud copy. It works freely in there and hands back the change.
Start careful. Give more freedom only where a mistake is cheap to undo.
The hidden cost: review time
You ask for one clear task, the agent works through its loop fast, then somebody has to read every changed line and decide: keep it or undo it. A small task means a few files and a quick, clear yes or no. A huge task means dozens of files, a long read, and an easy place to miss a mistake.
The agent's speed is cheap. Your attention is the real budget.
Common mistakes
- Picking by "smartest" instead of where it runs and how it asks.
- Starting with the freest setting.
- Handing over a huge task you can't realistically review.
Recap
| Idea | In one line |
|---|---|
| What it is | An AI that reads, plans, edits, runs and checks, in a loop |
| Where it lives | Terminal, code editor or cloud |
| How they differ | Where it runs, what it touches, how it asks, what it fits into |
| Permissions | Ask every time, allow a list, plan only, sandbox |
| Hidden cost | Your review time |
Try it yourself
- Pick one small task, like a typo or one short function.
- Write the ask in one sentence: what to change and how you'll know it worked.
- Decide the key: which files may it touch, and which commands may it run without asking?
Related course on Udemy
Understand AI and Get the Boring Stuff Done
Use Claude, ChatGPT, Gemini and NotebookLM for everyday work, safely.View on Udemy ↗: Understand AI and Get the Boring Stuff Done (paid course, opens in a new tab)Related posts
Claude.ai Interface Tour: Every Control You Need on One Screen
Sign in to claude.ai and learn the one screen you'll use for everything: the chat box, the model selector, the sidebar with chats and Projects, the attach and tools row, the Artifacts panel and Settings.
The AI Fluency Model: Delegation, Description, Discernment and Diligence
Most people pick up AI skills in a random order. The AI Fluency Model builds them in sequence: Delegation (what to hand off), Description (asking well), Discernment (judging the output) and Diligence (using it responsibly).
Working With Claude: Pick the Surface, Match the Model, Keep the Context Clear
Three questions every time you use Claude: where do I use it, which model fits, and how do I keep it sharp? Learn the five surfaces, the four model tiers and the context window, with three habits that keep the board clear.
Claude's Four Entry Points: Choose Chat, Projects, Artifacts or Research Before You Type
Before you type, pick the room: Chat for a quick word, Projects for recurring work with your files, Artifacts for a deliverable you'll edit and keep, Research for a deep, cited dig. A decision guide with links to each deep dive.
