Cursor Origin
Cursor Agents and Automations on Origin Repositories
Cursor Automations and cloud agents can review, change and push code on Origin repositories. You point an automation at an Origin repo as you would at a GitHub or GitLab repo, with push, pull request and label triggers. Cloud agents can open Origin pull requests on repos created on Origin, and they open GitHub pull requests on mirrored repos.

On this page
How do agents work with Origin repositories?
Origin is in early beta. Its docs list what you can do there: create repos, push and pull with git, mirror from GitHub, browse and search code, open and merge pull requests, and share with your Cursor team. Agents reach those repos in three ways.
- Agent type
- Automations
- What it does on Origin
- Run cloud agents against an Origin repo on a schedule or when source-control events fire
- How you start it
- cursor.com/automations, the Agents WindowCursor's surface listing your agent runs; open a run to read its diff and search transcripts from the command palette. Press Enter for the full definition., or the
/automateskill
- Agent type
- Cloud agents
- What it does on Origin
- Clone, branch, commit and push to Origin repositories
- How you start it
- Attach one to an Origin repo from your team's codebase, as with other connected source control
- Agent type
- Local agents
- What it does on Origin
- Create Origin repositories through the Origin CLI
- How you start it
- Ask the agent in Cursor to create a repo on Origin
| Agent type | What it does on Origin | How you start it |
|---|---|---|
| Automations | Run cloud agents against an Origin repo on a schedule or when source-control events fire | cursor.com/automations, the Agents WindowCursor's surface listing your agent runs; open a run to read its diff and search transcripts from the command palette. Press Enter for the full definition., or the /automate skill |
| Cloud agents | Clone, branch, commit and push to Origin repositories | Attach one to an Origin repo from your team's codebase, as with other connected source control |
| Local agents | Create Origin repositories through the Origin CLI | Ask the agent in Cursor to create a repo on Origin |
Agent paths from Cursor's Origin agents documentation, checked October 17, 2026.
Cloud agents and local agents use your Cursor account's Origin access. The create-repository docs say agents have the same permissions as your account, and a create succeeds only if your account has access to Origin code storage.
Automations can be an exception, because their identity comes from the Run as setting. An automation set to Me runs with your auth. One set to Service account stops using your auth and runs as a service account dedicated to that automation. Cursor's Origin docs don't say what Origin access that account gets, so run a service-account automation once against one repo before you rely on it.
This is covered hands-on in Cursor Compile 2026 — 1 short Unit, free to read.
Rather do it than read about it? Run 11 interactive Cursor walkthroughs in a simulated editor. Free, no account needed.
How do you point a Cursor Automation at an Origin repository?
Automations run cloud agents on a schedule or when source-control events fire. You set one up for an Origin repo the same way you would for a connected GitHub or GitLab repo.
- 1Create the automation from cursor.com/automations, the Agents WindowCursor's surface listing your agent runs; open a run to read its diff and search transcripts from the command palette. Press Enter for the full definition., or the
/automateskill in a local agent session. - 2Choose the Origin repository, or a multi-repo environment that includes it.
- 3Set the trigger and write the prompt.
- 4Save and activate the automation.
The Origin docs name the common triggers for Origin repos. Push to branch fires on a push to a branch such as main or master. Pull request opened and Pull request pushed fire when a pull request opens and when new commits are pushed to it, and the docs add "related PR events" without naming them. Label change fires when a label is added to or removed from a pull request. The Automations docs hold the full trigger list, but that page lists triggers for each Git provider it supports and doesn't mention Origin.
Before you build on a trigger the Origin page doesn't name, run it once against an Origin repo and confirm it fires.
The Origin page leaves billing and sharing to the Automations docs. Automations create cloud agents and are billed on cloud agent usage. Personal accounts have no Share menu and always bill to you.
On a team account, the Run as setting decides who pays. Me bills you, and other members see that option as Creator. Service account bills the team's usage pool, and only team admins can choose it. The choice matters most for a trigger that fires often, such as a push to main, because under Me every one of those runs is billed to you.
Moving an automation to a service account stops it from using your auth. The Automations docs say to regenerate the webhook API key if the automation uses webhook triggers. MCPModel Context Protocol. A standard that lets an AI agent pull in context from outside the repo, like Jira tickets or internal docs. Press Enter for the full definition. servers and other integrations that rely on personal OAuth credentials need to be set up for the team's service account instead.
What can cloud agents do on Origin, and which pull requests do they open?
Cloud agents can clone, branch, commit and push on Origin repositories. Where they open a pull request depends on where the repository came from.
- On a repository created on Origin, cloud agents can open Origin pull requests.
- On a repository mirrored from GitHub, cloud agents open GitHub pull requests, and GitHub stays the source of truth.
You attach a cloud agent to an Origin repo from your team's codebase, the same way you attach one to other connected source control. A pull request that an agent opens on a mirrored repo lives on GitHub, but you can still review it in Cursor. The mirrored repo's Pull Requests tab shows GitHub pull requests.
If you plan agent work across both kinds of repo, list the mirrored ones separately. Their issues, GitHub Actions workflows and secrets also stay on GitHub, because the mirror doesn't copy them.
What do you need in place before agents can use Origin?
You need a plan that includes Origin. The mirror docs list a Cursor account with Origin access on Premium or higher, Teams, Enterprise, or a legacy paid Cursor plan. Automations need a plan that includes them too. This matters on legacy Start: Origin's overview lists Start among the plans with Origin, but Cursor's legacy plans page says Start doesn't include Automations.
To mirror a GitHub repository, you also need the Cursor GitHub app connected to the org or account that owns the repo. You need GitHub admin access on that repository as well, because enabling the mirror requires it. Mirroring copies the repo into Origin and keeps Origin updated as the GitHub repo changes.
An automation also has a repository setting with three choices: no repository, a single repository and branch, or a multi-repo environment. Source-control triggers require a repository or a multi-repo environment. With no repository, the agent doesn't clone code and can't edit code or open pull requests.
We suggest setting things up in this order. First confirm your plan and Origin access, plus the GitHub app and admin access if you will mirror. Then create or mirror the repository, and attach an agent or automation last. Each step depends on the one before it: a create needs access to Origin code storage, and an automation with a source-control trigger needs a repository to point at.
Can a local Cursor agent create an Origin repository?
Yes. A local agent in Cursor can create one with the Origin CLI (origin), which is a separate tool from the Cursor Agent CLI (agent). Ask an agent to store a project on Origin, and the CLI docs say it can install the CLI, sign in, create the repo, set the remote and push. These are the same steps you would run by hand.
- 1Install the Origin CLI with
curl -fsSL https://downloads.cursor.com/origin/install.sh | sh. The binary lands at~/.local/bin/origin, so add that directory to yourPATHif your shell cannot find it. - 2Sign in with
origin auth loginand complete the browser flow with the Cursor account that has Origin access. Signing in also sets up the git credential helper, sogit pushandgit pullagainst Origin remotes work without further setup. - 3Create the repository with
origin repo create my-project. Without a slash, it is created in your account's namespace. - 4Set the remote and push.
To create the repo in the browser instead, open cursor.com/codebase and select New. That gives you an empty repo, which you then clone, or add as a remote and push to from your machine.
Frequently asked questions
Which triggers can start an automation on an Origin repository?
Cursor's Origin docs list push to a branch such as main, pull request opened and pushed, and a label added to or removed from a pull request as common triggers. The Automations docs hold the full trigger list but don't mention Origin, so test any other trigger on an Origin repo first.
Do cloud agents open Origin pull requests or GitHub pull requests?
It depends on the repository. On a repo created on Origin, they can open Origin pull requests. On a repo mirrored from GitHub, they open GitHub pull requests, which you can still review in Cursor.
Whose permissions do agents use on Origin?
Your Cursor account's. Agents use the same permissions as your account, and creating a repository requires access to Origin code storage. An automation set to run as a service account stops using your auth and runs as that account instead.
Who pays for an automation that runs on an Origin repository?
Automations create cloud agents and are billed on cloud agent usage. On a team account, Run as decides who pays: Me bills the creator, and Service account bills the team's usage pool. Personal accounts always bill to you.
Is the Origin CLI the same as the Cursor Agent CLI?
No. The Origin CLI, called origin, is separate from the Cursor Agent CLI, called agent. You install the Origin CLI with its own installer and sign in with origin auth login.
Sources & last verified
- Cursor docs: Origin agents and automations
- Cursor docs: Create an Origin repository
- Cursor docs: Install the Origin CLI
- Cursor docs: Automations
- Cursor docs: Mirror a GitHub repository
- Cursor docs: Origin overview and plan access
- Cursor docs: Origin pull requests
- Cursor docs: Legacy Cursor plans
Cursor ships frequently. Facts verified against primary sources on October 28, 2026.