@ash-ai/sandbox
v0.0.20
Published
Sandbox management: process spawning, pool, bridge client, resource limits, state persistence
Downloads
1,566
Readme
@ash-ai/sandbox
Sandbox management library for Ash — process spawning, pool management, bridge client, resource limits, and state persistence.
Used by both @ash-ai/server and @ash-ai/runner to manage isolated agent sandboxes.
Installation
npm install @ash-ai/sandboxWhat's included
- SandboxManager — spawns and manages isolated child processes
- SandboxPool — DB-backed pool with capacity limits, LRU eviction, and idle sweep
- BridgeClient — communicates with bridge processes over Unix sockets
- Resource limits — cgroups (Linux) and ulimit enforcement
- State persistence — save/restore sandbox state for session resume
Documentation
See the Ash README for full documentation.
