Skip to main content
Every Agent Mode conversation in Runable runs inside a private sandbox. The sandbox is an isolated environment where the agent can write code, run commands, install packages, and build projects without affecting your computer or anyone else’s work.

How the sandbox works

When you send your first message in Agent Mode, a sandbox is created for that conversation. The agent uses it for every tool call that involves code, files, or execution. The sandbox persists across messages within the same chat, so the agent can build on its previous work.

What is in the sandbox

The sandbox comes pre-loaded with everything the agent needs:

Languages and runtimes

  • Node.js
  • Python 3
  • Bun (package manager and runtime)
  • Any language installable via package managers

Pre-installed tools

  • Chrome (for web scraping and screenshots)
  • FFmpeg (for audio and video processing)
  • Git (for version control and GitHub export)
  • Standard Linux utilities
The agent can install any additional packages using npm, pip, or bun as needed.

Sandbox lifecycle

EventWhat happens
First messageA new sandbox is created for the chat
Subsequent messagesThe same sandbox is resumed
45 minutes of inactivityThe sandbox automatically pauses to save resources
Next message after pauseThe sandbox wakes up and resumes where it left off
RollbackA new sandbox is created from the snapshot at the rollback point
BranchThe new chat gets its own copy of the sandbox
Chat deletedThe sandbox is permanently destroyed

Snapshots and rollback

After every assistant message, a snapshot of the sandbox is saved. This snapshot captures the complete state of the sandbox: all files, installed packages, running processes, and configuration. When you rollback to a previous message, the sandbox is restored from that snapshot. Everything, files, code, database state, environment variables, returns to exactly how it was at that point.
Chat interface showing the rollback button appearing on hover over a previous assistant message

Open VS Code in the sandbox

You can open a full VS Code editor connected to your sandbox. This lets you browse files, edit code directly, and use the VS Code terminal alongside the agent.
VS Code editor connected to the Runable sandbox showing a project file tree on the left and code in the editor on the right

Download your work

You can download the entire sandbox contents as a ZIP file at any time. This gives you the full project source code, generated files, and everything the agent has created.

What runs in the sandbox

OperationRuns in sandbox
Writing and editing filesYes
Running bash commandsYes
Building and previewing websitesYes
Generating images and videosNo (runs on AI providers, results saved to sandbox)
Web searchNo (runs on search infrastructure)
Chat conversationsNo (runs on LLM providers)
Image and video generation happens on external AI providers. The generated files are downloaded and saved to the sandbox so the agent can reference and work with them.

What you cannot do with the sandbox

  • You cannot access the sandbox directly from your browser (except through VS Code). All interaction goes through the agent or VS Code.
  • You cannot keep a sandbox running indefinitely. It pauses after 45 minutes of inactivity.
  • You cannot connect a sandbox to your local machine’s file system.
  • You cannot run multiple sandboxes for the same chat. Each chat has exactly one sandbox.
  • You cannot increase the sandbox’s resources (CPU, memory, storage). The environment is standardized.

Next steps