Skip to content
Mon, 23 Nov 202613:42:06 CET
AI-News

AI-News

Menu
  • Home
  • Basics
  • Posts
Searching...
No results found
  • Home
  • Basics
  • What Are AI Coding Assistants? Cursor, Claude Code and Codex by What They Do
  • Basics

What Are AI Coding Assistants? Cursor, Claude Code and Codex by What They Do

EditorialNovember 6, 2026Last reviewed: November 6, 20267 min read
Monitor showing a blurred code editor with a file tree, illustrating AI coding assistants

Contents

  • TL;DR
  • What an AI coding assistant is
  • The loop: a model and its tools
  • Claude Code, by what it does
  • Cursor, by what it does
  • Codex, by what it does
  • Where the code runs
  • Standing instructions in project files
  • Control, approvals and undo
  • What the documentation says about limits
  • What this article does not cover
  • Sources

TL;DR

An AI coding assistant is a program that uses a language model to read, change and run the code in your project. Cursor, Claude Code and Codex do this with tools in a loop while you steer. Claude Code's documentation says that instructions from early in a session can get lost, so you review the result.

  • Purpose: Anthropic, Cursor and OpenAI describe tools that read your codebase, edit files and run commands for you.
  • Steps: Claude Code's documentation describes a loop of gathering context, taking action and verifying results.
  • Parts: Cursor names three components of an agent: instructions, tools and a model.
  • Offers: All three offer local and cloud work, and Claude Code and Codex read instruction files from your project.
  • Limit: Context fills up and early instructions can get lost, as Claude Code's documentation says, so you review the result.

What an AI coding assistant is

Three vendors describe their products in similar terms. Anthropic writes that “Claude Code is an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools.”

Cursor says that it “is a coding agent for building ambitious software.” OpenAI describes the Codex command line tool as a way to “Inspect code, make changes, run commands, and automate repeatable work without leaving your terminal.”

Anthropic draws a line to older tools. “Because Claude sees your whole project, it can work across it.” It adds: “This is different from inline code assistants that only see the current file.” That is Anthropic's own description of its product.

The loop: a model and its tools

Anthropic describes the work in phases. “When you give Claude a task, it works through three phases: gather context, take action, and verify results.” It also says that Claude Code “is the layer around the model that provides the tools and manages the context the model sees.”

That layer has a name. Our explainer on agent harnesses covers it, including Claude Code and Codex: What Is an AI Agent Harness? Claude Code, Codex, OpenClaw and Hermes Agent

Cursor splits an agent into parts. “An agent is built on three components”, namely instructions, tools and the model. Its tools cover “File editing, codebase search, terminal execution, and more”. The model is “The agent model you pick for the task”.

OpenAI's Codex command line tool follows the same pattern. You “Let Codex inspect files, make edits, and run the tools already installed on your machine.” You can also “Choose the model, reasoning effort, permissions, and commands that fit the task.”

The model underneath is a large language model. Our explainer covers what that is: What Is an LLM? Large Language Models Explained

Claude Code, by what it does

As of November 6, 2026, Anthropic lists the surfaces: “Available in your terminal, IDE, desktop app, and browser.” They share one loop. “The interface determines how you see and interact with Claude, but the underlying agentic loop is identical.”

On your machine, Claude Code gets “Files in your directory and subdirectories, plus files elsewhere with your permission”. It also gets “Any command you could run: build tools, git, package managers, system utilities, scripts.”

It connects to outside systems through MCP. According to Anthropic, “With MCP, Claude Code can read your design docs in Google Drive, update tickets in Jira, pull data from Slack, or use your own custom tooling.” Our MCP explainer covers the protocol: What Is MCP? The Model Context Protocol Explained

For larger jobs, Anthropic describes helpers. “A lead agent coordinates the work, assigns subtasks, and merges results.”

Cursor, by what it does

Cursor's documentation defines its core feature this way. “Agent is Cursor's assistant that can complete complex coding tasks independently, run terminal commands, and edit code.”

Its tools include a browser. Agent can “Control a browser to take screenshots, test applications, and verify visual changes.”

For a larger body of work, Cursor offers Projects. In a Project, “a coordinator agent plans the work and delegates it to other agents”.

Codex, by what it does

OpenAI documents Codex as a command line tool and as a cloud service. For the cloud, it says to “Give Codex coding tasks to work through in the cloud, from investigating bugs to building features.”

The CLI page lists delegation: “Ask Codex to delegate focused work to specialized agents, then bring their findings back into the main terminal session.”

Where the code runs

All three can work on your machine or in the cloud. Anthropic's table says the local environment is “Default. Full access to your files, tools, and environment”. The cloud option exists to “Offload tasks, work on repos you don't have locally”.

Cursor's cloud agents “run in isolated VMs in the cloud with full development environments instead of on your local machine”. Cursor adds: “You can run as many agents as you want in parallel”. They “clone your repo from GitHub, GitLab, Azure DevOps Services, or Bitbucket Cloud and work on a separate branch, then push changes to your repo for handoff.”

For Codex, each cloud task “has its own workspace and can keep working while your computer is asleep.”

Standing instructions in project files

Claude Code and Codex read files that carry your rules. For Claude Code, the file is named CLAUDE.md. It “is a markdown file you add to your project root that Claude Code reads at the start of every session.”

Anthropic says that Claude Code can read an AGENTS.md file in place of a CLAUDE.md if your repository already has one for other coding agents.

For Codex the file is AGENTS.md. “Codex reads AGENTS.md files before doing any work.” The order matters. “Files closer to your current directory override earlier guidance because they appear later in the combined prompt.”

Cursor lists “Instructions” as the first of its three components. Its documentation describes them as the system prompt and rules.

Control, approvals and undo

Codex sets boundaries by default. “By default, the agent runs with network access turned off.” OpenAI adds that locally, Codex “uses an OS-enforced sandbox that limits what it can touch (typically to the current workspace), plus an approval policy that controls when it must stop and ask you before acting.”

The approvals page gives an example. “Codex asks for approval to edit files outside the workspace or to run commands that require network access.”

For undo, Anthropic says: “Before Claude makes code changes, it also snapshots the affected files so you can revert if needed.” Cursor creates checkpoints too. It notes that “Checkpoints are stored locally and separate from Git.” Its advice is: “Only use them for undoing Agent changes; use Git for permanent version control.”

OpenAI's CLI page says: “Create Git checkpoints before and after a task so you can revert changes.”

What the documentation says about limits

Anthropic is direct about memory. “As you work, context fills up. Claude compacts automatically, but instructions from early in the conversation can get lost.”

It also says that sessions do not carry over. “Each new session starts with a fresh context window, without the conversation history from previous sessions.” Our explainer on tokens and context windows covers why this happens: Tokens and Context Windows: What the Numbers Mean

Models can also produce wrong output. Our explainer on hallucinations covers what the research says: Why Do LLMs Hallucinate? What the Research Says

What this article does not cover

We tested none of these tools. This article does not rank them and does not compare quality, speed or price. Every statement is quoted or traced to a vendor page as of November 6, 2026, and these pages change often.

We read the overview, architecture, cloud and security pages of the three vendors. We did not read the pages on IDE plugins, the Cursor command line tool, the Codex desktop app or the Codex IDE extension.

OpenAI's Codex documentation is now served from learn.chatgpt.com, and the source list below names those addresses.

Sources

  • Anthropic, Claude Code overview: https://code.claude.com/docs/en/overview
  • Anthropic, How Claude Code works: https://code.claude.com/docs/en/how-claude-code-works
  • Cursor, Documentation: https://cursor.com/docs
  • Cursor, Agent overview: https://cursor.com/docs/agent/overview
  • Cursor, Cloud Agents: https://cursor.com/docs/cloud-agent
  • OpenAI, Codex CLI: https://learn.chatgpt.com/docs/codex/cli
  • OpenAI, Codex Cloud: https://learn.chatgpt.com/docs/cloud
  • OpenAI, Agent approvals and security: https://learn.chatgpt.com/docs/agent-approvals-security
  • OpenAI, Custom instructions with AGENTS.md: https://learn.chatgpt.com/docs/agent-configuration/agents-md

Share this article

Add AI-News as a preferred source on Google

Add AI-News as a preferred source on Google

Post navigation

Previous: Prompt Engineering Basics: What the Vendors Recommend
Next: What Is AI Search? Perplexity and How Answer Engines Work

Related stories

Black robotic hand on a laptop keyboard beside hand tools, illustrating an AI agent harness
  • Basics

What Is an AI Agent Harness? Claude Code, Codex, OpenClaw and Hermes Agent

EditorialNovember 5, 2026
A wall of closed metal drawers with a single drawer pulled open, suggesting a tool library opened only when needed, with the
  • Tools

Google adds Tool Retrieval to Gemini API to trim tool schemas

EditorialNovember 23, 2026
Compact automotive computing module with a heat sink on a workbench beside a camera lens, with a city street behind at dusk
  • Models

NVIDIA Releases Alpamayo 2 Edge, a Compact Open Driving Model

EditorialNovember 23, 2026

Never miss an article

Subscribe via RSS

Add the feed address to a feed reader and new articles arrive on their own.

Related categories

  • Basics
  • Business
  • Hardware
  • Models
  • Policy
  • Safety
  • Science
  • Tools

ABB RoboticsAcquisitionsAcrobatAdobeAgent harnessAgentic AIAgentic CommerceAgentsAI AgentsAI chipsAI Data CentersAI InvestmentAI ModeAI ModelsAI RegulationAI securityAI stocksAI ValuationAir Traffic ControlAlpamayoAlphabetAlphaGenomeAMDAndroid GoAnthropicAPIApiiroApplied ComputeAuditingAutonomous DrivingAutopilotAzureBallot MeasuresBankingCaliforniaCapitalGCarbon EmissionsCaterpillarCEO SuccessionCerebrasChatGPT WalletChinaChina ChipsChip smugglingCitibankClaudeClaude CodeCodingColette KressCompilersComputer UseConfidential ComputingCopilotCorporate GovernanceCrusoeCyberattacksCybersecurityData Center CPUsData CentersDDR6DeciderDecision ModelsDeepMindDeepSeekDeveloper APIDrug DiscoveryDynamoEarningsElon MuskEmbeddingsEPYCEUExport controlsFAAFine-tuningFlight DisruptionFRCFunction CallingFundingGas turbinesGeminiGemini 4 CarbonGemini 4 HydrogenGemini 4 NeonGemini APIGemini appGemini for healthcareGemini RoboticsGenie 4GenomicsGitHubGoogleGoogle AntigravityGoogle ClassroomGoogle CloudGoogle DeepMindGoogle SearchGoogle Threat IntelligenceGoogle TPUGPT-6 AstraGPUGrokHallucinationHBMHealthcare AIHistoryHugging FaceHumanoid robotsHy4HyperscalersIBMInferenceIntelIntel FoundryInteractive ConnectorsIPOIsomorphic LabsJavaJEDECJensen HuangJet enginesKimiKPMGKV CacheL3HarrisLangChainLanguage ModelsLeanLLMLocateLuxmacOSMCPMCP AppsMegaspeedMemoryMetaMeta AIMicrosoftMicrosoft 365Microsoft CopilotMidterm electionsMLCommonsMLPerfMobile AIMoratoriumMultimodalNasdaqNational SecurityNet ZeroNetwork OutageNighthawkNVIDIAOffice in CopilotOpen DataOpen weight modelsOpen-weightOpenAIOpenJDKOutageOutlookPalo Alto NetworksPerplexityPetitionPower generationProject GeniePromptingQuantum ComputingQuantum HardwareQwenRAGReasoningRegulationRiemann hypothesisRobot SafetyRoboticsRubin HPCSafetySearchSEC InvestigationSecuritySingle-cell biologySMART SystemSoftBankSoutheast AsiaStationeryBenchSupercomputersSupercomputingTencentTogether AITokensTool RetrievalTOP500TransformerTSMCUS CongressUS MidtermsValuationVera RubinVision Language ActionWeather ForecastingWeatherNextWells FargoWorld ModelsWyomingxAIZen 6

You may have missed

A dim server room aisle with dark racks and a single rack glowing red status lights, with the Google logo in the lower left
  • Safety

Google says hackers automated vulnerability hunting with no human

EditorialNovember 23, 2026
Heavy closed steel bank vault door in a dim marble hall with a small brass key on a stone counter
  • Business

Wells Fargo and Citi Tell Customers AI Agent Risk Is Theirs

EditorialNovember 23, 2026
Rows of equipment racks with network routers and cables in a dim telecommunications room
  • Safety

FAA Ground Stop Traced to Router Work, Cause Still Disputed

EditorialNovember 23, 2026
Close-up of a copper heat sink with fine fins and a black fan
  • Hardware

JEDEC previews DDR6 memory with shorter, much faster modules

EditorialNovember 22, 2026
AI-News

AI-News for the web

Navigation

  • Home
  • Basics
  • Posts

Subscribe

  • RSS feed
  • Add AI-News as a preferred source on Google

    Add AI-News as a preferred source on Google

About

A blog about software, design, and the occasional stray thought.

© 2026 AI-News.