AI Services and Tools (4): Coding Agents (Cursor / Claude Code / Codex / Open-Source Agents)#

A robot typing on a keyboard and a person holding a map pointing at a screen, with different tasks displayed on several monitors

As of · November 2026. Coding agents are an area where features are added almost every week. This chapter focuses on the "shape" of the tools and the "principles for choosing" them; check whether a specific feature exists at the time you use it.

The reason coding agents get a chapter of their own is clear. In a one-person startup, these tools are the hands that build the product. In my case, the time spent on “coding by typing directly” has dropped dramatically over a few years, and “conveying requirements to an agent and reviewing the results” has filled that space. This chapter lays out how to understand, choose, and use those tools.


First, three words to keep apart: model, agent, client#

The biggest reason this topic is confusing is that model, agent, and client get discussed all mixed together.

  • Model: the brain that thinks. The LLM itself, as explained in Key AI Concepts, Chapter 1.
  • Agent: the way of working that puts the brain to actual work. It includes the repeating loop of reading files, fixing code, running commands, looking at test results, and fixing again, plus the rules that wrap that loop (the ).
  • Client: the window through which a person uses the agent. Editors, , desktop apps, the web, and messengers all fall here.

A simple analogy: the model is the engine, the agent is the driving style and transmission, and the client is the driver’s seat. Cars that look the same from the outside can feel quite different if only the engine is shared and the driving style differs. For example, choosing an OpenAI coding model in Cursor’s chat and installing the Codex extension inside Cursor are entirely different things. The former is Cursor’s agent using an OpenAI model; the latter is OpenAI’s agent sitting in the driver’s seat called Cursor. Even with the same model, the results differ because which tools it is given, in what order context is loaded, and how it retries on failure all differ. Key AI Concepts, Chapter 4 (Agents and Harnesses) covers this difference in more depth.

Client (driver's seat)IDE (Cursor, VS Code)Terminal (CLI)Desktop app · webMessenger (Slack, Discord)CI / scripts (SDK)Agent (driving style)Tool set (file · shell · search · MCP)Execution loop and retriesContext assembly · cachingPermissions · approval · sandboxRule files · memory · skillsModel (engine)Each provider's coding modelTier (top / balanced / light)Reasoning effort settingContext lengthOpen-weight models work tooSame model, different agent: different results. Same agent: it can have many driver's seats.
Three layers are mixed into a single tool name. When comparing, first decide which layer you are comparing.

Coding agents by shape#

Even among “coding AI,” the characters differ quite a bit, and two axes make them easy to sort. One is who drives. It is a spectrum from assistive tools (), where the person leads and the AI helps, to autonomous tools, where the AI takes on the whole task. The other is where it runs: in my local editor or terminal, in the cloud, or resident on a server and invoked by messages or schedules.

One thing is worth settling up front. Until 2025, one product meant one shape, as in “Cursor is the , Claude Code is the terminal, Jules is the cloud.” In 2026, the major agents have shifted to one agent used from many driver’s seats. Claude Code runs not only in the terminal but in VS Code and Cursor extensions, a desktop app, the web, and cloud sessions managed by Anthropic; Codex likewise has a CLI, IDE extensions, the ChatGPT desktop app, the web, and OpenAI’s cloud environments. So read the table below as kinds of driver’s seat, not kinds of tool.

Whichever seat you use, what the agent can do is nearly the same. Reading files, fixing code, running commands and tests, and using external tools through MCP are the same wherever you open the same agent. What differs is how the person sees and instructs (, text, program) and where it runs (my machine, the provider’s cloud, my own server), and each seat’s relative strengths come from those two differences.

Driver’s seatFormWhat other seats lack
IDE extensionMy machine · GUI. A panel inside the editorOpen files and the selection become context automatically, and you see changes right away as in the editor
Desktop appMy machine · GUI. A window separate from the editorManages several sessions, local and cloud, on one screen
Terminal (CLI)My machine · text input and outputCan be called from , , and other programs, and moved to a server to run as is
Web · mobile · messengerRemote · GUI. Browser, phone, SlackStart and drive sessions without being at your machine
Cloud executionProvider’s cloud · started from any seatKeeps running when your machine is off, and uses none of its resources
Scheduled · resident executionProvider’s cloud or my own server · started without a UIRuns unattended on a schedule or an event (a , a message)
Program (SDK · API)Inside my code, or a harness the provider hostsWorks as part of my own product

So the criterion for choosing a seat is not “where does it only work” but “where is it more convenient.” The situations below are not impossible in other seats; the seat named is simply relatively more convenient.

  • When the person changes direction often while looking at the code, an IDE extension or desktop app is more convenient. The CLI works too, but following, picking, and reverting changed code by eye is easier in a GUI.
  • When you repeat the same task or put it into a server · CI · workflow, the CLI fits. Its text input and output make it easy to wrap in scripts, and unlike the GUI seats, no one has to sit in front of a screen.
  • When the work needs local files outside , use a seat that runs on your machine (IDE extension, desktop app, CLI).
  • When you set a long task going and walk away, or run several tasks at once, cloud execution is more convenient. You can run tasks in parallel locally too, but they occupy the machine and stop when you shut it down.
  • When something must run unattended at a set time or on an event, use scheduled · resident execution.
  • When the agent has to work inside your own product, use the SDK or API.

Of these, the difference between local and cloud is worth one more look. The strength of local is context. The agent can reference and operate not only the files git manages but also the configuration and outside the , material in the Downloads folder, the logs and screenshots that keep appearing as you work, and the databases and local servers that exist only on your computer. A cloud environment works by cloning the repository, so all of these have to be uploaded or connected separately. The strength of the cloud is persistence. The work continues after you shut down the PC or close the laptop, running several long tasks at once uses none of your machine’s resources, and tasks can start unattended on a schedule or an event.

Here is how far the major agents cover these seats as of November 2026. Items without a stage label in parentheses are ones the official docs do not mark as GA or beta.

AgentTerminalIDE extensionDesktop appWeb · mobileCloud executionScheduled · residentSDK · API
Claude Code (Anthropic)CLIVS Code, Cursor and other VS Code forks / JetBrains (beta)Code tab in the Claude app (macOS / Windows)claude.ai/code, mobile app, Remote ControlSessions in Anthropic-managed Scheduled tasks (), Claude Tag in Slack (beta), GitHub ActionAgent SDK, Managed Agents (beta)
Codex (OpenAI)CLIVS Code, Cursor, Windsurf / separate integrations for Xcode · JetBrainsCodex view in the ChatGPT desktop app (merged July 2026)Codex web, iOS app, RemoteOpenAI-managed cloud environments, PRs and code reviewAutomations (schedule · events), Slack · Teams, GitHubCodex SDK, Agents API (beta)
Antigravity (Google)Antigravity CLI (formerly Gemini CLI)Antigravity IDE / VS Code · JetBrains · Zed · Xcode extensionsAntigravity 2.0—In preparation (Jules shuts down December 2026)—Antigravity SDK, Managed Agents on the Gemini API
GitHub CopilotCopilot CLIVS Code, JetBrains, and othersCopilot app (technical preview)GitHub web · mobileCloud coding agent (issue → PR)Cloud automations, SlackCopilot SDK, Agent tasks API
CursorCursor CLI(its own IDE)Cursorcursor.com/agents, iOS appCloud Agents (Cursor-managed VMs)Automations, Slack · GitHub · LinearCloud Agents API
OpenCode (open source)CLIVS Code-family extensionDesktop appBrowser UI (shared local server)Run it on your own serverConfigure it yourself—

The details in the table change every few months. What matters is that whichever provider you choose, the seats come as a set. So the choice is not “IDE or terminal” but “which agent (harness) and model do I build my rule files and skills on.” The seats are not a ranking but a choice based on the nature of the task, and I use most of them, picking by the work at hand.

Cursor: the AI-first IDE#

Amid the wave of GitHub Copilot delivering a fresh shock to developers, “AI-first IDEs” like Cursor appeared relatively early. Cursor is a tool that, on top of a VS Code-based editor experience, puts a workflow of delegating -wide changes front and center, going beyond code autocomplete / chat. Google’s Antigravity and Cognition’s Devin Desktop (called Windsurf until June 2026) are in the same family.

When I first started using Cursor, it felt like “a bit better than Copilot.” But once the agent feature arrived, the experience changed dramatically. Hand over a requirement and the agent explores the codebase, modifies multiple files, and explains the reasons for changes where needed, getting close to an experience of “pushing the task through to the end.” Today, the agent can open a browser to check the screen, operate external services via MCP, and run multiple tasks in parallel, all inside the IDE. The seats have also spread beyond the IDE: you can use the Cursor CLI in the terminal, run asynchronous work in Cursor-managed VMs with Cloud Agents, and start tasks from the web, the iOS app, or an @cursor mention in Slack or GitHub. Conversely, installing the Claude Code or Codex extension inside Cursor and using another company’s agent in the same editor is a common combination.

Claude Code: the agent that started in the terminal and spread to the most seats#

Claude Code is Anthropic’s coding agent. It started in the terminal, but today it has the widest spread of driver’s seats, so here they are seat by seat.

  • IDE. The VS Code extension is a sidebar panel, and it also installs in VS Code forks such as Cursor. The JetBrains plugin is in beta.
  • Desktop app. In the Code tab of the Claude app for macOS / Windows, you handle local · cloud · sessions on one screen and set scheduled tasks.
  • Web and mobile. Connect a repository through the GitHub app at claude.ai/code and the session runs inside an Anthropic-managed VM, so the work continues after you close the laptop, and you see the same session in the Code tab of the mobile app. Remote Control lets you drive a session running on your own computer from your phone or the web.
  • Running unattended. There are scheduled tasks (research preview) started by a schedule, an API call, or a GitHub event; Claude Tag for calling @Claude in Slack (for organizations, public beta); and @claude mentions through a GitHub Action.
  • Using it from a program. The Agent SDK is a library that embeds the Claude Code agent inside your own process, while Managed Agents (beta) runs the same harness through an API in a Anthropic hosts. For putting an agent inside your own product, the latter carries less operational burden.

You can also get the model through Amazon Bedrock or Google Cloud, but then claude.ai-only features such as cloud sessions drop out. Feature-wise, it starts by reading the rule file at the repository root (CLAUDE.md), and comes with skills that pin recurring work down as procedures, memory that accumulates knowledge across sessions, the ability to split work across , and MCP for attaching external tools. I run this blog’s post writing, translation, and news brief writing as Claude Code skills, and at work I install the Claude Code extension in the Cursor IDE and use it as my main tool, with Codex and Cursor’s own agent as supporting ones. In effect, agents from different companies sit side by side in the same editor and split the roles.

Codex: OpenAI’s agent runtime#

Codex is OpenAI’s coding agent, and on first encounter it is easy to get confused about what the CLI, app, web, IDE extension, and SDK each are. Going by the official docs, the CLI / app / web / IDE extension are the same Codex agent used from different driver’s seats, and the SDK is the interface for controlling that agent from a program. Seat by seat, it looks like this.

  • IDE. The extension installs in VS Code, Cursor, and Windsurf, and Xcode and JetBrains have separate integrations. From the extension, long tasks can be handed off to the cloud.
  • Desktop app. In July 2026 it was merged into the ChatGPT desktop app. In the Codex view of that app, you manage several local projects and cloud tasks.
  • Web and mobile. Codex web connects a GitHub repository (GitLab is in beta), works asynchronously in an isolated environment OpenAI manages, and creates PRs; you can attach automatic code review and security review to PRs. From the iOS app you watch cloud tasks, or use Remote to drive a session running on your Mac.
  • Running unattended. Automations start from a schedule or from Gmail · Slack · GitHub events, and you can call Codex directly from Slack and Teams. The Chrome extension is the seat for reading and operating pages inside the browser.
  • Using it from a program. The Codex SDK controls the local agent, and the Agents API, released in September 2026, lets you use the harness that runs Codex in a form OpenAI hosts, with the server handling session management, sandboxing, and subagent delegation.

Choosing an OpenAI model in Cursor’s chat, on the other hand, may use the same model, but it is not the Codex agent. I use Codex as a supporting tool, with the CLI as my reference point, and I also use a plugin that calls Codex from inside Claude Code. With this plugin I use Codex in two ways. One is as a reviewer, having the code Claude Code changed checked once more from a different model’s perspective. The other is as a subagent: when Claude Code gets stuck, I hand Codex a root-cause investigation or a second implementation wholesale and take back only the result. The main agent stays as it is, and another company’s agent works under it like a team member.

Google Antigravity and GitHub Copilot#

In 2026 Google gathered its coding tools under Antigravity. In May it released the Antigravity CLI as the successor to Gemini CLI, and from June 18 the Gemini CLI and Gemini Code Assist extensions stopped serving individual users (enterprise licenses continue). The seats are the VS Code-based Antigravity IDE, the Antigravity 2.0 desktop app for managing several agents, the VS Code · JetBrains · Zed · Xcode extensions released in August, plus the CLI and SDK. Jules, which ran asynchronously in the cloud, had its shutdown announced at the end of October and closes on December 31; cloud execution is due to move into Antigravity, but as of this writing it has not opened. The Gemini API has Managed Agents, the same name as Anthropic’s, for running agents through an API in an environment Google hosts.

GitHub Copilot started from autocomplete inside the editor and has widened into the same structure: VS Code · JetBrains extensions, the Copilot CLI, the Copilot app for managing several agent sessions (technical preview since May 2026), a coding agent that works in GitHub’s cloud and opens a PR when you assign it an issue, cloud automations that run on schedules and events, a Slack integration, and the Copilot SDK, generally available since June. If your repository lives on GitHub, its strength is that issue → agent → PR → review flows in one place.

Open-source and resident agents#

Open-source agents such as OpenCode, Cline, and goose have the strength that any model can be attached and the code is public. OpenCode has a terminal, a desktop app, a browser UI, and an IDE extension, but no provider-operated cloud. Run it on your own server, though, and that becomes your cloud execution. The resident Hermes Agent goes a step further: you run it on a server, drive it with messages from Slack or Discord, it creates skills on its own from work experience, and it runs unattended jobs like daily reports on . It also matters that if you choose a backend such as Docker, you can precisely limit the agent’s range of action to “only the mounted folder.” At work I use Hermes for both product development and ad operations, and for personal use I run it on a remote server so that work continues after I close the laptop. That experience is covered in “Dividing Work Solo” in the Execution section.


How I work: the navigator in pair programming#

Developing with a coding agent can be compared to . The agent takes the driver role (writing / modifying code), and the developer takes the navigator role (setting the development direction / conveying requirements / reviewing results). The essence of the navigator role is not “getting the code written for you,” but giving clear goals / constraints / quality criteria and reviewing the results so that they converge on the intent.

A few habits strongly determine the quality of the result.

  • Define “done” with tests. Have the agent write test code and actually run it, so it checks for itself “whether the work is finished.” It is the habit of finishing with “a result whose behavior is verified,” not “a result that looks plausible.”
  • Keep instructions in files, not in chat. This is the rule file, skill, and memory structure from Key AI Concepts, Chapter 3. Each tool recognizes a different file name (Claude Code uses CLAUDE.md, Cursor .cursor/rules/, Codex AGENTS.md), so if you write the rules in the main tool’s file and have the other tools’ files reference it, you can manage the rules in one place only.
  • Run in parallel, but keep the human rhythm. Running different tasks in several sessions at once has the effect of one developer handling two or three jobs. But the human head switching between sessions becomes the new bottleneck. This problem is covered separately in “Dividing Work Solo” in the Execution section.
  • Take a second look with a different model. For important changes, run a review with a model from a different provider. When the same model writes and the same model reviews, they share the same blind spots.

Finally, coding agents are no longer “tools for developers only.” When the idea first occurred to me, it was an unfamiliar one. If a coding agent can read and modify local files, run commands to automate tasks, and connect external tools, I reasoned, it could be used as is for work that is not development. I said so at work several times, and the response was “that’s a tool for developers.” Things are different now. Since OpenClaw became a topic well beyond the developer community in early 2026, the number of people who organize documents, analyze data, and automate repetitive work with coding agents has grown sharply. Model providers have also released the same structure as products for non-development work themselves, such as Anthropic’s Cowork and OpenAI’s ChatGPT Work. This means that doing non-development work with a coding agent is no longer an unfamiliar experiment but a proven method. The manuscript of this book was also written together with a coding agent.

If you have not tried a coding agent yet, I recommend starting now, even if you are not a developer. Begin by making a folder, putting your material in it, and handing that folder to an agent. The concrete approach continues in the “Working with AI” chapter.


Making the most of subscriptions#

For someone who uses a coding agent all day, a monthly subscription is far cheaper than calling the same usage through the API. What you can actually use is much more than the subscription fee divided by API prices. Providers do not publish the exact gap, and plans and limits change often, so it is better to remember the reasons than the numbers. Not every subscriber uses their limit to the end, so providers can balance costs on the average, and inside their own products they control model choice, caching, and the number of concurrent runs.

So the price is less a simple discount than the price of a limited scope of use. A subscription is a benefit that model providers give individual users as a B2C service, and that benefit holds only inside the products and official the provider built. The routes for connecting a subscription account to a tool and getting the same benefit are quite narrow.

  • Claude. Even if you build your own system with a third-party agent such as Hermes Agent and sign in with a Claude subscription account, those requests cannot use the limit included in the subscription; they are deducted from separately purchased extra usage. The subscription limit can be used only inside the Claude apps and Claude Code.
  • Codex. Connect a ChatGPT subscription account to a third-party agent and you can use Codex’s subscription usage limit as is. As of November 2026, that makes it the most open of the three companies, but because it uses the Codex product’s path rather than a published API contract, there is no telling how this policy will change.
  • Google. It treats third-party tools reusing the subscription credentials of Antigravity or Gemini CLI as grounds for account sanctions, drawing the line most firmly.

The relatively safe method is, instead of pulling out the credentials, to run the official runtime as a subordinate worker. When a third-party agent hands work to a signed-in official Codex CLI or Antigravity CLI, the provider’s own program is responsible for authentication and applying limits. The plugin introduced earlier, which calls Codex as a reviewer or subagent inside Claude Code, is also built by running the official Codex runtime, so it uses the Codex side’s subscription limit.

Once you know this boundary, the policy is clear. Build your personal AI work environment actively around subscriptions.

  • Most of the driver’s seats from the earlier section (CLI, IDE extension, desktop app, cloud sessions on the web, scheduled tasks) can be used within the same subscription at no extra cost. Do not stick to just one; pick the seat that fits the work.
  • Holding subscriptions with two or more providers gives you another model’s perspective and also increases the limits you can use. That is also why I keep Claude Code as my main tool and Codex as a supporting one.
  • If you hit the limit often, moving up a plan is usually cheaper than switching to pay-as-you-go API. The API credits that come with higher plans are covered in “Subscriptions and APIs Are Different Products” in the previous chapter.
  • Conversely, work in which your product calls a model on behalf of users is designed on the API from the start. How to spend subscription limits sparingly is covered in the Operations chapter of the Execution section, and cost design for AI in your product in “Adding AI Features to Your Product”.

The differences in authentication and billing I found while connecting subscription accounts to third-party agents are laid out in detail in the essay “Why an AI Subscription Isn’t a Cheap API”.


Principles for choosing tools#

At first I agonized over “which tool should I settle on,” but in the end I judged that tools with similar concepts compete with each other and quickly catch up on features, and decided to settle on one for now. Under the assumption that when a new feature appears in another tool, a similar one will soon arrive, I focused on changing the way I work rather than on the cost of tool selection. A few principles emerged after that.

  1. Pin down one reference point first. Pick a main tool and build up its rule files and skills as assets. Attach other tools by role (reviewer, parallel worker, resident bot).
  2. Put subscriptions at the center. For a coding agent an individual uses all day, a subscription is far more economical than the API, but that benefit holds only inside the provider’s products (see “Making the most of subscriptions” above).
  3. Prevent tool lock-in with the file structure. Keep rules, design docs, and memory as plain inside the repository, and whichever tool opens it starts from the same context.
  4. Do not trust the defaults. The sandbox is off by default, it stalls if a question goes unanswered, and it can still read a file you told it not to read. These limits and the responses to them are covered in the Operations chapter of the Execution section.

Summary#

  • Coding agents are only comparable once you split them into three layers: model · agent · client.
  • IDE extension, desktop app, terminal, web, cloud, and resident are kinds of driver’s seat, and the major agents come with the whole set. What they can do is mostly the same; only how you see and instruct and where it runs differ. Local’s strength is context; the cloud’s is persistence.
  • The person is the navigator. Define “done” with tests, keep instructions in files, and review with a different model.
  • A subscription is a personal benefit that holds only inside the provider’s products. Build your personal AI work environment around subscriptions, and design work your product calls on behalf of users on the API.
  • Pin down one reference point, put subscriptions at the center, prevent lock-in with the file structure, and do not trust the defaults.