ACP Router bridges IM platforms and ACP-compatible agents. It fetches agent definitions from the ACP Registry, launches the selected agent, and routes messages bidirectionally.
- ACP registry integration
- Abstract IM adapter (Telegram today, more later)
- Multi-content routing (text, image, audio, video, files)
- Session commands:
start,sessions,mode,model,config,agents
packages/core— ACP routing core, registry, launcher, content normalizationpackages/adapters/telegram— Telegram adapterpackages/cli— CLI entry (bun for dev, tsc for build)
Create ~/.config/acp-router.json:
{
"defaultAgentId": "droid",
"allowList": [123456789],
"telegramToken": "YOUR_BOT_TOKEN",
"cwd": "/path/to/workdir",
"agents": {
"droid": {
"command": "droid",
"args": ["exec", "--output-format", "acp"],
"env": {
"DROID_DISABLE_AUTO_UPDATE": "true",
"FACTORY_DROID_AUTO_UPDATE_ENABLED": "false"
}
}
}
}bun run devbun run typecheck
bun run build