Overview
Every chat thread runs in its own isolated sandbox. When you send a message, the agent has access to a full Linux environment where it can install packages, write files, run code, and execute commands. This sandbox persists between messages within the same thread.This is a Pro feature. Your sandbox automatically pauses when idle and resumes instantly when you return.
How persistence works
When you send a message in a chat thread, the agent’s sandbox is in one of three states:Active — sandbox is running
Active — sandbox is running
The sandbox is live and ready. Your previous messages’ context (installed packages, files, running processes) are all available. This is the fastest state — the agent can start working immediately.When this happens: You’re actively chatting or recently sent a message.
Paused — sandbox is saved
Paused — sandbox is saved
After 30 minutes of inactivity, the sandbox automatically pauses. Everything is saved — files, packages, memory, running processes. Nothing is lost.When this happens: You step away from a thread for more than 30 minutes.
Fresh — new sandbox
Fresh — new sandbox
If the saved sandbox is no longer available, a new one is created. Your conversation history is preserved, but installed packages and files from previous messages need to be re-created.When this happens: Very old threads or after extended periods of inactivity.
What this means for you
Packages persist between messages
If you ask the agent to installpandas in your first message, it’s still available in your second, third, and hundredth message — as long as you’re in the same thread.
Files persist between messages
Files created by the agent stay on disk. You can reference them in later messages:Resuming is fast
When you return to a paused sandbox, it resumes in about one second. You won’t notice any delay — the agent picks up right where you left off.Thread isolation
Each chat thread has its own sandbox. Work done in one thread doesn’t affect another:- Thread A installs
pandas→ only Thread A haspandas - Thread B is completely independent with its own packages and files
- Deleting a thread cleans up its sandbox
When is a fresh sandbox created?
A new sandbox is created when:- You start a new chat thread
- The previous sandbox is no longer available (rare, usually after extended inactivity)
Best practices
Keep related work in one thread
Packages and files persist within a thread. Keep related tasks together to avoid re-installing.
Save reusable setups as agents
If you spend time configuring an environment, save it as an agent so you don’t repeat the setup.
Use workspaces for organization
Group related threads in a workspace. Each thread still has its own sandbox, but workspaces help you stay organized.
Reference files by path
The agent remembers file paths between messages. Reference them directly for efficient follow-ups.