Cloud Agents
Choose where Cloud Agents run
Managed Cloud Agents run each agent in an isolated cloud VM with managed lifecycle, saved environments, artifact capture, and dashboard controls for secrets and network access.
Self-Hosted Machines runs tool calls on hardware you control through My Machines or pools. The agent loop still runs in Grok Build's cloud.
Managed VMs run on x86_64 (amd64). For arm64, run a self-hosted worker on arm64 hardware with My Machines or a pool.
Self-hosted or managed: which is right for you?
Managed Cloud Agents cover the requirements of most teams. Use this decision tree to evaluate what works best for your organization.
- 1
Do written policies require the repository checkout and tool execution to stay inside your perimeter?
This requirement usually comes from a compliance or security policy, not a team preference. The agent loop and inference stay in Grok Build's cloud either way.
Yes: Self-Hosted Machines, perimeter constraint.
- 2
Do agents need internal services that stay unreachable through Tailscale, PrivateLink, or egress allowlists?
Managed Cloud Agents reach most private networks through Tailscale, PrivateLink, or egress allowlists.
Yes: Self-Hosted Machines, network reach.
- 3
Do you need a custom OS, special hardware, or persistent local disk for a large repo?
Managed Cloud Agents run on Ubuntu VMs, and a Dockerfile customizes the tooling. Contact your enterprise account team for ARM support.
Yes: Self-Hosted Machines, hardware or disk.
Every answer no: managed Cloud Agents
Managed infrastructure, elastic concurrency, and every Cloud Agent feature.
If any answer was yes, choose a self-hosted configuration:
- Pools: recommended for teams and enterprises.
- My Machines: personal workflows on a single machine.
Quick comparison
| Option | Choose it when | What you manage |
|---|---|---|
| Managed Cloud Agents | You want Grok Build to manage VM provisioning, isolation, snapshots, startup, artifacts, capacity, and environment deployment after setup. This is the recommended path for most teams. | First-time environment configuration, secrets, repository access, and network policy. Grok Build manages the host and environment lifecycle after that. |
| My Machines | You want a personal laptop, devbox, or remote VM to execute tool calls for a specific user and repo. | The machine, worker process, local checkout, credentials, uptime, disk, network access, and keeping the machine in a clean working state. |
| Pools | You need an org-managed worker fleet with service account auth, pool routing, labels, Kubernetes, autoscaling, or dedicated hardware. | Hosts, images, VM resets, capacity, autoscaling, worker updates, monitoring, secrets, network access, and incident response. |
Start with managed Cloud Agents
Managed Cloud Agents are usually the lowest-operations way to give agents secure access to code and internal systems.
Use the managed path when you can configure access through:
- Cloud Agent environments with setup commands, Dockerfiles, snapshots, and secrets.
- Network access controls that restrict outbound domains by user, team, or environment.
- Tailscale or a similar private-network client inside the environment when agents need to reach services in your VPC or intranet.
- Private connectivity for private GitHub Enterprise Server, GitLab Enterprise, package registries such as Artifactory or Nexus, private source control APIs, and related webhook traffic.
This lets Grok Build operate the agent infrastructure after setup while your team controls which repos, secrets, and network resources each environment can reach.
When my machines fits
My Machines works best for personal or small-scale workflows where a specific user already has a machine with the right checkout, tools, credentials, and private network access.
Use it for:
- A developer's devbox or remote workstation.
- A one-off repo that depends on local state you do not want to recreate in a cloud environment.
- A quick test before building a centrally managed worker pool.
My Machines is not an org-wide fleet system. Each worker belongs to the user who started it, targets the repo where it was started, and must stay online while sessions run. You also own cleanup: wiping state, refreshing the checkout, repairing dependencies, and keeping the machine ready for the next run.
When pools fit
Pools are for Enterprise teams that want centralized ownership of worker hardware or need to route work to specific fleets.
Use a pool when you need:
- Service account authentication instead of per-user worker login.
- Kubernetes, autoscaling, labels, and fleet monitoring.
- Dedicated hardware profiles, such as GPU workers or high-memory build machines.
- Company-managed hosts that execute all terminal commands, file edits, browser actions, and local MCP servers.
The tradeoff is operational ownership. Your team runs the fleet, keeps enough workers available, patches and flashes images, resets VMs between runs, manages capacity, rotates credentials, monitors health, and handles host failures. If your primary requirement is private network access, try managed Cloud Agents with network controls, Tailscale, or private connectivity first.
Security model differences
All three options support Privacy Mode. The main difference is where tool execution happens and who operates that execution environment. Secrets differ too: My Machines use the machine's own credentials, and pools receive dashboard secrets only through Secret sync.
| Question | Managed Cloud Agents | My Machines | Pools |
|---|---|---|---|
| Where does the agent loop run? | Grok Build's cloud | Grok Build's cloud | Grok Build's cloud |
| Where do tool calls run? | Managed isolated VM | Your machine | Your worker |
| Who manages host and environment lifecycle? | Grok Build, after first-time environment configuration | You | Your team |
| How do agents reach private resources? | Environment networking, allowlists, Tailscale or similar clients, and private connectivity for supported source control paths | Your machine's existing network | Your worker fleet's network |
| Which environment settings apply? | All of them | Repository list only | Repository list only |
| Which dashboard secrets reach the machine? | Team, user, and environment-scoped secrets | None | Team and user secrets, with Secret sync |
| Best operational fit | Most teams and repos | Individual users and specific machines | Centralized enterprise fleets |
Next steps
- Cloud Agent setup: stay on managed Cloud Agents and configure environments, secrets, and network access.
- My Machines: connect a personal laptop, devbox, or VM.
- Pools: set up a shared pool for your team.
- Computer use on macOS and Linux workers: let agents drive a desktop and browser on your machines.
Last updated: November 23, 2026