ast sandbox
List and open a shell in an agent's sandboxes
List a deployed agent’s sandboxes, or the ones your ast dev session holds, and open a shell in one.
Pick whose sandboxes with one flag:
sandbox list
Lists each sandbox’s name and state. A deployed agent’s list shows its most recent sandboxes and says when it holds more. An agent has no sandbox until it first attaches one.
sandbox shell
Opens an interactive root shell in the sandbox, in /workspace. With no name, the shell opens in the only sandbox that is not stopped. When there is more than one, name it. Run exit to leave. A dev session’s shell also ends when ast dev stops, because closing the session removes its sandboxes.
A sandbox that is still being set up prints a notice, and the shell connects once it is ready.