Start on your machine.
A local environment for your project and agent, managed through raytrace-cli.
RAYTRACE CLI / LOCAL SANDBOX · V0.5.0
Run your coding agent in an isolated local sandbox with raytrace-cli. Keep your project and recorded sessions on your machine, and inspect what the agent did in your local dashboard.
Available in CLI 0.5.0+. macOS and Linux supported; Windows experimental. No RayTrace account required.
An isolated environment on your machine.
A Linux VM with a gVisor sandbox, managed by the CLI.
FROM INSTALL TO YOUR FIRST LOCAL RUN
Install the npm package, create a sandbox from a Git project, and launch Claude Code. Then open your local dashboard to inspect the run.
Install with npm install -g @raytrace-cli/cli@latest and check raytrace --version is 0.5.0 or newer. Run raytrace doctor to inspect prerequisites. From your Git project, run raytrace sandbox create --local --name demo-box, approving the Lima download if asked. First-time VM setup takes several minutes. Run raytrace connect demo-box, then claude inside the sandbox and sign in to Claude Code if prompted. In another terminal on your machine, run raytrace open to inspect local sessions and sandbox evidence.
CLI 0.5.0 workflow. Example output and agent/dashboard screens are illustrative. First-time setup is compressed.Watch full screen →
Start with Node.js 22.13+, npm, and Git on your machine. Check that RayTrace is version 0.5.0 or newer.
npm install -g @raytrace-cli/cli@latest
raytrace --version
raytrace doctorReplace your-project with your Git repository’s path. The --local flag keeps the sandbox on this machine; omitting it creates a cloud sandbox.
cd your-project
raytrace sandbox create --local --name demo-boxIf Lima is missing, the CLI asks to download it. The first run sets up the Linux VM, gVisor, and agents; allow several minutes, about 1 GB of downloads, and 4 GiB of memory while the VM runs. Your source project is copied into the sandbox.
raytrace connect demo-box
claudeRun claude inside the sandbox terminal and sign in with your Claude account if prompted. Provider calls use that account; RayTrace keeps the captured record locally.
In a second terminal on your machine, or after exiting the sandbox shell:
raytrace openOpen Sandboxes to find demo-box and its prompts. Follow tool calls into Sandbox evidence to inspect recorded commands, file changes, and network connections.
Stopping a sandbox keeps its files. Start it again when you want to continue.
raytrace sandbox stop demo-box
raytrace sandbox start demo-box
raytrace connect demo-boxBUILT INTO THE CLI
The same CLI manages your sandbox from creation to connection, with setup checks for your platform.
A local environment for your project and agent, managed through raytrace-cli.
One CLI entry point, with platform-specific setup and requirements documented in the repository.
Explore the source, read release notes, and share your workflow on GitHub.
Share feedback ↗ALSO AVAILABLE / CLOUD PREVIEW
Create a cloud sandbox and review its sessions with your organization in the hosted RayTrace dashboard.