Overview
Split a large codebase change into small tasks, run several Cursor cloud agents in parallel on separate branches, and review each round of pull requests before planning the next.
Problem or Objective
- Which agents build a non-trivial feature with you?
- Which agents port code to another language or framework?
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Tools
- Cursor · GitHub
- Prerequisites
- A Cursor plan that includes Cloud Agents (Premium and higher, Teams, Enterprise, or a legacy paid plan) and source control connected for the account by a Cursor account admin.
How It Works
Ask a Cursor account admin to connect GitHub or another supported source control provider, and confirm your plan includes Cloud Agents. In the Cursor editor, ask the agent to read the repository and write a plan file that splits the change into independent tasks, each with clear file boundaries and a test command. Review and edit the plan yourself. Start one cloud agent per approved task; each clones the repository, works on its own branch and pushes its changes for handoff. When a round finishes, review each pull request and its test results, merge only what passes, note where work drifted from the plan, and update the plan before starting the next round.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Cursor.
- Connect the toolsConnect the tools this workflow relies on: Cursor, GitHub.
- Check the prerequisitesA Cursor plan that includes Cloud Agents (Premium and higher, Teams, Enterprise, or a legacy paid plan) and source control connected for the account by a Cursor account admin.
- Gather your detailsCollect what the prompt asks for: Plan file, The large change, Most tasks per round, Test command.
- Run the starter promptPaste the starter prompt below into Cursor and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at cursor.com before you rely on it.
Practical Starter Prompt: Split this change into parallel agent tasks
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Read this repository and write [Plan file] that splits [The large change] into at most [Most tasks per round] independent tasks. For each task, list the files it may touch, the files it must not touch, and how to prove it works with [Test command]. Flag tasks that depend on each other. Do not change any code yet; I will review the plan and start one cloud agent per approved task.Approve the plan before starting cloud agents, review and merge each pull request yourself, and update the plan after every round.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. Cursor's documentation says you can run as many cloud agents as you want in parallel, each in an isolated cloud environment on a separate branch, after an admin connects source control. No cited page describes an automatic planner or judge across rounds, so planning and review between rounds are done by you.
Limitations and Considerations
Cloud Agents need a plan that includes them (Premium and higher, Teams, Enterprise or a legacy paid plan) and use your plan's usage at the selected model's rate, so many parallel agents cost more. Cloud agents run all terminal commands automatically, which the docs say brings a data exfiltration risk from prompt injection, so limit secrets and network access. Merge nothing without review. Results depend on your setup and were not independently reproduced by Top 200 Repos.
Sources
- Cloud Agents | Cursor Docs (opens in a new tab)
Project documentation · cursor.com · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- 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.
- Cloud agents 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.
- You need a plan that includes Cloud Agents: Premium and higher, Teams, Enterprise, or a legacy paid plan.
- Secrets & Network | Cursor Docs (opens in a new tab)
Project documentation · cursor.com · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- Auto-running introduces data exfiltration risk: attackers could execute prompt injection attacks, tricking the agent to upload code to malicious websites.