Lead agent calls MCP
The local agent calls spawn_cloud_agent or the lower-level dispatch_task tool.
MCP control plane for cloud subagents
AgentDispatch gives OpenClaw, Hermes, Claude Code, Codex, and custom orchestrators one provider-neutral tool: hand off the task, keep durable status, and continue through A2A or another runtime protocol when the cloud supports it.
spawn_cloud_agentArchitecture
The local agent calls spawn_cloud_agent or the lower-level dispatch_task tool.
AgentDispatch resolves provider, account profile, capability, task type, target mode, and runtime protocol.
AWS AgentCore V1 invokes an existing runtime session or provisions a per-task runtime from an ECR image.
The response returns durable polling tools plus A2A, MCP, AG-UI, or HTTP metadata when available.
Why it matters
Long-running work: deep research, audits, migrations, batch analysis, and build pipelines do not block the local session.
Credential boundaries: cloud credentials stay in account profiles and provider SDK chains, never inside MCP tool payloads.
Provider expansion: new providers are adapter packages, not new MCP tools that every lead agent must learn.
Package map
V1 implementation
The first adapter supports agent.run and command.run, session mode for existing runtime ARNs,
runtime mode for ECR-backed per-task runtimes, event normalization, cancellation, cleanup, and A2A handoff metadata.
Quickstart
npm install -g @agent-dispatch/cli
agentdispatch init \
--region us-west-2 \
--runtime-arn arn:aws:bedrock-agentcore:... \
--protocol a2a
agentdispatch doctor
{
"mcpServers": {
"agentdispatch": {
"command": "npx",
"args": [
"-y",
"@agent-dispatch/mcp-server",
"--config",
"/absolute/path/agentdispatch.config.json"
]
}
}
}
Roadmap