AI-powered Crypto Research Telegram Bot built on Xiaomi MiMo
- 🔍 Deep Project Research — Analyze any crypto project (fundamentals, tokenomics, team)
- 📊 Real-time Market Data — Live prices, market cap, volume via CoinGecko
- 🎯 Airdrop Tracker — Discover and track airdrop opportunities
- 📈 Trending Analysis — Market narratives and trending tokens
- 💬 Natural Chat — Ask anything about crypto in plain language
- 🧠 Conversation Memory — Context-aware multi-turn conversations
- AI Model: Xiaomi MiMo (OpenAI-compatible API)
- Bot Framework: python-telegram-bot
- Data Source: CoinGecko API
- Language: Python 3.11+
git clone https://github.com/dpk-jr/mimo-crypto-bot.git
cd mimo-crypto-bot
pip install -r requirements.txtcp .env.example .env
# Edit .env with your keys:
# - MIMO_API_KEY: Get from https://platform.xiaomimimo.com
# - TELEGRAM_BOT_TOKEN: Get from @BotFather on Telegrampython bot.py| Command | Description |
|---|---|
/start |
Welcome message |
/research <token> |
Deep project analysis |
/price <token> |
Current price & market data |
/airdrops |
Latest airdrop opportunities |
/trending |
Trending tokens & narratives |
/help |
Show all commands |
Or just chat naturally — ask anything about crypto!
┌─────────────────────────────────────────────┐
│ Telegram Bot │
│ (python-telegram-bot) │
├─────────────────────────────────────────────┤
│ Bot Core (bot.py) │
│ Command handlers + Chat handler │
├──────────────────┬──────────────────────────┤
│ AI Client │ Crypto Researcher │
│ (mimo_client.py)│ (crypto_research.py) │
│ │ │
│ Xiaomi MiMo │ CoinGecko API │
│ API │ (market data) │
└──────────────────┴──────────────────────────┘
mimo-crypto-bot/
├── bot.py # Main bot — handlers & entry point
├── mimo_client.py # Xiaomi MiMo API client (OpenAI-compatible)
├── crypto_research.py # CoinGecko data fetching
├── requirements.txt # Python dependencies
├── .env.example # Environment template
└── README.md # This file
- User sends message → Telegram Bot receives it
- Bot processes → Determines if it's a command or chat
- Data gathering → Fetches real-time crypto data (if needed)
- AI inference → Sends context + query to Xiaomi MiMo
- Response → Formats and sends back to user
The bot maintains conversation history per user, enabling natural multi-turn conversations about crypto topics.
- 🚀 Fast inference — low latency responses
- 💰 Cost-effective — competitive token pricing
- 🧠 Strong reasoning — excellent for analysis tasks
- 🔌 OpenAI-compatible — easy integration
- 🌏 Multilingual — supports English & Indonesian
MIT
- Xiaomi MiMo — AI Model
- python-telegram-bot — Telegram Bot Framework
- CoinGecko API — Crypto Market Data
- OpenAI Python SDK — API Client