English | 简体中文
astrbot_sandbox_boxlite is the BoxLite local sandbox driver plugin for AstrBot. It is a lightweight choice when you only need shell, Python, and file operations, without browser or GUI-specific tools.
- 🛡️ Provides the
boxlitesandbox driver for AstrBot. - 💻 Supports shell, Python, and file operations.
- 📦 Syncs local AstrBot Skills when the sandbox boots.
- ⚡ Runs lighter than remote sandbox services.
Clone the plugin into AstrBot's plugin directory:
git clone https://github.com/zouyonghe/astrbot_sandbox_boxlite.git data/plugins/astrbot_sandbox_boxliteThe current implementation reuses code from the Shipyard plugin, so keep the Shipyard plugin source available locally as well:
git clone https://github.com/zouyonghe/astrbot_sandbox_shipyard.git data/plugins/astrbot_sandbox_shipyardThen restart AstrBot, or reload plugins from the plugin management page.
In the AstrBot dashboard, enable sandbox mode and select the boxlite driver.
Configuration path:
provider_settings.computer_use_runtime:sandboxprovider_settings.sandbox.booter:boxlite
This plugin does not expose driver-specific configuration fields.
- Use this plugin when you want a lighter sandbox runtime and only need shell, Python, and file operations.
- It does not register browser tools.
- It does not register GUI tools such as screenshot, mouse, or keyboard tools.
- AstrBot must support external sandbox driver plugins.
- The Python dependency from
requirements.txt:boxlite. - The Python
shipyardpackage is required because the BoxLite implementation reuses Shipyard-compatible filesystem wrappers. - The current implementation reuses code from the Shipyard plugin, so
astrbot_sandbox_shipyardshould remain present in the samedata/pluginstree. - Browser automation is not included.
- GUI-specific tools are not included.
- If BoxLite fails to load, make sure the Shipyard plugin tree is still present locally.
- If file operations behave unexpectedly, verify that the shared Shipyard-compatible dependency is installed in the AstrBot environment.