1
Create the bot
Open Telegram and message @BotFather:
- Send
/newbot - Choose a name and username
- Copy the bot token
2
Create the agent
telegram_bot.py
3
Install dependencies
4
Set environment variables
5
Run
- Calls the weather tool when asked about weather
- Remembers conversations across messages
- Transcribes voice notes to text automatically