A demo of an LLM-powered NPC agent that lives in TeleMafia’s chat and reacts to on-chain player actions with witty/roasting comments in real time.
- Listens for on-chain player actions
- Generates real-time LLM-powered reactions
- Posts reactions in a Telegram group chat
- Clone this repo
- Install dependencies:
pip install -r requirements.txt
- Set your API keys as environment variables:
OPENAI_API_KEY
(for LLM)TELEGRAM_BOT_TOKEN
(for Telegram bot)
- Run the bot:
python main.py
- Swap OpenAI for another LLM provider if desired.