LocalCloud AI agent sandbox
Get started
local.cloud — AI agent sandbox .md Open tab
Glossary

AI agent sandbox

A constrained environment where an AI coding agent can run commands, write code, and verify behavior without causing unwanted external side effects.

In LocalCloud

AI agent sandbox with LocalCloud

  • It has two boundaries: where the agent's code runs (execution) and what that code can call (dependencies).
  • Code sandboxes such as E2B, Vercel Sandbox or Docker Sandboxes contain execution; LocalCloud contains Google Cloud dependencies, so agent-written cloud calls resolve to localhost.
  • A sandbox with real cloud credentials can still create real cloud resources and charges, and an emulator without a sandbox still lets generated shell commands touch the host, so most agent setups that handle cloud code use both.
Copy-ready setup

Commands and prompts

Copy a prompt for your coding agent

Start LocalCloud

Give an agent one URL and have it start the local GCP sandbox.

Fetch https://local.cloud/ai/agents.md and follow the instructions to start LocalCloud on my machine. Install the LocalCloud CLI if it is missing, verify Docker, start or reuse LocalCloud, export emulator environment variables, and run one local GCP SDK/API smoke check. Do not ask for or use real GCP credentials.
Desktop view