← Back to blog

Background Agents: What They Are and How to Start

Updated 2026-11: what background agents are, where they run, whose account they act as, the risks to watch, and how to hand one your first task.

13 min read

Background Agents: What They Are and How to Start Safely

Updated 2026-11

TL;DR: Background agents are AI agents that take a task, run on their own machine in the cloud, and hand back a result such as a pull request while you do something else. Cursor's docs, fetched in November 2026, say "Cloud Agents were formerly called Background Agents" and that they run in isolated VMs instead of on your local machine. Start with one repeatable task, give the agent only the access it needs, and review what it returns before you merge or send it.

What Are Background Agents?

Background agents are agents that keep working when you are not typing to them. In a November 2026 interview clip, Box CEO Aaron Levie said the chat experience is gonna be alive and well, because sometimes you just literally have a thing you have to prompt the system to go do. But the form factor that will have the greatest impact is probably gonna be some degree of agents that are sort of always on and just running in your processes. You haven't asked the system to do anything. Maybe your company has wired up agents inside of a business process.

And then everything just gets better about that process. Take a simple example: you're a sales rep and you're going into a customer conversation. Three years from now you probably shouldn't have to prompt "tell me everything there is to know about this customer." There should probably be a micro agent swarm that has already done all of that research for you, presenting it alongside whatever that briefing is: who you're meeting with, the org chart of who's in the meeting, all of the dynamics of the deal.

You're still going to be prompting agents a ton. These are going to be like colleagues alongside you, running and executing tasks for you in various workflows.

In a January 2026 podcast clip, a guest on Heroku's show described the same move: we are slowly moving forward from use case driven agents to a lot of autonomous agents, background agents, where all the low entropy work that we are doing, the agent does in the background. As a human, you focus on the right key impactful business use cases.

Chat assistantBackground agent
Starts whenYou type a promptA task, schedule, PR or event arrives
Runs onYour open sessionA machine in the cloud
You get backAn answerA finished result, often a PR

Where Background Agents Run

The short answer is that background agents run on a dedicated machine, not on your laptop. At the Background Agents Summit in May 2026, Cole Murray of Open Inspect explained why: the session count is going to continue to grow, and you're going to have an ever increasing problem where the resources of your machine are just not going to be able to handle this load. So unless your plan is to have a supercomputer underneath your desk, you're going to have to find a different way to solve this problem. The vendors listed below all answered the same way, with one virtual machine or cloud environment per agent.

  • Cursor: Cursor's docs, fetched on 2026-11-30, say "You can run as many agents as you want in parallel, and they do not require your local machine to be connected to the internet."
  • OpenAI Codex: OpenAI's docs say to "give Codex coding tasks to work through in the cloud, from investigating bugs to building features," and each cloud task "has a virtual machine to itself."
  • Gemini Spark: At Google I/O on May 19, 2026, Google introduced Gemini Spark as your personal AI agent that helps you navigate your digital life, taking action on your behalf and under your direction.
  • Ona: Ona's site, fetched on 2026-11-30, says "Task in, pull request out," and that automations "run on PRs, schedules, or webhooks."

On stage, Spark's pitch was simple. It runs on dedicated virtual machines on Google Cloud and it's 24/7. And yes, you can close your laptop.

The Google blog post introducing Gemini Spark, May 19, 2026

Google's May 19, 2026 post on Gemini Spark, an agent that helps "around the clock."

Ona's homepage: Run background agents in the cloud

Ona's homepage, fetched 2026-11-30.

What People Hand to Background Agents

The best first jobs for background agents are tasks with a clear finish line. In an August 2025 demo of a beta tool called Swarm, Claude background agents ran in the cloud: you create a new task, and you can see the task is running immediately in the cloud on your codebase. You can create even more complicated tasks that take a while to finish. Once Claude is done making code changes, it'll push a PR directly to GitHub. Code work is only 1 of 3 patterns that showed up across demos from 2025 and 2026.

What's really cool is once Claude is finished with a task, you can still chat with that task, and it will update the same PR. If the plan didn't execute properly, you can change the plan, and you can just go back to doing what you're doing, because all of this is in the cloud, not on your local machine, so it doesn't pollute your git context.

Swarm demo: a list of cloud tasks, each with its own PR status

Frame from an August 2025 X video demo of Swarm, Claude background agents in the cloud.

Personal chores are the second pattern. In the Gemini Spark demo, you see a dashboard with all the different tasks you have going on in the background, and it allows you to check in on these things. One task was "Help me draft an email to the team, compile everything about our recent Gemini Live launches and wins from the last week." Compile everything goes across docs, email, your chats, and grabs the most important information that you need for this update. It'll create the drafts, and under your control, you can send them.

Spark is also amazing at just brain dumping things on your mind. You can just throw tasks over your shoulder. Then you can just put your phone away and get on with your day, and Spark works in the background for you. You check in later to see how it's doing.

Team tasks are the third. In an October 2026 demo from Willow, a task assistant agent has connections to Linear and Slack. You ask what tasks you have for today, and it reads all your tasks in Linear and gives you your priorities.

Whose Account Does a Background Agent Use?

Every background agent is acting as someone, so decide who before you connect it to anything. Willow's October 2026 demo shows one answer: the setting "acts on behalf of the triggering user." It means the agent has no account of its own. It uses the account of the person who talks to it. This is a shared agent on Slack. Everyone in the company can use it, and it acts on behalf of each person. When asked to check on a logging bug, it actually sent the message on the user's behalf. Cursor's docs, fetched in November 2026, describe the other answer: agents started from multiplayer surfaces run under a team-owned service account by default.

One agent for everyone. And it always works as you.

That is convenient, and it is also the reason to keep access narrow. Give the agent only the apps the task needs.

The Risk: Background Agents Nobody Watches

The main risk of background agents is that they work where you cannot see them. A security demo posted in July 2026 showed how that can go wrong on a ChatGPT agent. One morning a user gets an email with a link and clicks it. Hidden in that link are malicious instructions. Right when it opens, the user's own ChatGPT session begins following those instructions without approval. It builds an agent and connects every app: Gmail, Outlook, Slack, Teams, Google Drive, SharePoint and the calendars.

Then it switches every connector to never ask, turning off approvals that would normally stop the agent before it emails or writes data. Finally, it adds recurring schedules, so the agent continues to run every 5 minutes. Normally, this runs in the background, hidden from the user. The demo ends with a line worth remembering:

One link leaves behind an insider that quietly works for someone else.

The fixes follow from the demo. Keep approvals on for emails and writes. Review every recurring schedule an agent has. Remove connectors the task does not use. Google said in May 2026 that Spark is designed to ask you first before high-stakes actions like sending emails.

How Background Agents Change Engineering Work

The big change is that background agents move engineers from writing every line to running a line of agents. At the May 2026 summit, Cole Murray said engineers are no longer writing code by hand, but instead autonomously driving agents to deliver this code. As this shift plays out, the role of the engineer is shifting. In the old world, an engineer could be seen as an artisan. They were handcrafting their code. The quality of that code heavily relied on who was actually crafting it, and they were kind of working on one primary task at a time.

Background Agents Summit talk: from software engineering to software manufacturing

Frame from Ona's May 2026 X video of the Background Agents Summit.

As the agents are becoming more capable, engineers are acting more as production line managers. So you need to start building infrastructure that models this changing world, and what that looks like is basically a production line. For a tool-specific view, see Cursor background agents, Claude Code background tasks and Codex cloud vs local.

How to Start With Background Agents

The safest start is one task you already repeat every week, not your whole workflow. In a November 2026 interview about the context AI needs, a guest said businesses are just made up of all of these different knowledge artifacts: the org chart, the spreadsheets, the various levels of documentation, the things that live in people's heads. It's not about just shoving a bunch of documents at it, which is definitely a first step, but about how you curate and validate and make sure the world that this model understands actually matches how you understand it. The 4 steps below keep that work small.

  1. Pick one task with a clear output, such as a bug fix that ends in a PR or a weekly status draft.
  2. Give it an environment and context: the repo or docs it needs, and nothing else.
  3. Keep approvals on for emails, writes and new schedules.
  4. Review the result before you merge, send or schedule it again.

If the agent will run for hours, read long running AI agents for how to keep it on track.

Check a Background Agent's Result in Pachat

A background agent's result is worth a second opinion before you act on it. Pachat is a web product at pachat.ai, described on its site in 1 line: "Different personal AI agents, in one group chat." Pachat also has apps for Mac, Windows, Linux and iPhone. As of November 2026, it gives you a place to test a PR summary, a status draft or a research brief from a background agent against several agents at once. For how people use several agents in one room, see How People Use Multi-Agent Group Chats.

  1. Copy the summary or result the background agent returned.
  2. Open pachat.ai and put your Claude, Grok Bot, Muse and ChatGPT dots in one group chat.
  3. Paste it in. They check each other's facts and argue it out, then you make the call.
The Pachat homepage: Different personal AI agents, in one group chat

The pachat.ai homepage, November 2026.

FAQ

What are background agents?

Background agents are AI agents that take a task and work on it without you watching, usually on their own virtual machine in the cloud, then return a result such as a pull request or a draft. Cursor's documentation, fetched on 2026-11-30, says its Cloud Agents were formerly called Background Agents and run in isolated VMs instead of on your local machine. Google's Gemini Spark, announced on May 19, 2026, works the same way for personal tasks.

How are background agents different from a chat assistant?

A chat assistant waits for your prompt and answers while you watch. A background agent is triggered by a task, a schedule, a PR or an event, runs on its own, and hands back a finished result. In a November 2026 interview clip, Box CEO Aaron Levie said chat will stay alive and well, but agents that are always on and running inside business processes will have the greatest impact over the next few years.

Where do background agents run?

Most run on a dedicated cloud machine. OpenAI's Codex docs, fetched in November 2026, say each cloud task has a virtual machine to itself. Cursor's docs say you can run as many agents as you want in parallel without your local machine being connected to the internet. Google said on May 19, 2026 that Gemini Spark runs on dedicated virtual machines on Google Cloud, 24/7, so you can close your laptop.

Are background agents safe to use?

They are as safe as the access you give them. A July 2026 security demo showed a malicious link turning a ChatGPT session into an agent that connected every app, switched connectors to never ask, and ran every 5 minutes in the background. Keep approvals on for emails and writes, review recurring schedules, and connect only the apps a task needs. Google said in May 2026 that Spark asks first before high-stakes actions.

Whose account does a background agent act as?

It depends on the setup, so check before you connect apps. In Willow's October 2026 demo, a shared Slack agent acts on behalf of the triggering user: it has no account of its own and uses the account of whoever talks to it. Cursor's docs, fetched on 2026-11-30, say agents started from multiplayer surfaces run under a team-owned service account by default. Either way, scope its access to the 1 task you give it.

What is a good first task for a background agent?

Pick 1 repeatable task with a clear output and an easy review step. In an August 2025 demo, a cloud agent created a file and pushed a PR directly to GitHub, and you could keep chatting with the finished task to update the same PR. Google's May 2026 Spark demo drafted a team update email from the last week of docs, email and chats. Bug fixes, status drafts and research briefs are good starting points.

Can Pachat check what a background agent produced?

Yes. Pachat is a web product at pachat.ai, and its site, as of November 2026, describes it in 1 line: "Different personal AI agents, in one group chat." Pachat also has apps for Mac, Windows, Linux and iPhone. Copy the PR summary, draft or brief your background agent returned, then put your Claude, Grok Bot, Muse and ChatGPT dots in one group chat and paste it in. They check each other's facts and argue it out, then you make the call. Start at pachat.ai.

Want a second opinion on what your background agent did? Try pachat.ai.

References

  1. Cloud Agents, Cursor docs, fetched 2026-11-30
  2. Codex cloud, OpenAI docs, fetched 2026-11-30
  3. The Gemini app becomes more agentic, Google blog, 2026-05-19
  4. Sundar Pichai at I/O 2026, Google blog, 2026-05-19
  5. Ona, ona.com, fetched 2026-11-30
  6. @ona_hq, X, 2026-05-21
  7. @withwillowai, X, 2026-10-15
  8. @deanoukanah, X, 2026-05-20
  9. @heroku, X, 2026-01-07
  10. @mfishbein, X, 2026-11-23
  11. @jmvldz, X, 2025-08-15
  12. @taksec, X, 2026-07-31
  13. @theahmedkaiz, X, 2026-11-26

More from the blog

All articles →

Start with the decision in front of you.