Mobile control panel for AI agents — control your bots from Telegram
Project description
Rudder
Mobile control panel for AI agents. Control your bots from Telegram — from anywhere, on any device.
"Rudder puts every developer in the captain's chair of their AI agents."
What is Rudder?
You build AI agents. They run on your machine. But when you're away from your desk, you're flying blind.
Rudder wraps your agent with a Telegram interface so you can:
- Ask questions in plain English ("what positions are open?")
- Approve or deny tool calls before they execute
- Run commands on your machine remotely
- Check logs and file contents from your phone
Quick Start
pip install rudder-agent
rudder init # guided setup wizard
rudder start # launch your bot
Then open Telegram and message your bot.
What Rudder Can Do
| Command | Example |
|---|---|
| Read files | "show me the last 20 lines of app.log" |
| Run commands | "run my_script" → Approve/Deny on phone |
| List files | "what files are in my project?" |
| Answer questions | "what's the status of my agent?" |
Requirements
- Python 3.10+
- A Telegram account and bot token (free)
- An Anthropic API key (console.anthropic.com)
Setup — Step by Step
Step 1 — Create a Telegram bot
- Open Telegram and search for @BotFather (official blue checkmark)
- Send this message:
/newbot - BotFather will ask: "What's the name of your bot?"
- This is the display name shown in chats — e.g.
My Agent Bot
- This is the display name shown in chats — e.g.
- BotFather will ask: "What username would you like to give it?"
- Must end in
bot— e.g.myagent_botorMyAgentBot - Must be unique across all of Telegram
- Must end in
- BotFather will reply with your bot token — it looks like:
1234567890:AAFabcdefGHIjklmNOPqrstUVwxyz123456 - Copy and save this token — you'll need it in Step 4
Step 2 — Get your Telegram user ID
Rudder only accepts messages from you — it needs your personal user ID to enforce this.
- Open Telegram and search for @userinfobot
- Send any message (e.g.
/start) - It will reply with your Id number — e.g.
123456789 - Copy this number
Step 3 — Get an Anthropic API key
Rudder uses Claude to understand your messages.
- Go to console.anthropic.com
- Sign up or log in
- Go to API Keys → Create Key
- Copy the key — it starts with
sk-ant-...
Step 4 — Install and configure Rudder
Open a terminal in the folder where your AI agent project lives, then run:
pip install rudder-agent
rudder init
The wizard will ask for:
- Your Telegram bot token (from Step 1)
- Your Anthropic API key (from Step 3)
- Your Telegram user ID (from Step 2)
- The path to your working directory — the folder Rudder should have access to
Tip: Run
rudder initfrom inside your project folder. When asked for the working directory, you can just press Enter to use the current folder.
This creates a rudder.yaml file in the current folder. Keep this file safe — it contains your API keys.
Step 5 — Start Rudder
rudder start
You should see:
Rudder started. Open Telegram and message your bot.
Step 6 — Message your bot
Open Telegram, search for your bot by its username (e.g. @myagent_bot), and send a message.
Try:
hellowhat files are in my project?show me the contents of app.log
Troubleshooting
Bot doesn't respond
- Make sure
rudder startis running in your terminal - Check that your bot token in
rudder.yamlis correct - Try sending
/startto your bot first
"Unauthorized" error
- Your
allowed_user_idinrudder.yamldoesn't match your actual Telegram ID - Re-check your ID with @userinfobot
"Working directory not found" error
- The
working_dirpath inrudder.yamldoesn't exist on your machine - Update it to a valid folder path
Bot stops when I close the terminal
- This is expected — the bot runs in your terminal session
- For always-on usage, set it up as a background service
Security
- Only your Telegram user ID can send commands
- Destructive actions (bash, file writes) require explicit Approve/Deny on your phone
- Your API keys stay on your machine — never sent anywhere else
- Self-hosted: you control everything
Roadmap
- Telegram channel
- Bash, read/write file, list files tools
- Approve/Deny on mobile
-
pip install rudder-agent— installable package -
rudder initsetup wizard - Discord channel
- Custom plugin tools
-
pip install rudder-agent[github]— GitHub tools
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rudder_agent-0.1.0.tar.gz.
File metadata
- Download URL: rudder_agent-0.1.0.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c8730a5acb24e06206d922bd1f7b88ecd7e2865432c448aad8dd9f0eaa9be0c
|
|
| MD5 |
6d68363e752642d198f51170caddc6c2
|
|
| BLAKE2b-256 |
6c40b02d8ffffd307bcb2d4321b1bc857513723b3bb3bdcdf90b0a90acd6253a
|
File details
Details for the file rudder_agent-0.1.0-py3-none-any.whl.
File metadata
- Download URL: rudder_agent-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c03b6d88f408066c7ed3777b1857a91d63f0ba8c521ca1ccf7de3b7c82fbfc48
|
|
| MD5 |
518d960b7b1f3997ba53f629c4729729
|
|
| BLAKE2b-256 |
55146c954a08e1d2bc89a6ee1d67f12a9d2a75136f46f98896730d286c017f7c
|