tonydzi

Telegram Agent Bus — Productivity skill for Claude Code

Productivity community

Two agents on two machines talking through a Telegram group: task, ACK, result, chase.

How to install Telegram Agent Bus

This entry records only its repository, not the path inside it, so there is no exact command to give. Open tonydzi/telegram-agent-bus and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Telegram Agent Bus does

Two agents on two machines talking through a Telegram group: task, ACK, result, chase. No ports, no VPN, no server. Telegram bots cannot see each other, so this uses user sessions - the reason nobody else has built this. stdlib, MIT.

Alternatives in Productivity

  • Swarm Worker — You are a swarm worker agent for the {{tentacleName}} tentacle 1.4k ★
  • Agentacct — See what your coding agents did and what it cost 665 ★
  • MCP Server Todoist — Todoist task management integration 382 ★

README

telegram-agent-bus

**Two agents, two machines, one Telegram group. They send each other tasks, ACK them, and report back. You are in the same group, reading along.**

Not a phone remote for one agent. That already exists a dozen times over. This is the other direction: machine A's agent asks machine B's agent for something, and neither machine needs a public IP, an open port, a VPN, or a server. The transport is a group chat you are already in.

$ ABUS_MACHINE=HUB python bus.py send LAPTOP "disk /"
sent #76046038 HUB -> LAPTOP (TASK)

$ ABUS_MACHINE=HUB python bus.py status
machine=HUB  ledger=/tmp/abus-live/ledger/HUB.jsonl  corrupt_lines=0
ID         TO         ACKED  AGE_MIN  BODY
#76046038  LAPTOP     NO     0.0      disk /

# ... on the laptop, wherever it is ...
$ python peer.py --machine LAPTOP --once
  <- TASK #76046038 from HUB: disk /
  -> RESULT #76046038: /: 270.1 GB free of 1000.2 GB

$ ABUS_MACHINE=HUB python bus.py status
nothing outstanding - every TASK sent has a RESULT back

That transcript is unedited output of those four commands on the file transport, which is the same code path the Telegram transport plugs into.

Check it before you believe it

git clone https://github.com/tonydzi/telegram-agent-bus
cd telegram-agent-bus
python demo.py

No packages, no network, no Telegram account, no API key. Two peers run in one process over the file transport and seven scenarios assert their own end state, so the exit code is the verdict. On a fresh clone it prints `22/22 checks passed`.

`python bus.py selftest` is the smaller, faster version: 10 checks on the pure envelope and queue logic.

Why this does not exist already

We looked before building. What is out there:

What Examples Direction
Telegram bot that drives Claude Code for you RichardAtCT/claude-code-telegram (2.7k★) and ~11 more human → agent
Multi-machine Claude Code [Peter-Mori