Overview
The SDK and CLI support local development with smart backend detection:- Run agents locally before deploying
- Automatic Firecracker or Docker based on your environment
- Sync files between local and cloud sandboxes
- Test without cloud costs
Smart Backend Detection
When you runruntools dev, the CLI automatically detects the best local backend:
| Environment | Backend | Pause/Resume | Notes |
|---|---|---|---|
| Linux + KVM | Firecracker | Yes | Full fidelity |
| WSL2 + nested virt | Firecracker | Yes | Enable in WSL settings |
| Mac (any) | Docker | No | Stop/start only |
| Windows (no WSL2) | Docker | No | Stop/start only |
Want pause/resume on Windows?Enable nested virtualization in WSL2:
- Open PowerShell as Admin
- Run:
wsl --update - Add to
.wslconfig:nestedVirtualization=true - Restart WSL:
wsl --shutdown
runtools dev will use Firecracker with full pause/resume support.Force a Specific Backend
Local Agent Development
Configuration File
Createruntools.config.ts in your project root:
runtools.config.ts