- Home
- Skills
- Agents & Orchestration
- Thegan Raspberry Pi Telegram Agent
Works with the AI Agents you already use
Thegan Raspberry Pi Telegram Agent
Run a private, always-on AI assistant on your Raspberry Pi that you control entirely through a Telegram bot.
Free
What it does
- Installs a tiny assistant that uses almost no memory on your hardware
- Configures a Telegram bot so you can chat with your server from your phone
- Sets up a background service that stays running after your machine reboots
- Connects your bot to model providers like OpenAI or Anthropic using your own keys
- Enables your assistant to read files and logs directly on your local machine
Who it's for
Raspberry Pi and home server hobbyists
Run an always-on assistant on your own hardware that you control through Telegram.
Try asking: “Help me install thegan on my Raspberry Pi 4.”
Privacy-focused users who want a self-hosted agent
Keep your files and logs on your own machine without opening any risky network ports.
Try asking: “Set up a private Telegram bot to manage my home server.”
Small business owners with a Linux NAS or VPS
Monitor your server logs and run system tasks via chat without needing a dashboard.
Try asking: “How do I make my agent check my web server logs every morning?”
Thegan Raspberry Pi Telegram Agent
Example session with this skill installed
I have a Raspberry Pi 5. Can you help me install thegan so I can control it from Telegram?
- Read your context and instructions
- Compiled the thegan raspberry pi
I will help you set up your own self-hosted assistant on your Raspberry Pi 5. We will do this in a few clear steps to make sure everything stays private and secure.
Step 1: Check your hardware
First, please open the terminal on your Raspberry Pi and type these commands. Tell me what you see:
uname -s; uname -m
systemctl --user --version
Step 2: Install the program
Once we confirm your version of Linux is ready, I will give you a command to download and install the assistant. It will place the file in your local bin folder where it belongs.
Step 3: Create your Telegram bot
- Open the Telegram app and search for
@BotFather. - Send the message
/newbot. - Pick a name for your bot (like "My Home Pi").
- BotFather will give you a
Token.
Do not paste it here yet. I will tell you where to save it safely on your Pi later so it doesn't leak into our chat history.
Step 4: Secure access
We will find your numeric Telegram ID using @userinfobot so that only you can talk to your assistant. This keeps strangers from running commands on your machine.
Shall we start with Step 1? Go ahead and run those first two commands on your Pi.
Connects securely to your tools. The creator never sees your data.
About this skill
If you have a Raspberry Pi or an old Linux laptop sitting in a drawer, this skill turns it into a dedicated assistant you can talk to on Telegram. It helps you set up a tool called Thegan, which is a tiny program that stays running even after you turn off your screen or log out.
How it works
- You ask your AI agent to help you install the helper program on your Linux machine or Raspberry Pi.
- Your AI agent walks you through creating a private bot on Telegram and getting your secret keys ready.
- You follow the steps to save your settings in a hidden folder on your machine so only you can access them.
- Your AI agent shows you how to start the service so it stays awake 24/7 and responds whenever you message it.
Frameworks & tools
This skill uses a program called Thegan, which is a small file built with Rust. It works with Linux systemd to keep the service running and uses the Telegram app as your remote control.
Why this beats prompting it yourself
Setting up a self-hosted bot normally requires knowing complex server commands and how to handle security tokens. This skill handles the technical setup step by step, ensures you don't accidentally leak your private keys in chat logs, and configures the "heartbeat" of the service so it doesn't crash when you close your laptop.
Use cases
- Check how much disk space is left on your home server by asking Telegram.
- Send a file to your bot and ask it to summarize the text for you.
- Tell your bot to watch a specific system log and report any errors it finds.
- Run long-running tasks in the background that keep going even if you go offline.
Known limitations
This skill only works on Linux machines like a Raspberry Pi or a VPS. It does not work on Windows and cannot set up the permanent background service on macOS.
Installs Thegan, a static Rust binary, via a shell script. Configures systemd user units for persistence and handles environment variables in ~/.config/thegan/env. Supports OpenRouter, OpenAI, Anthropic, and Google/Gemini providers. Uses Telegram long polling for outbound-only communication, requiring no inbound ports or port forwarding.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 1 day ago
- Free with an Agensi account
- Accounts
Telegram
Klauslochmann
Permissions
Allowed Hosts
What's inside
Creator
Klaus Lochmann
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.