Remocode
Telegram Remote5 min read

Never Leave an AI Agent Waiting Again: Telegram Notifications

Set up Telegram notifications for your AI coding agents so you never miss a prompt. Step-by-step guide to configuring alerts, commands, and autonomous responses.

telegramnotificationsai agentremocoderemote codingsetup guide

The promise of AI coding agents is that they do the work while you focus on other things. The reality is that they constantly need your attention — and if you miss a prompt, they sit idle until you notice. Telegram notifications fix this completely.

Why Telegram?

You might wonder why Telegram specifically, rather than Slack, Discord, email, or push notifications. The answer is a combination of factors:

  • Instant delivery. Telegram messages arrive in under a second, globally.
  • Rich interaction. Telegram supports inline buttons, which means you can approve or reject prompts with a single tap.
  • Always available. Telegram works on every platform — phone, tablet, desktop, web.
  • Bot API. Telegram's bot API is robust and allows Remocode to create an interactive experience, not just one-way alerts.
  • Free. No per-message costs, no rate limits for reasonable usage.

Setting Up Telegram Notifications

Step 1: Connect Your Account

Open Remocode, go to Settings, and click "Connect Telegram." This generates a unique link to the Remocode Telegram bot. Open it in Telegram and press Start. Your accounts are now linked.

Step 2: Name Your Panes

Give each terminal pane a descriptive name. This is how you will reference them from Telegram. For example, name a pane "claude" if it is running Claude Code, or "codex" if it is running Codex CLI.

Step 3: Configure Alert Preferences

Choose what triggers a notification:

  • Prompt detection: Get notified when an agent asks a question (recommended)
  • Error detection: Get notified when an error pattern is matched
  • Both: Full coverage

Using Telegram Commands

Once connected, you have a powerful set of commands available:

Checking on Your Agents

`peek` — Shows the current terminal output from all active panes. This is your quick glance to see what is happening without touching your laptop.

`status` — Shows which agents are running, which are idle, and which have errors. Think of it as a dashboard for your coding sessions.

Responding to Prompts

`via <name> reply <message>` — Send a response to a specific pane. For example, via claude reply yes sends "yes" to the pane named "claude."

`via <name> reply 2` — Select option 2 from a numbered menu. Remocode translates this into the correct arrow-key navigation that the AI agent expects.

Advanced Commands

`submit` — Enter multi-line input mode. Great for pasting longer responses or code snippets.

`audit` — Review recent activity and decisions made by the Auto-Yes or AI Supervisor.

`help` — See all available commands with descriptions.

Notification Workflow in Practice

Here is what happens when Claude Code asks a question while you are away:

  • Claude Code displays a prompt: "Do you want me to refactor the authentication module? (y/n)"
  • Remocode detects the prompt within 2 seconds
  • You receive a Telegram message with the prompt text
  • Below the text, you see inline buttons: [Yes] [No]
  • You tap [Yes]
  • Remocode sends the keystrokes to Claude Code
  • Claude Code continues working

Total time from prompt to response: under 10 seconds, from anywhere in the world.

Layering Automation on Top

Notifications are the foundation, but you can reduce interruptions further with automation:

Auto-Yes for Routine Approvals

Enable Auto-Yes on panes where you trust the agent. It approves prompts where "Yes" is the first option — no AI calls, no cost. You still get a notification, but by the time you see it, the agent has already continued.

AI Supervisor for Smart Decisions

For nuanced decisions, the AI Supervisor evaluates each prompt against your project brief using a cheap model. It might approve file creation, reject a risky deletion, and escalate an architectural question to you. Each decision costs a fraction of a cent.

The Result

With notifications plus automation, you get the best of both worlds. Routine work happens automatically. Important decisions come to your phone instantly. And nothing ever stalls.

Comparison with Other Approaches

SSH + tmux: Works but requires a terminal app, VPN, and typing on a phone keyboard. Painful.

Claude Code Remote Control: Single-session, Claude-only. Does not work with Codex CLI, Gemini CLI, Aider, or other agents.

Remocode + Telegram: Works with any agent, multiple sessions, rich UI, instant responses from anywhere. The first 1,000 users get Pro free for a year.

Ready to try Remocode?

Start with a 7-day Pro trial — no credit card required. Download now and start coding with AI from anywhere.

Download Remocodefor macOS

Related Articles