Overview

Control your Locus agents remotely from Telegram.

The Locus Telegram bot lets you manage your entire development workflow from your phone or desktop Telegram app. Start agents, plan sprints, approve tasks, run git commands, and monitor progress — all without opening a terminal.


How It Works

spinner

The Telegram bot is a bridge between your Telegram messages and the Locus CLI. When you send a command like /run, the bot executes locus run on your machine and streams the output back to you.

circle-info

The bot runs on your machine (or your server), not in the cloud. It has the same access as the CLI — your local filesystem, git, and AI providers.


What You Can Do

Plan sprints, list plans, approve or reject them:

/plan implement user authentication
/plans
/approve plan-abc123
/reject plan-abc123 split into smaller tasks
/cancel plan-abc123

Security

The Telegram bot includes several security measures:

  • Chat ID authentication — Only messages from your configured chat ID are accepted

  • Command whitelisting — Git and shell commands are restricted to a safe whitelist

  • No shell injection — Commands are validated and sanitized before execution

  • Process isolation — Each command runs as a separate process

circle-exclamation

Next Steps

Last updated