Code execution sandbox

When a model writes code, something has to run it without putting your systems at risk. Watch a Code Execution sandbox run a stateful calculation, contain injected code that tries to escape, and handle a missing library.

9 minPro

Checking your access…

This is a Pro lesson

Sign in to continue. Pro members get every animated lesson, its code and its quiz, across ADK, Agent Platform, Agent QA and CX Agent Studio.

Get Pro for ₹999

You're signed in, but this lesson is part of Pro

Get every Pro lesson, its code and its quiz for ₹999, once. Lifetime access, including lessons added later.

Unlocking your lesson…

If this doesn't change in a moment, reload the page.

In this module: Sandboxes

  1. Code execution sandbox Running model-written code safely. Pro
  2. Computer use sandbox Agents that operate a browser or desktop. Pro
  3. Shell sandboxes, templates and snapshots Managing sandbox environments. Pro