Quickstart: terminal and VS Code
-
Check the machine can run sandboxes:
Terminal window codeflower check -
Start a sandbox for a project, with your data read-only and a folder for results:
Terminal window codeflower interactive --agent claude -p study42 \--input ~/data/study42 --output ~/results/study42Leave out
--agentto be asked. The sandbox prints its address:codeflower://127.0.0.1:41234?token=…Anyone with this line can control the agent, so treat it like a password.
-
Connect VS Code. In the code flower view in the activity bar, choose Connect to worker… (the +) (or run code flower: Connect to worker from the command palette) and paste the line. If the app’s window is running, the sandbox also prints a link that opens it there, and an Open in VS Code link.
-
Sign in when VS Code offers it, the first time in a project. See Signing in agents.
-
Chat. Choose New session (the speech bubbles next to the worker).
Press Ctrl+C in the terminal to stop the sandbox. Its chats, logins and installed software stay
in the project, ~/codeflower/projects/study42, for next time.
- Interactive, run and task: start with a first prompt, or let the agent work alone.
- HPC clusters: the same, as a Slurm job.
- VS Code: the worker tree, reports and Remote-SSH.