bwrap (bubblewrap) to restrict what the agent’s tools can access on your system.
Setup
Commands
How It Works
When enabled, tool execution (especiallyBash commands) runs inside a bubblewrap sandbox that:
- Restricts filesystem access to allowed paths
- Limits network access based on configuration
- Isolates processes from the host system
When to Use
- Running untrusted code or commands
- Working with third-party tools
- Environments where security isolation is required
- Multi-tenant or shared machine setups
Sandboxing requires
bwrap to be installed on your system. The lukan sandbox setup command handles installation.