Background agent
A background agent is an AI agent, usually a coding agent, that works on a task by itself in a separate remote environment while the person who assigned it gets on with something else, then hands back finished work for review.
Most AI coding help started inside the editor, with a person watching each suggestion. A background agent works asynchronously instead. You describe a task, the agent goes off to its own machine in the cloud, and you come back later to a set of changes, usually in the form of a pull request.
OpenAI's Codex, launched on May 16, 2025, was built this way. It could work on many tasks in parallel, each in its own cloud sandbox loaded with the user's code, and tasks typically took between 1 and 30 minutes. At launch it had no internet access while working; in June 2025 OpenAI let users switch access on. It ran on codex-1, a version of OpenAI's o3 model tuned for software engineering.
GitHub's Copilot coding agent, announced on May 19, 2025, shows the workflow in detail. A developer assigns a GitHub issue to Copilot. The agent starts a cloud environment powered by GitHub Actions, copies the repository, studies the code and pushes its commits to a draft pull request, with logs showing what it did. When it finishes it asks the developer for review and responds to comments. Guardrails are built in: it can push only to branches it created, the person who requested the work cannot approve the pull request, its internet access is limited to a trusted list, and a human must approve before automated workflows run on its changes.
The appeal is parallel work: several well-defined tasks, such as fixing small bugs or adding tests, can run at once. The cost moves to review. Every change still needs someone to read and understand it, and because no one watches each step, the sandbox, the permissions and the tests carry more of the weight.
It is an AI agent that takes a task and works on it unattended in its own environment, usually in the cloud, while you do other things. When it finishes it returns the result, typically as a pull request or a set of code changes for you to review. A coding assistant works alongside you in your editor, and you see and accept each change as it happens. A background agent works out of sight on a separate machine and delivers a finished piece of work. Many products now offer both modes. It depends on the safeguards. Well-designed services run each task in an isolated environment, limit internet access, restrict which branches the agent can change, and require human review before anything is merged or deployed. Treat its output like a pull request from a new colleague and review it properly.Common questions
What is a background agent?
How is a background agent different from a coding assistant?
Is it safe to give a background agent access to my code?
Search for "asynchronous coding agent", "cloud coding agent" or the name of a specific product to see how they work. The most reliable sources are the providers' documentation and changelogs, which describe environments, permissions and limits, and independent evaluations on public benchmarks. Treat launch demonstrations with care: they show tasks chosen to succeed.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.