Telegram AI Agent
by Faisal
If you want your AI agent to live in your pocket rather than a browser tab, this skill is for you.
$10
What it does
- Sets up a Telegram bot using free models from OpenRouter
- Prevents common connection errors by formatting the model configuration correctly
- Provides a step-by-step guide for creating your bot through Telegram's BotFather
- Secures your sensitive keys using protected environment files
- Verifies the connection with a smoke test before you go live
Who it's for
Tech-savvy users wanting a personal assistant
Get an AI assistant you can talk to on Telegram for free.
Try asking: “Help me set up a Telegram bot using a free OpenRouter model.”
Small business owners needing basic automation
Create a simple bot to handle messages without paying for API credits.
Try asking: “Guide me through connecting a free AI model to my Telegram bot.”
Telegram AI Agent
Example session with this skill installed
I want to set up a free AI bot on Telegram using OpenRouter. Can you walk me through it?
- Read your context and instructions
- Compiled the telegram ai agent
I will help you set up your own Telegram AI agent using the Hermes agent and a free model from OpenRouter. This setup will let you chat with an AI directly in Telegram for free.
Here are the steps we will take
- Get your OpenRouter Key: You will need to create a free API key in your OpenRouter dashboard. I will show you how to store this safely in a hidden file so it never leaks.
- Install the Hermes Agent: We will check that the agent is installed correctly on your machine using the project's own tools.
- Configure the Model: This is the most important part. I will give you a specific block of text to copy into your configuration. We must format the model as a "dict" (a set of four specific lines) to avoid the common "not a valid model ID" error.
- Meet BotFather: You will go to Telegram and talk to the BotFather to name your bot and get a special token.
- Connect the Gateway: We will add your Telegram chat ID to the config so the bot knows it is talking to you.
- Test the Bot: We will run a quick test command to make sure it works, then send a message on Telegram to see it reply.
Would you like to start by getting your OpenRouter API key, or do you have the Hermes agent installed already?
Connects securely to your tools. The creator never sees your data.
About this skill
If you want your AI agent to live in your pocket rather than a browser tab, this skill is for you. It helps you take a free AI model and plug it into a Telegram bot so you can chat with it anywhere. You will not need to pay for the AI model, and the setup stays within the free tiers of the tools you use.
How it works
- You ask your AI agent to start the Telegram bot setup.
- The skill guides you through getting a free API key and creating your bot inside Telegram.
- You follow the specific instructions to format your configuration file so the connection does not break.
- You start the gateway on your computer and send a test message to your new bot.
- You receive a reply on Telegram, confirming your personal AI is live.
Frameworks & tools
This skill uses the Hermes agent and OpenRouter to connect to free AI models. It uses Telegram's BotFather to create the bot and a YAML configuration file to link everything together.
Why this beats prompting it yourself
Setting up these bots often fails because of one tiny detail: the AI model must be written as a "dictionary" in the code, not a simple line of text. Most people get a "valid model ID" error and get stuck. This skill knows that specific trap and ensures your configuration is correct the first time, saving you hours of troubleshooting.
Use cases
- Chatting with a large-context AI model while you are away from your computer
- Building a private bot to summarize notes or ideas you send via Telegram
- Testing AI behaviors in a real chat app without spending money on tokens
- Setting up a permanent AI contact in your Telegram chat list
Known limitations
The bot requires a computer that stays turned on to keep the gateway running. Free models have daily limits that reset at midnight UTC.
Built for the Hermes agent using OpenRouter API. Configures YAML files with specific dictionary structures for model endpoints to avoid HTTP 400 errors. Manages environment variables for API keys and uses a gateway service to bridge Telegram webhooks to the local agent. Requires numeric Telegram chat_id and user_id mapping.
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
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed today
Permissions
What's inside
Frequently Asked Questions
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.