Installation
Install this tool individually:Configuration
No spawns are permitted until
targets is explicitly configured — installing the tool changes nothing until you opt in. When any config is provided (even just maxDepth), the targets map must still be set to allow spawns.
Prerequisites
No external dependencies. The tool uses beige’s internal agent manager and session store.The SELF Keyword
The special target key "SELF" resolves to the calling agent’s name at runtime, enabling sub-agent patterns without hardcoding agent names:
- When coder calls the tool,
"SELF"→"coder" - When reviewer calls the tool,
"SELF"→"reviewer"
Depth Limiting
Each target can override the default
maxDepth independently. For example, you might allow deep nesting for sub-agents (SELF: { maxDepth: 3 }) while keeping cross-agent spawns shallow.
Config Examples
Basic setup — coder and reviewer can spawn each other:Per-Agent Configuration (pluginConfigs)
Since beige supports per-agentpluginConfigs overrides (deep-merged with the top-level tool config), different agents can have different target lists:
Note:pluginConfigsvalues are deep-merged with the top-level config. In the example above, coder’s effective targets are{ "SELF": {}, reviewer: {} }— the baselineSELFentry is preserved andrevieweris added.
Security Model
Error Reference
Implementation Details
- Target: Gateway (runs on the host, not in the sandbox)
- No dependencies: Uses beige’s internal agent manager
- Session persistence: Sessions persist across gateway restarts in
~/.beige/sessions/
