beige CLI controls the gateway daemon, launches the TUI, and manages plugins.
beige with no arguments prints help and exits.
Gateway Commands
The gateway is the always-running process that manages sandboxes, routes tool calls, and enforces policies.beige gateway start
Start the gateway as a background daemon.
~/.beige/config.json5 does not exist, the gateway automatically runs setup before starting.
On startup, the gateway:
- Loads and validates
config.json5 - Discovers installed plugins from
~/.beige/plugins/ - Loads plugins — calls
createPlugin()andregister()for each - Validates agent tool references against registered tools
- Builds the sandbox Docker image if needed
- Creates a Docker container for each configured agent
- Starts socket servers and the HTTP API
- Calls
plugin.start()for each plugin (background processes)
beige gateway stop
Stop the running gateway daemon.
beige gateway restart
Gracefully restart the gateway without losing state.
config.json5.
beige gateway status
Check whether the gateway daemon is running.
beige gateway logs
View the gateway log file.
TUI Command
beige tui [agent]
Launch the interactive TUI, connecting to the running gateway.
Setup Command
beige setup
Initialize ~/.beige/ with the default config.
Plugin Commands
beige plugins install <source>
Install plugins from a source.
plugin.json files. After installing, review your config.json5 to fill in any required values (like API keys), add the plugin’s tools to your agent’s tools array, and restart the gateway.
