Coding agents: Cursor, Claude Code, Copilot and Codex
AI that works inside a real codebase: editors, terminal agents and cloud agents that open pull requests.
From builder to codebase
When your project outgrows a browser builder, or you want full control, you work in a codebase: a folder of code, usually stored in a GitHub repository. Coding agents are AI tools that read that whole folder, make changes across many files, run commands and tests, and explain what they did.
Three shapes of coding agent
- AI code editors: Cursor (and Windsurf, VS Code with GitHub Copilot) look like a normal code editor with an AI chat and agent built in. Good for watching changes as they happen.
- Terminal agents: Claude Code and OpenAI Codex CLI run in the terminal (and in desktop and web apps). You give a task in plain language; the agent plans, edits files, runs tests and reports back.
- Cloud agents: GitHub Copilot's coding agent, Codex in the cloud and Claude Code on the web work in the background on a copy of your repository and open a pull request for you to review.
How to work with an agent
- Give it the rules: most agents read an instructions file in your project (often AGENTS.md or CLAUDE.md) with how to run, test and style the code.
- One task at a time, on its own branch.
- Ask for a plan first on anything big, and read it.
- Make it prove the work: run the tests, the type check and the build, and show you the output.
- Review the diff (the list of changed lines) before you merge. Ask the agent to explain anything you don't understand.
Agents need limits
Agents can run commands on your machine or in the cloud. Use the permission settings: let them read and edit the project freely, but require approval for things like deleting files, pushing code, changing databases or spending money. Never give an agent production passwords it doesn't need.
Key terms
- Coding agent
- An AI that reads, edits and runs code across a whole project.
- Codebase
- All the code and files that make up one project.
- IDE / code editor
- The app you write and read code in, such as VS Code or Cursor.
- Terminal (command line)
- A text window where you run commands like npm install.
- Cursor
- An AI code editor with chat and agents built in.
- Claude Code
- Anthropic's coding agent that works in the terminal, desktop, web and editors.
- GitHub Copilot
- GitHub's AI assistant for code, including a coding agent that opens pull requests.
- Diff
- A view of exactly which lines were added, changed or removed.
- Pull request (PR)
- A request to merge one branch into another, with review and checks.
- AGENTS.md / CLAUDE.md
- A file in a project that tells AI agents how to build, test and follow its rules.
Try it
Ask an agent to explain before it changes
- Open any small project in an AI editor or a terminal agent.
- Ask: 'Explain what this project does and how it's organised, in 10 bullet points. Don't change anything.'
- Then ask for one small change and to show the diff before saving.
- Read the diff line by line and ask about anything unclear.
Ask an AI tutor about this guide
Copy a prompt into ChatGPT, Claude or Gemini to go deeper. Check what it tells you against the guide.
- Explain it like I'm 12
- Quiz me (5 questions, one at a time)
- Show me a real example for my situation
- What do beginners get wrong?
Knowledge check
Five questions. Get 4 right to earn the Agent Wrangler badge. You can retake it as often as you like.
Question 1 of 5
Finished the Vibe coding guides? Take the Vibe coding track test for ten mixed questions.
My notes
Write what clicked, what confused you, and what you want to try. Saved in this browser only.
Learn it live
Digital Builders University runs small live workshops where you build something real with an instructor beside you, starting with Vibe Coding 101.
See workshopsPractise it
- Game: Prompt Fixer (pick the prompt that gets the best result)
Official sites
- Cursor (opens in a new tab)
- Claude Code (opens in a new tab)
- GitHub Copilot (opens in a new tab)
- OpenAI Codex (opens in a new tab)
Last reviewed November 25, 2026. AI tools change fast; check each tool’s own site for current features, plans and prices.
