Control Your AI Coding Agent from Telegram

Your AI coding agent shouldn't be locked to the terminal window where you started it. Sometimes you step away from your desk, commute, or just want to fire off a quick task from your phone. That's where AI coding Telegram integration changes the game.

With muxd's Telegram bot, you get a mobile AI agent that connects directly to the same daemon running on your development machine. Same agent, same session history, same tools — just a different interface.

Why Telegram?

There are plenty of messaging apps. Telegram stands out for developer tools because:

For remote AI access, Telegram is the path of least resistance. You don't need a custom mobile app, a web dashboard, or a VPN back to your machine.

How It Works

The setup is straightforward:

  1. Create a Telegram bot via @BotFather and grab the token
  2. Add the token to your muxd configuration
  3. Start the muxd daemon — it connects to Telegram automatically

Once connected, you chat with the bot exactly like you'd chat in the terminal TUI. Send a message, and the agent processes it using the same 18 built-in tools it has locally — file reads, writes, grep, bash commands, git operations, all of it.

The agent runs on your machine. Telegram is just the transport layer. Your code never passes through Telegram's servers in any meaningful way — only the conversation messages flow through the bot API.

Real-World Use Cases

Quick Tasks on the Go

You're at lunch and remember you need to update an environment variable before a deploy:

"Update the REDIS_URL in .env.production to point to the new cluster"

The agent reads the file, makes the change, and confirms — all from your phone.

Monitoring Long-Running Tasks

You kicked off a big refactor before leaving the office. From Telegram, you can check in:

"What's the current status? Did the tests pass?"

The agent runs the test suite and reports back.

Code Review from Anywhere

A PR just came in and you want a quick look:

"Read the changes in src/auth/middleware.ts and summarize what changed"

You get a summary without opening your laptop.

Security Considerations

Giving a Telegram bot access to your coding agent sounds risky, but the security model is actually solid:

For additional security, muxd supports restricting which Telegram user IDs can interact with the bot. Unauthorized messages are silently dropped.

Getting Started

If you already have muxd running, adding Telegram takes about two minutes. Check the configuration docs for the full setup, or start from scratch with the getting started guide.

The mobile AI agent workflow isn't about replacing your terminal — it's about extending it. Your agent is always running, always available, and now reachable from your pocket. Whether you're debugging from the couch or deploying from a coffee shop, your AI coding agent goes where you go.