1 · Decide
Compare Cursor-hosted vs. self-managed execution. Confirm security, compliance, and SDLC fit before committing infrastructure.
A decision and rollout guide for platform, security, and engineering leaders evaluating a centrally managed pool of self-hosted Cloud Agent workers. Keep code execution, build artifacts, and secrets inside your network while Cursor handles orchestration, model access, and the Cloud Agent experience.
Self-hosted Cloud Agents are an Enterprise capability for teams that need async agent workflows without sending tool execution outside the corporate boundary. Use this page to align stakeholders on the decision, confirm readiness, design the pool architecture, and execute a phased rollout with measurable exit criteria.
Compare Cursor-hosted vs. self-managed execution. Confirm security, compliance, and SDLC fit before committing infrastructure.
Validate Enterprise prerequisites: Privacy Mode, SSO/SCIM, service accounts, network egress, and approved use cases.
Stand up a pilot pool, enable dashboard routing, expand via IdP groups, and operationalize monitoring and autoscaling.
This guide deep-dives on self-managed pools — it does not replace Phase 1 governance or Phase 3 expansion. Complete identity, spend controls, and pilot ROI validation first. Your Solutions Architect should lead the architecture review; your ADM owns executive alignment and adoption metrics.
Isolated VMs in Cursor infrastructure. Fastest path to async agents; code is cloned into Cursor-managed sandboxes.
Best for: Teams comfortable with Cursor-managed execution, rapid experimentation, low ops overhead.
Individual developers register personal workstations as workers. Good for ad-hoc runs with local repo access.
Best for: Power users, personal workflows, proofs of concept before fleet investment.
Admins operate shared workers in your Kubernetes cluster, VMs, or Cloud Run. Service account auth; labels route work by team, repo, or environment.
Best for: Regulated industries, network-segmented repos, internal build caches, CI-like agent runners at scale.
| Criterion | Favor self-managed pool | Favor Cursor-hosted |
|---|---|---|
| CriterionData residency & tool execution | Favor self-managed poolPolicy requires code, builds, secrets, and terminal commands to stay in-network | Favor Cursor-hostedPrivacy Mode + contractual controls are sufficient; no hard residency requirement |
| CriterionInternal system access | Favor self-managed poolAgents need private package registries, internal APIs, VPN-only services, or large local caches | Favor Cursor-hostedWork is limited to public repos and standard SaaS integrations |
| CriterionOperational model | Favor self-managed poolPlatform team can operate worker fleets (K8s, autoscaling, image pipelines) | Favor Cursor-hostedNo capacity to run and patch agent worker infrastructure |
| CriterionScale & concurrency | Favor self-managed poolDozens to thousands of parallel workers; custom autoscaling via fleet management API | Favor Cursor-hostedModerate async usage; default limits (10 workers/user, 50/team) are adequate |
| CriterionTime to value | Favor self-managed pool4–8 week runway acceptable for infra + security review | Favor Cursor-hostedNeed agents live within days of Phase 3 kickoff |
Workers open a long-lived outbound HTTPS connection to Cursor. The agent loop (inference and planning) runs in Cursor's cloud; tool calls execute locally on your workers. Repos, build caches, secrets, and terminal commands stay in your environment. Workers need egress only — no inbound ports or VPN tunnels. Session artifacts (screenshots, videos) upload to Cursor for PR and dashboard visibility.
cursor-platform-admins, cursor-agent-pilot)Pool workers authenticate with service account API keys only. User, personal, team, and organization API keys cannot start pool workers.
api2.cursor.sh, api2direct.cursor.sh, and downloads.cursor.comSSO/SCIM live, self-hosted routing policy set in dashboard, service account keys issued and stored securely, network egress approved, approved use cases documented, and Cloud Agent creation restricted to pilot IdP groups.
Helm chart + operator manage WorkerDeployment resources. Rolling updates preserve busy workers; autoscaling via readyReplicas.
Managed containers with optional autoscaler polling the fleet management API for utilization-based scaling.
Run agent worker --pool under systemd or your process manager. Good for fixed-capacity teams or GPU profiles.
Poll /v0/private-workers/summary and /v0/private-workers/pending-requests to scale capacity when users wait for workers.
agent CLI (curl https://cursor.com/install -fsS | bash) and git on PATH--worker-dir (up to 20 paths)agent worker --pool debug --json preflight before promoting images to production pools
Use --pool-name to segment fleets (e.g. gpu, staging, platform).
Worker labels (--label team=backend, --label env=production) control which sessions
match which workers. Users select pools from the Cloud Agents dropdown or via Slack/GitHub/Linear triggers.
| Pool pattern | Example | When to use |
|---|---|---|
| Pool patternDefault pool | Exampledefault (no --pool-name) |
When to useGeneral-purpose pilot; gradual rollout before named pools |
| Pool patternEnvironment-scoped | Example--pool-name staging |
When to useSeparate dev/staging/prod network boundaries and secrets |
| Pool patternTeam-scoped | Example--label team=payments |
When to useRoute work to specialists with domain-specific tooling |
| Pool patternHardware-scoped | Example--pool-name gpu |
When to useML repos, large builds, or accelerated compile farms |
| IdP group | Cursor control | Pool access |
|---|---|---|
IdP groupcursor-platform-admins |
Cursor controlAdmin + pool operator | Pool accessDeploy workers, view fleet dashboard, configure routing policy |
IdP groupcursor-agent-pilot |
Cursor controlCloud Agent creation allowed | Pool accessRun agents against default or staging pools |
IdP groupcursor-all-engineering |
Cursor controlIDE access only (initially) | Pool accessAgent access added after pilot metrics prove stable |
WorkerDeployment or manual agent worker --pool)cursor-agent-pilot IdP group only/v0/private-workers/summary; tune readyReplicas or autoscaler thresholdspool= and repo= labels for automationProduction pool operational with autoscaling, pilot workflows documented and repeatable, security sign-off on audit correlation, spend tracked in pooled usage dashboard, and expansion cohort approved by engineering leadership.
/v0/private-workers/pending-requests queue depth — scale before users wait/metrics from workers (via --management-addr) into your observability stackagent CLI versions in images; test in staging pool before production rolloutSee the Cloud Agents blocked or stalled play in Risk Mitigation Plays. Common blockers: security freeze, missing architecture review, or pilot group without documented workflows. Escalate to your Solutions Architect for a joint session with InfoSec and platform engineering.
Official Cursor references for pool design, deployment, and fleet management.