Agentic Coding Tools: What They Are and How to Choose One
What an agentic coding tool is, how Claude Code, Codex CLI, Gemini CLI, Cursor and Copilot CLI differ, and five tests to pick one in your repo.
Updated · Markdown version
Short answer
An agentic coding tool is a program that takes a goal, reads your codebase, edits files and runs commands itself, instead of returning one suggestion for you to paste. Checked 2026-11-26, this guide compares Claude Code, Codex CLI, Gemini CLI, Cursor and GitHub Copilot CLI, and each documents these abilities in its own words. Choose by testing five things in your own repository: where it runs, how it asks before acting, which instruction files it reads, whether it can run unattended, and how you sign in and pay.
What "agentic" means for a coding tool
Anthropic's Claude Code overview, as of 2026-11-26, calls the tool "an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools". OpenAI's Codex CLI page describes a tool to "inspect code, make changes, run commands, and automate repeatable work without leaving your terminal". The shared pattern is a loop: the model reads, proposes an edit or a command, the tool executes it, and the model reads the result and continues until the task is done or it needs you.
That loop is what separates an agent from an autocomplete or a chat window. A chat assistant gives you text. An agent changes your working tree, which is why permissions, sandboxing and review matter more than they do for a suggestion engine. For the wider definitions, see AI Coding Assistant vs Coding Agent: What Each Can Change.
The main kinds of agentic coding tool
Tools in this space fall into four shapes. Many ship more than one.
- Terminal agents. You run them in a project directory and they work on the files there. Claude Code, Codex CLI, Gemini CLI and Copilot CLI are in this group.
- Editor-native agents. The agent lives inside the IDE and shows diffs inline. Cursor describes itself as "a coding agent for building ambitious software", and Claude Code ships VS Code and JetBrains extensions.
- Desktop and web agents. Claude Code has a desktop app and a browser surface at claude.ai/code that can run tasks without local setup. OpenAI's Codex page lists a desktop app, the ChatGPT mobile app, ChatGPT web, an IDE extension and Codex Cloud next to the CLI.
- Cloud and CI agents. Claude Code documents GitHub Actions and GitLab CI/CD integrations, and Codex has
codex execfor pipelines.
If you only want to know which category your daily work needs, ask whether you live in a terminal, an editor or a browser. If you want the head-to-head detail for two of them, Codex vs Claude Code: Config Files and Sandbox and Cursor vs Claude Code: Editor or Terminal Workflow go deeper.
The tools side by side
The table below uses only what each vendor's own page said when fetched on 2026-11-26. Where a cell says a page did not state something, that means the page did not say, not that the feature is missing.
| Tool | Where it runs | Ask-before-acting control | Instruction file | Unattended use |
|---|---|---|---|---|
| Claude Code | Terminal, VS Code, JetBrains, desktop app, web | Permission modes: default, acceptEdits, plan, auto, dontAsk, bypassPermissions | CLAUDE.md; by default AGENTS.md only when no CLAUDE.md exists | claude -p, GitHub Actions, GitLab CI/CD |
| Codex CLI | Terminal, plus IDE extension, desktop app, web and Codex Cloud | /permissions; sandbox modes read-only, workspace-write, danger-full-access | AGENTS.md | codex exec |
| Gemini CLI | Terminal; other surfaces not stated on the page | Trusted Folders, sandboxing and checkpointing are listed | GEMINI.md | -p "<prompt>", --output-format json |
| Cursor | Editor and agent product | Plan Mode is listed | Rules and skills are listed | not stated on the page |
| GitHub Copilot CLI | Terminal (Linux, macOS, Windows in PowerShell or WSL) | Manual approval, --allow-tool, --deny-tool, trusted directories | Custom instruction files; the page does not name them | -p or --prompt |
Three details from that research are easy to miss.
First, Gemini CLI changed audience. The README says free individual access and Google AI Pro/Ultra moved to Antigravity CLI on June 18, 2026, and it lists organizations with Gemini Code Assist Standard or Enterprise, or Code Assist for GitHub on Google Cloud, as its audience. A tutorial that tells you to sign in with a personal Google account for free may be out of date.
Second, Claude Code's permission list is longer than "ask or don't ask". The documentation says plan reads and explores, acceptEdits also allows file edits and common filesystem commands, dontAsk denies anything not pre-approved (aimed at locked-down CI), and bypassPermissions is for isolated containers and VMs only. Deny rules block in every mode.
Third, Copilot CLI's page warns that --allow-all-tools gives Copilot the same access you have, and advises against launching it from your home directory.
Five tests that decide the choice
A comparison table tells you what exists. These tests tell you what works for you. Run each in a throwaway clone, with a real ticket from your backlog, not a demo.
- Where do you work? Make one small multi-file edit from the surface you use every day. If you are in an editor all day, an agent that only has a terminal UI costs you context switches. If you are in a terminal, an editor-first product costs the same.
- How does it ask before acting? Give each tool a task that needs a shell command and count the prompts. Then compare the strictest practical mode with a looser one on your normal setup. Test any mode that disables approvals or safety checks only inside a disposable VM, container or first-party cloud sandbox with no production credentials or valuable data. Claude Code's docs say to use
bypassPermissionsonly in isolated environments like containers, VMs or dev containers without internet access. In Claude Code you can start a session in a given mode:
claude --permission-mode planFor Codex, OpenAI's sandboxing page documents the sandbox modes read-only, workspace-write and danger-full-access, and the approval policies on-request and never.
- Which instruction files does it load? Add one unusual rule, such as "run the test script before reporting done". Start a fresh session and ask for a small change. Whether the agent follows the rule is the real test, not whether the file exists. By default, Claude Code reads CLAUDE.md files at the start of every session. By default it reads AGENTS.md only when no CLAUDE.md or CLAUDE.local.md exists in the working directory or above it (v2.1.277 or later). The Project instructions setting can change this to both files, only CLAUDE.md, or only managed instructions, and some sessions cannot read AGENTS.md directly. Codex reads a global file from
~/.codex(orCODEX_HOME), then one file per directory from the project root down to the working directory, and stops adding files once the combined size reaches 32 KiB by default. For which agent reads which file, see CLAUDE.md vs AGENTS.md: Which Agents Read Which File. - Can it run without you? Run one fixed task non-interactively on a branch and check the exit status and the diff. The commands differ by tool:
claude -p "<prompt>",codex exec "<prompt>",gemini -p "<prompt>",copilot -p "<prompt>". Anthropic's overview showsclaude -pused in pipelines and CI, and the Codex CLI page listscodex execfor pipelines. - How do you sign in and pay? Claude Code says most surfaces need a Claude subscription or an Anthropic Console account, and that the terminal CLI, VS Code and JetBrains also support third-party providers. Codex asks you to sign in on first run, for example with ChatGPT. Check which Copilot plan and organization policy cover Copilot CLI before you rely on it. Check the vendor's pricing page the day you decide, because plans move faster than guides.
Checking the tools are installed
If you want to reproduce the version-level checks, these commands are harmless and call no model:
claude --version
codex --versionEach command should print a version number. Install steps are in Install Claude Code: Native, Homebrew, WinGet, or npm and Install Codex CLI and Sign In.
Which one to pick
- Your work moves between an editor and a terminal, and you want one set of instructions and MCP servers across surfaces: Claude Code documents that each surface connects to the same engine, so CLAUDE.md files, settings and MCP servers work across all of them.
- Your work stays in a terminal on a local repo and you already use ChatGPT: Codex CLI signs in with ChatGPT and offers explicit sandbox modes.
- You work in an organization on Google Cloud with Code Assist licenses: Gemini CLI's README names that audience.
- You want the agent inside the editor with plan and review in one place: Cursor's docs page describes Plan Mode and diff review ("Inspect diffs, run checks, and catch problems before you merge").
- Your team lives on GitHub and wants a terminal agent with per-tool allow and deny rules: Copilot CLI documents
--allow-tooland--deny-tool, with deny taking precedence.
If two tools tie, run test 3 and test 4 on both. Instruction handling and unattended behavior are where tools that look alike on paper diverge.
What goes wrong and how to fix it
- Judging by demo tasks. Demos hide repo-specific friction, such as slow tests, odd build steps or generated files. Fix: run a real ticket in a clone and score it on the five tests above.
- An instruction file the agent ignores. You notice it when the agent repeats a mistake your file forbids. Cause: the file is too long, or it is not in a path the tool reads. For Codex the docs list truncation at 32 KiB as a cause and suggest raising
project_doc_max_bytesor splitting files across nested directories. Fix: plant one test rule, check it in a fresh session, and cut the file until only rules that change behavior remain. - Wrong guidance from a stray override. In Codex, an
AGENTS.override.mdin the same directory, or in your Codex home, is read instead of theAGENTS.mdnext to it, so an edit to AGENTS.md can have no effect. Fix: look for override files and restart, since the docs say the chain is built once per run. - Broad permissions that hide what ran. Cause:
bypassPermissionsin Claude Code,--dangerously-bypass-approvals-and-sandboxin Codex, or--allow-all-toolsin Copilot CLI. The Claude Code docs restrictbypassPermissionsto isolated environments, and OpenAI's sandboxing page describesdanger-full-accessas running without sandbox restrictions. Fix: use the strictest mode that still lets the task finish, and review permission settings before a team rollout. - Unattended runs with no review gate. A non-interactive run in CI can push unread changes. Fix: run on a branch, require human review, and fail the job on test failures. In Claude Code,
dontAskmode denies anything not pre-approved, which suits CI. - Stale sign-in advice. The Gemini CLI change of June 18, 2026 is an example. Fix: follow the vendor's README or docs page, not an older tutorial.
- A tool that is not agentic for your task. If the product only completes lines or answers questions, it will not run tests or edit several files. Fix: check that it can run commands and edit files, using test 2.
What the catalogue shows
The catalogue has skills that target recurring workflows with coding agents, not a head-to-head measurement of the tools themselves. The evidence shown is from Claude Code only and does not establish a benefit on each tool. No one has run the same task here across Claude Code, Codex, Gemini CLI, Cursor and Copilot CLI, so this guide makes no claim about which tool is faster or more accurate. The skills below are the closest relevant evidence, as recorded in the repo data on 2026-11-23. The Platform Score page explains the states and verdicts.
| Skill | Platform Score and state | Efficacy verdict | Install tested | Tutorial video |
|---|---|---|---|---|
| coding-agent-guardrails | 60, rated | NO_LIFT (measured, 2026-11-23) | claude-code 2.1.330, 2026-11-23 | yes |
| agent-instruction-files | 46, provisional | none recorded | claude-code 2.1.330, 2026-11-23 | yes |
| reviewing-code-changes | 47, provisional | none recorded | claude-code 2.1.330, 2026-11-23 | yes |
| rules-to-skills-migration | 45, provisional | none recorded | claude-code 2.1.330, 2026-11-23 | yes |
| pr-size-risk-scorer | 47, provisional | none recorded | claude-code 2.1.330, 2026-11-23 | yes |
The recorded verdict for coding-agent-guardrails is NO_LIFT (measured 2026-11-23). The run used 12 tasks and 12 paired runs with and without the skill, and the pass-rate difference was -5.0 points with a 95% confidence interval of -16.8 to +6.8, so the interval includes zero and the data do not show a reliable gain. That is reported as recorded and not rounded up. The install tests were run on Claude Code only, so nothing here confirms these skills on Codex, Gemini CLI, Cursor or Copilot CLI.
FAQ
What is an agentic coding tool?
It is a tool that reads your codebase, edits files and runs commands to finish a task, rather than only suggesting code. Claude Code's overview, as of 2026-11-26, describes itself in those terms, and Codex CLI's page describes inspecting code, making changes and running commands. The word "agentic" refers to the read, act, check loop, not to a particular model.
Which agentic coding tool should I choose?
There is no single right tool. It depends on where you work, how much you want to approve, which instruction files your repo already has and how you pay. Run the five tests above on a real ticket in each candidate and compare the diff, the number of prompts and the unattended behavior.
Is Claude Code agentic?
Yes by its own description. The overview says it reads your codebase, edits files, runs commands and integrates with development tools. The permission modes, from plan to bypassPermissions, control how much it can do without asking. See What Is Claude Code and What It Can Touch on Your Machine for what it can reach.
Is GitHub Copilot an agentic coding tool?
Copilot CLI is one. GitHub's page says it can answer questions, write and debug code and interact with GitHub.com from the terminal, with a manual approval mode and allow and deny lists for tools. The page does not describe other Copilot products, so this guide makes no claim about them.
Does Codex read AGENTS.md?
Yes. Codex checks its home directory for AGENTS.override.md or AGENTS.md, then walks from the project root to the working directory, reading at most one file per directory. It stops adding files at 32 KiB by default, which you can change with project_doc_max_bytes in ~/.codex/config.toml.
Can I use these tools in CI?
Yes, with care. Claude Code has print mode and GitHub Actions and GitLab CI/CD integrations, Codex has codex exec, Gemini CLI has -p, and Copilot CLI has -p. Run on a branch, require review and fail the job on test failures.
Is the Gemini CLI free?
The README says free individual access moved to Antigravity CLI on June 18, 2026, and that Gemini CLI is for Code Assist Standard or Enterprise organizations and legacy paid API or Vertex keys. Check the repo before relying on any free-tier claim.
Next steps
- Read Terminal AI Coding Assistants: When a Terminal Agent Wins if you are leaning toward a terminal tool.
- Compare two finalists in Codex vs Claude Code: Config Files and Sandbox or Cursor vs Claude Code: Editor or Terminal Workflow.
- Set up instruction files that more than one agent reads with CLAUDE.md vs AGENTS.md: Which Agents Read Which File.
- Browse tool pages: Claude Code and Codex, or the agent workflow topic.
Related skills in this catalog
Platform Score is our assessment under a published method. It is not a safety guarantee.
Related guides
- Codex vs Claude Code: Config Files and Sandbox
- Cursor vs Claude Code: Editor or Terminal Workflow
- What Is Claude Code and What It Can Touch on Your Machine
- AI Coding Assistant vs Coding Agent: What Each Can Change
- Terminal AI Coding Assistants: Claude Code, Codex, and Gemini CLI
- CLAUDE.md vs AGENTS.md: Which Agents Read Which File
Terms this guide uses
This item is a worked example in the AI glossary for:
Sources
- https://code.claude.com/docs/en/overview (accessed 2026-11-26)
- https://code.claude.com/docs/en/permission-modes (accessed 2026-11-26)
- https://code.claude.com/docs/en/memory (accessed 2026-11-26)
- https://learn.chatgpt.com/docs/codex/cli (accessed 2026-11-26)
- https://learn.chatgpt.com/docs/agent-configuration/agents-md (accessed 2026-11-26)
- https://learn.chatgpt.com/docs/sandboxing (accessed 2026-11-26)
- https://github.com/google-gemini/gemini-cli (accessed 2026-11-26)
- https://docs.github.com/en/copilot/concepts/agents/about-copilot-cli (accessed 2026-11-26)
- https://cursor.com/docs (accessed 2026-11-26)