Skip to main content
You can connect an interactive terminal to an already running sandbox.
e2b sandbox connect <sandbox-id>
Unlike the create command, connect does not kill the sandbox when you disconnect. When you exit the terminal, only your terminal session is closed—the sandbox continues running. Once connected, you can inspect the sandbox filesystem and processes to debug or experiment, or use it as a disposable environment for running agents instead of your local computer.