Delegation
@alphacro/agent-delegation
Section titled “@alphacro/agent-delegation”Package: packages/agent-delegation
Multi-agent delegation: spawns autonomous sub-agents with their own planning and browser.
Overview
Section titled “Overview”Create the delegation plugin. The parentToolRegistry getter is
called lazily at spawn time (not at composition time) so the
host can wire it after composePlugins returns.
Contributions
Section titled “Contributions”| Contribution | Declared |
|---|---|
| Tools | ✅ |
| Hooks | ❌ |
| Sub-agents | ❌ |
| Slash commands | ❌ |
| HTTP routes | ❌ |
| RPC methods | ❌ |
| Workflows | ❌ |
| Permissions | ❌ |
| Tool cards | ❌ |
| State slice | ❌ |
| Reducer | ❌ |
| Session start handler | ❌ |
| Session end handler | ❌ |
| Startup phase | ❌ |
| Dependencies | ❌ |
spawn_agentswait_for_agentscheck_agents_statusfan_out
Source
Section titled “Source”- Plugin factory:
packages/agent-delegation/src/plugin.ts