Skip to content

Fun Project: Your Personal Telegram Assistant

Let's make something cool. We will turn PicoClaw into a Telegram bot that you can message from anywhere.

Why?

  • Ask specific questions on the go.
  • Have it summarize articles you send it.
  • It's just plain cool to have your own AI contact.

Prerequisites

  1. Completed Installation.
  2. Completed Configuration (you need a working API key).
  3. A Telegram account.

Steps

1. Set up the Bot

Follow the guide in Integrations to get your Token from @BotFather.

2. Edit config.json

Make sure your config looks like this:

json
{
  "api_key": "...",
  "base_url": "...",
  "model": "...",
  "integrations": {
    "telegram": {
      "token": "123456789:ABCDefGhIjKlMnOpQrStUvWxYz",
      "allow_users": ["gimng"]
    }
  }
}

3. Run it!

Start PicoClaw in your terminal:

bash
./picoclaw run

4. Say Hello

Open Telegram, find your bot, and send "Hello!". It should reply!

🎉 Congratulations! You now have a personal AI assistant in your pocket.

Released under the MIT License.