add-telegram-swarm

Solid

Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".

AI & Automation 29,545 stars 12887 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Add Agent Swarm to Telegram This skill adds Agent Teams (Swarm) support to an existing Telegram channel. Each subagent in a team gets its own bot identity in the Telegram group, so users can visually distinguish which agent is speaking. **Prerequisite**: Telegram must already be set up via the `/add-telegram` skill. If `src/telegram.ts` does not exist or `TELEGRAM_BOT_TOKEN` is not configured, tell the user to run `/add-telegram` first. ## How It Works - The **main bot** receives messages and sends lead agent responses (already set up by `/add-telegram`) - **Pool bots** are send-only — each gets a Grammy `Api` instance (no polling) - When a subagent calls `send_message` with a `sender` parameter, the host assigns a pool bot and renames it to match the sender's role - Messages appear in Telegram from different bot identities ``` Subagent calls send_message(text: "Found 3 results", sender: "Researcher") → MCP writes IPC file with sender field → Host IPC watcher picks it up → Assigns pool bot #2 to "Researcher" (round-robin, stable per-group) → Renames pool bot #2 to "Researcher" via setMyName → Sends message via pool bot #2's Api instance → Appears in Telegram from "Researcher" bot ``` ## Prerequisites ### 1. Create Pool Bots Tell the user: > I need you to create 3-5 Telegram bots to use as the agent pool. These will be renamed dynamically to match agent roles. > > 1. Open Telegram and search for `@BotFather` > 2. Send `/newbot` for each bot: > - Give ...

Details

Author
qwibitai
Repository
qwibitai/nanoclaw
Created
3 months ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category