ResourcesGuide
What Is a Background Coding Agent? How They Work and Which to Use
By Utpal Nadiger · Updated November 27, 2026
A background coding agent is an AI coding agent that works on a cloud machine instead of your laptop: you hand it a task, it clones the repo, writes the change, runs the tests and comes back with a pull request while you do something else. As of November 2026 the main options start at $20 a month: Codex cloud comes with ChatGPT Plus at $20, Claude Code on the web with Claude Pro at $20, Devin Pro costs $20, Cursor cloud agents need Cursor Premium at $30, and OpenComputer costs $20 a month for a whole Slack workspace. At Ramp, an internal background agent was writing about 30% of merged pull requests to its frontend and backend repos by January 2026.
This guide explains how a background coding agent works, compares the five options most teams look at, and walks through setting one up in Slack in about ten minutes.
How a background coding agent works
An interactive agent such as Claude Code in your terminal runs on your machine and waits for you between steps. A background coding agent moves that loop to the cloud and runs it without you watching. Most of them follow the same five steps.
- A task comes in. You start it from a web app, a CLI command, a chat message, an issue or an API call. The task is a plain-language request, like "fix the flaky checkout test" or "add a CSV export to the billing page".
- The agent gets a machine. The service starts a cloud Linux environment, clones your repositories and installs dependencies. Good setups keep this environment warm or snapshotted so a task starts in seconds instead of minutes.
- The agent works on its own branch. It reads the code, edits files, runs the build and tests, and iterates until the checks pass or it needs a decision from you.
- It reports back. The output is usually a pull request with a summary of what changed and how it was checked, plus screenshots for UI work. Some products show a diff for you to review first and leave the commit to you.
- You review and steer. You comment on the PR or reply in the chat, and the agent picks up from there.
The difference from autocomplete or a chat assistant is that you are not in the loop for every step. You review the result, not the process. That is why the environment matters as much as the model: an agent that cannot run your test suite or start your dev server can only guess whether its change works.
Why teams use them
- Parallel work. Each task runs on its own branch, so one person can have several agents working at once without juggling local checkouts.
- No laptop dependency. Work keeps going when you close the lid, and you can start tasks from your phone.
- Shared visibility. When the agent lives in a team tool like Slack, everyone sees the request, the progress and the PR in one place.
- Small tasks get done. Bug reports, copy changes and dependency bumps that sit in the backlog become a one-line request.
Background coding agent options compared
As of November 2026, these are the five background coding agents teams most often compare. Prices are the cheapest plan that includes the cloud agent.
| Where it runs | How you start a task | What you get back | Entry price | |
|---|---|---|---|---|
| Codex cloud | A VM per task in OpenAI's cloud | ChatGPT web or desktop, mobile, CLI; Slack on Enterprise | Diff to review, then commit or open a PR | ChatGPT Plus, $20/month |
| Claude Code on the web | Anthropic cloud sessions | Browser, mobile, desktop app, claude --cloud, scheduled tasks | Branch and PR, with PR auto-fix | Claude Pro, $20/month |
| Cursor cloud agents | Isolated VMs with a desktop | Editor, web, Slack, Linear, GitHub, API | PR, with recordings of UI tests | Cursor Premium, $30/month |
| Devin | A Linux VM per session | Web app, Slack, Teams, Linear, Jira, API | PR | Devin Pro, $20/month |
| OpenComputer | One cloud Linux machine per Slack workspace | @Computer in Slack, web app, API | PR with screenshots and a preview link for UI changes | Pro, $20/month per workspace |
Codex cloud
Codex cloud is OpenAI's background agent inside ChatGPT. Each cloud task runs in a VM started from a cloud environment that Codex prepares by inspecting your GitHub repositories and installing dependencies. You review the changed files and test results, then commit or open a pull request. It is included in ChatGPT Plus at $20 a month, and cloud tasks share the plan's usage with local Codex. Pick it if your team already pays for ChatGPT and works mostly in GitHub. Slack delegation is limited to Enterprise workspaces.
Claude Code on the web
Claude Code on the web runs Claude Code sessions in Anthropic's cloud. You start them from the browser, the Claude mobile app, the desktop app or the terminal with claude --cloud, and you can move a session between cloud and local. It can watch a pull request and fix CI failures and review comments. It is included in every paid Claude plan, from Pro at $20 a month to Max and Ultra. It is the most direct choice for an individual developer who already uses Claude Code, with one caveat: as of November 2026 there is no Slack entry point on Pro or Max, since the earlier Claude Code in Slack app was retired.
Cursor cloud agents
Cursor's cloud agents run in isolated VMs with a full development environment, and the VMs include a desktop so the agent can click through a UI and record what it tested. You can start them from the editor, the web, Slack, Linear or GitHub, and teammates can steer the same agent. They need Cursor Premium at $30 a month or a Teams seat. Cursor is the better pick if your team already lives in the Cursor editor, needs GitLab, Bitbucket or Azure DevOps, or wants Gemini and Grok models alongside Claude and GPT.
Devin
Devin from Cognition was one of the first products built around the background agent idea. Each session runs in a Linux virtual machine with your repositories cloned and tools installed, and it works from Slack as well as its web app. As of November 2026, Devin Pro costs $20 a month, Max $200 and Teams $80. Devin is a good fit if you want a complete product with its own planning, knowledge and review features and your team is comfortable running everything through Cognition.
Build your own
Some companies build their own. Ramp's Inspect runs each session in a sandboxed VM with Postgres, Vite and Temporal, wired into Sentry, Datadog and Buildkite, and accepts tasks from Slack, the web and a Chrome extension. Building one gives you full control over the environment and integrations, but it is a real engineering project: image builds, warm pools, a Slack bot, an API and a stats page all have to be written and maintained.
How to set up a background coding agent in Slack with OpenComputer
OpenComputer is a background coding agent you mention in Slack. It runs Claude Code and Codex in its own cloud, works in the thread where you asked, and opens a GitHub pull request at the end. Setup follows the quickstart:
- Sign in and pick a coding agent. Choose Claude Code or Codex and connect your Claude or ChatGPT subscription, or use OpenComputer tokens at API prices with no markup.
- Add OpenComputer to Slack. Click Add to Slack and approve the app. The service creates one cloud Linux machine for your Slack workspace, sized to your plan.
- Connect GitHub. Install the GitHub App and pick the repositories. The three most recently pushed are cloned right away, and the rest are cloned the first time a thread needs them.
- Mention @Computer. Write
@Computer fix the flaky checkout testin a channel or a DM. The thread becomes the session, and you reply in it to steer. - Get a pull request. Each thread works in its own git worktree on its own branch, so parallel requests don't collide. The PR says what changed, why and how it was checked, links back to the thread, and includes screenshots and a preview URL for UI changes.
Anyone in the thread can steer @Computer mid-turn, and it asks before risky steps when the permission mode requires approval. Workspaces resume warm, with the repo, dependencies and build caches in place. If your subscription hits its limit, you choose whether it falls back to OpenComputer tokens or stops and waits for the reset.
As of November 2026, pricing is per Slack workspace: a 3-day trial with 600 minutes and $10 of tokens, Pro at $20 a month for 2,000 minutes, Max at $200 a month for 25,000 minutes, and $0.01 per extra minute. OpenComputer is open source and can be self-hosted, and teams that want to start sessions from code can use the Computer API. It runs Claude Code and Codex only, and works with GitHub only, so teams on GitLab or Bitbucket should look at Cursor or Devin.
How to choose
- You work alone and already pay for Claude or ChatGPT: start with Claude Code on the web or Codex cloud. They cost nothing extra.
- Your team lives in the Cursor editor: Cursor cloud agents fit into the tool you already use.
- You want a complete agent product with its own planning and knowledge features: try Devin.
- Your team works in Slack and wants one shared agent that opens PRs: OpenComputer gives the whole workspace one bill and one machine.
- You have unusual infrastructure and an engineering team to spare: build your own, the way Ramp did.
Whatever you pick, measure it the same way: the share of agent pull requests that get merged without a rewrite. The comparison pages go deeper on each pairing.
FAQ
What is a background coding agent?
A background coding agent is an AI agent that writes code on a cloud machine without you watching each step. You give it a task, it clones the repository, makes the change, runs the tests and returns a pull request or a diff for you to review.
How is a background coding agent different from Claude Code or Cursor on my laptop?
A local agent runs on your machine and usually waits for you between steps, so it stops when you close the laptop. A background agent runs in the cloud on its own branch, keeps working while you do something else, and several can run at once.
How much does a background coding agent cost?
As of November 2026, most options start at $20 a month: ChatGPT Plus for Codex cloud, Claude Pro for Claude Code on the web, Devin Pro, and OpenComputer Pro for a whole Slack workspace. Cursor cloud agents start with the $30 Premium plan.
Can a background coding agent work from Slack?
Yes. Cursor, Devin and OpenComputer take tasks from Slack, and Codex does on ChatGPT Enterprise. Claude Code on the web no longer has a Slack entry point on Pro or Max plans after its earlier Slack app was retired.
Is it safe to let a background agent push code?
The usual safeguard is that the agent opens a pull request on its own branch instead of pushing to the default branch, so your normal code review and CI still decide what merges. Most products also isolate each task from your laptop and production systems.
Should we build our own background coding agent?
Only if you have unusual infrastructure and engineers to maintain it. Ramp built Inspect with custom images, warm pools, a Slack bot and an API. Most teams get similar results by connecting an existing agent to their repositories and chat.
Sources
- Codex cloud
- Codex cloud environments
- Codex pricing
- Claude Code on the web
- Claude Code in Slack
- Claude pricing
- Cursor cloud agents
- Cursor cloud agent capabilities
- Cursor pricing
- Devin environment
- Devin Slack integration
- Devin pricing
- Why We Built Our Own Background Agent (Ramp)
- OpenComputer quickstart
- Computer API overview