Summary
Google AI Studio announced on November 11 that developers building with Managed Agents on the Gemini API can now bring their own sandbox and run tools inside compute infrastructure they control. Official docs describe environments as Linux sandboxes where agents execute code and persist files. They are decoupled from conversation context, so the same environment can be reused or a new one started at any time. Google hosts the sandbox by default, or a self-hosted environment can be connected instead. A self-hosted environment connects over outbound HTTPS with the open-source Gemini API CLI and does not require inbound firewall ports: callers first POST /v1beta/environments with {"mode": "self_hosted"} to receive an environment id and a one-time environment_key, then connect from inside the sandbox. Hosted-only options such as sources, network, env, and /files snapshots are rejected on self-hosted environments with 400 INVALID_ARGUMENT. The runtime can also run in Docker or rootless Podman; in local mode, execute_bash runs directly on the host unless --disable-bash is passed. Google AI Studio also listed launch partners: Vercel, Modal, Daytona, Fly.io, Google Cloud, Cloudflare, and E2B. Google-hosted environment compute is free during the preview, and both environments and managed agents remain in preview.
This summary reflects the cited source. Visit the original for its full context.
← All AI news