Coding Agents over Telegram, Part 2: From Zero to an Agent That Answers A developer built a coding agent that responds to Telegram messages and drives a tmux pane on a local machine. The setup uses OpenClaw as a Telegram gateway, pinned Node.js and pnpm versions, and a readiness check script. The guide provides both a fast automated path and a manual step-by-step approach for wiring Telegram, the local box, and the agent together. This is the one post in the series you do , not just read. By the end you'll have a single Telegram topic where you type a message and a coding agent answers and drives a tmux pane on your own box. That's the entire goal, nothing more. Memory, monitors, tool servers, and the supervisor all come later; none of them are needed to get an agent answering you. Budget ~30–45 minutes. If you only do one thing, do the Fast path, then prove it with the readiness gate. Everything below the gate is manual explanation and debugging you can skip until you need it. The Telegram wiring is the mechanical part; the real failures hide in local state. Confirm every line before you start: tmux , and shell access that survives disconnects you'll leave a gateway running . mybox:1.1 . Write it down; you'll hard-code it into the agent's instructions.Pin these. "It runs on Node" is not enough; the gateway is sensitive to the runtime. | Component | Pinned version | Notes | |---|---|---| | Node.js | 24.11.1 | The gateway is built against Node 24; newer majors can fail the native build. | | Package manager | pnpm 11.2.2 | OpenClaw's packageManager field. corepack fetches it for you. | | OpenClaw | github.com/openclaw/openclaw , pinned commit tested on 2026.5.27 | Pin a commit or tag; don't track main for a setup everyone must reproduce. | | Coding agent | opencode, installed and authenticated | Pin the version your team standardizes on. | | Node manager | nvm | This guide assumes nvm; adapt the commands if you use asdf or system Node. | Two scripts do the whole local setup. Grab them from the gist, then run them around the Telegram steps: Download the bootstrap + readiness scripts curl -fsSL "https://gist.githubusercontent.com/jerilkuriakose/cd0f8353aac74e47c591111b758943e9/raw/setup-openclaw.sh" -o setup-openclaw.sh curl -fsSL "https://gist.githubusercontent.com/jerilkuriakose/7cf94af3e96526f9f14d0c28b6c26b69/raw/ready-check.sh" -o ready-check.sh chmod +x setup-openclaw.sh ready-check.sh 1. Pin the runtime, fetch + build OpenClaw, and launch the gateway. Pass your bot token to also write a minimal config in one shot: OPENCLAW BOT TOKEN="