Problem Agents need a sandbox, not your cloud account
A repo that uses BigQuery, Pub/Sub, Firestore, Cloud Storage, Spanner, Bigtable, or Terraform often expects a real GCP project. If an agent follows that path blindly, a local test can become a credential request, a billing event, or a mutation against shared infrastructure.
LocalCloud changes the default. The agent starts a local runtime, exports emulator environment variables, and proves one narrow SDK or Terraform path against localhost. Production validation still happens later, deliberately, against real Google Cloud after emulator variables are removed.
What changed A canonical agent entry point
The agent-facing entry point is /ai/agents.md. It is raw Markdown so coding agents can fetch it without parsing a rendered page. The human companion page is /ai/, which explains the workflow, copy prompts, service matrix, safety boundaries, AGENTS.md template, Agent Skills package, and raw Markdown resource index.
- /ai/services.md gives agents the service matrix and endpoint variables.
- /ai/compatibility.md keeps limitations and production boundaries explicit.
- /ai/docs.md points agents to SDK, Terraform, seed data, and console docs.
- Agent Skills provide portable workflows for BigQuery, Pub/Sub, Terraform, internal automation, seed data, and SDK tests.
- LocalCloud MCP integration provides structured tools and prompts through the runtime’s canonical
/mcp endpoint and the localcloud mcp stdio bridge.
How it works One local loop agents can execute
1. Start LocalCloud
docker pull jaysen2apache/localcloud:latest\ndocker volume create localcloud-data
docker run -d --name localcloud \
-p 127.0.0.1:24080-24092:24080-24092 \
-m 4g \
-v localcloud-data:/var/lib/localcloud \
jaysen2apache/localcloud:latest
2. Export localhost SDK endpoints
eval "$(localcloud env)"
3. Verify readiness
curl -fsS http://localhost:24080/health
4. Run the smallest local proof
Create one dataset, topic, bucket, document, or table through the same SDK path the project uses. If a feature is unsupported locally, document the gap instead of using real GCP as a fallback.
Safety model The boundaries are part of the product
- States that LocalCloud is limited to uses permitted by the governing proprietary license and is not a production GCP replacement.
- Keeps bounded local workflows on loopback endpoints and stops rather than requesting or falling back to real Google Cloud credentials.
- Uses the reviewed image repository jaysen2apache/localcloud:latest; the mutable tag remains release-unverified, so prefer localcloud start and pin a qualified digest for release workflows.
- Points SDKs and Terraform to localhost/emulator endpoints before any verification step.
- Warns agents to stop rather than falling back to real GCP when Docker or LocalCloud is unavailable.
- Links service-specific claims to the service catalog, compatibility docs, or reviewed evidence.
- Instructs production validation against real Google Cloud after unsetting emulator environment variables.
The proprietary Public Preview License permits individuals and organizations, including for-profit companies, to use LocalCloud for non-production development, testing, CI, evaluation, and internal pilots. It is not a production Google Cloud replacement. Use the service catalog and compatibility page before relying on a local result, then validate release behavior against real Google Cloud.