A bidirectional bridge connecting Telegram and OpenCode. Control AI agents directly from your phone with full session support and forum integration.
Everything you need for seamless AI agent control from Telegram
Send messages to OpenCode directly from Telegram, get responses instantly with session awareness.
Create, switch, and delete multiple OpenCode sessions on-the-fly, all from your Telegram chat.
Dedicated Telegram forum topics with bound sessions for organized group conversations.
Secret token verification, chat ID whitelisting, and TLS encryption for all communications.
Exposes send_message and send_notification tools to any MCP client via HTTP/SSE.
Ships with systemd user service files for production deployment on any Linux system.
Three simple steps to get your AI agent on Telegram
Install OMOTG via Homebrew and set your Telegram bot token and webhook URL.
Start the OMOTG service on your VPS, it will listen for webhook requests on TLS port 8443.
Send messages from Telegram and get instant responses from your OpenCode AI agent.
Understand the system design
Install OMOTG in seconds and bring your AI agent to Telegram.