Telegram AI Chatbot with OpenRouter

    by Okikiola Wilson

    1

    Ready-to-run Telegram bot that chats through any OpenRouter model, with memory, commands and setup guide.

    $10

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Telegram AI Chatbot with OpenRouter

    Example session with this skill installed

    Set up a Telegram bot that uses a free OpenRouter model.

    • Read your context and instructions
    • Compiled the telegram ai chatbot

    Copies bot.py and requirements.txt into your project, walks you through getting a BotFather token and OpenRouter key, sets OPENROUTER_MODEL to a :free model, and starts the bot.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Ships a working, bug-fixed Telegram bot (scripts/bot.py) and walks the user from zero to a running bot.

    1. Collect two secrets from the user (never ask them to paste keys into files you commit or share):
      • Telegram bot token: message @BotFather on Telegram, send /newbot, copy the token.
      • OpenRouter API key: openrouter.ai/keys.
    2. Copy the bundled files scripts/bot.py and scripts/requirements.txt into the user's project folder. Run the bundled script as shipped; only change it if the user asks for customization.
    3. Install dependencies: pip install -r requirements.txt (Python 3.9+).
    4. Set environment variables, then run:
      • macOS/Linux: export TELEGRAM_TOKEN=... OPENROUTER_API_KEY=... then python bot.py
      • Windows PowerShell: $env:TELEGRAM_TOKEN="..."; $env:OPENROUTER_API_KEY="..."; python bot.py
    5. Test: open the bot in Telegram, send /start, then a normal message.
    VariableRequiredDefaultPurpose
    TELEGRAM_TOKENyesnoneBot token from BotFather
    OPENROUTER_API_KEYyesnoneOpenRouter key
    OPENROUTER_MODELnoopenrouter/autoAny model id from openrouter.ai/models
    MAX_HISTORYno20Messages remembered per user
    SYSTEM_PROMPTnofriendly concise assistantBot personality

    Free models: choose an id ending in :free from openrouter.ai/models. Note openrouter/auto routes to paid models and is not free.

    Conversation memory is in-process and resets on restart. Text messages only (no images, voice or files). Polling mode, single instance.

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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 8 days ago

    Accounts
    TelegramTelegram bot tokenOpenRouter API key
    Software
    Python 3.9+

    Permissions

    Terminal / Shell
    Write Files
    Network Access
    Environment Variables

    Allowed Hosts

    api.telegram.org
    openrouter.ai

    Reads TELEGRAM_TOKEN and OPENROUTER_API_KEY from environment variables. Keys are never written to disk.

    Listed8 days ago

    What's inside

    Frequently Asked Questions

    Ready-to-run Telegram bot that chats through any OpenRouter model, with memory, commands and setup guide.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Telegram AI Chatbot with OpenRouter on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    New in Workflow Automation

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.