alexei-led/ccgram
277 stars · Last commit 2026-10-03
Telegram ↔ tmux/herdr/agterm bridge for Claude Code, Codex CLI, and Pi Agent. Monitor output, respond to prompts, manage parallel sessions. Control AI coding agents from your phone.
README preview
# CCGram — Control AI Coding Agents from Telegram [](https://github.com/alexei-led/ccgram/actions/workflows/ci.yml) [](https://pypi.org/project/ccgram/) [](LICENSE) **Control AI coding agents from your phone.** Walk away mid-session. Keep monitoring and responding from Telegram—without losing terminal access. ## Why CCGram? AI coding agents run in your terminal. Other Telegram bots wrap agent SDKs into isolated API sessions you can't resume in your terminal. **CCGram is different.** It sits on top of your terminal multiplexer ([tmux](https://github.com/tmux/tmux), [herdr](https://github.com/ogulcancelik/herdr), or [agterm](https://github.com/umputun/agterm)), not any agent SDK. Your agent process stays exactly where it is—your session is the source of truth. This means: - **Desktop to phone, mid-conversation** — walk away and keep monitoring from Telegram - **Phone back to desktop, anytime** — attach to your terminal and you're back with full scrollback - **Multiple sessions in parallel** — each Telegram topic maps to a separate tmux window, guarded Herdr agent session, or agterm agent pane ---