Runtime layout
Key paths used by runtime and cloud APIs:Session lifecycle
Why this sandbox model
- Isolation: each user runtime is separated at process and filesystem level
- Persistence: workspace survives restarts and reconnects
- Low coupling: cloud plane can restart independently from sandbox runtime
- Capability density: channels, tools, and browser execution share one local context
Filesystem guarantees
Cloud file routes enforce path constraints and avoid cross-user access. Agent operations are scoped to user runtime storage.Networking and access
- Client never connects directly to runtime internals
- Cloud API authenticates and proxies websocket traffic
- Runtime can reach external model providers and authorized MCP services
Operational notes
- Runtime processes are health-checked before proxy routing
- Session metadata tracks websocket connectivity and heartbeats
- Background jobs handle telemetry, usage, and automation scheduling
Message and file flow
Follow the end-to-end path of requests, artifacts, and memory.
