← All tools

enzosantana-mv/telegram-ai-scope

Popularity 60 Updated AI & Agents

AI-Powered Telegram Monitor 2026: Real-Time Message Classification & Insights Dashboard

githubauto-collected

Installation

A directly usable install command is not verified yet. Check the project documentation or releases.

AI-Powered Telegram Semantic Monitor: Real-Time Message Intelligence & Adaptive Alerting System

The Concept: Your Telegram Channels, Reimagined as a Living Data Stream

Imagine standing at the edge of a digital river. Thousands of messages, conversations, announcements, and whispers flow past you every minute. In a standard Telegram group, you either swim with the current (reading everything) or drown (missing critical information). This project builds a bridge across that river—a custom-built observatory that doesn't just show you the water, but analyzes its chemical composition, predicts its direction, and alerts you when a gold nugget drifts by.

This is not another chatbot. This is a semantic monitoring solution that transforms raw Telegram messages into structured intelligence. It leverages Large Language Models (LLMs) to understand meaning, not just keywords, and presents everything through a React dashboard that feels like mission control for your communication channels.

What Problem Does It Solve?

  • Information Overload: In high-traffic Telegram groups (trading signals, dev communities, news feeds, customer support), humans miss 80% of value.
  • Contextual Blindness: Keyword filters find "Apple" but cannot distinguish between "Apple stock price," "Apple pie recipe," and "Apple released a new MacBook."
  • Alert Fatigue: Traditional notification systems scream about everything. This system whispers only when it matters.

Key Features

  • Real-Time Semantic Classification 🧠 Messages are analyzed by both OpenAI GPT-4 and Claude (Anthropic) APIs for redundancy and cross-validation. Each message gets a "meaning fingerprint."
  • Adaptive Alerting System 🔔 Learn from your feedback. Mark an alert as "not useful," and the AI adjusts its classification threshold for similar future messages.
  • Responsive React Dashboard 📊 Built with Tailwind CSS and Recharts. Works perfectly on desktop, tablet, or mobile. Monitor on the go.
  • Multilingual Support 🌍 The AI can classify messages in 30+ languages. Whether your Telegram group speaks English, Spanish, Arabic, or Japanese, the system understands.
  • 24/7 Background Operation ☁️ Runs as a lightweight daemon. No manual intervention required. Uses webhook polling to maintain real-time performance.
  • Customizable Classification Categories 🎯 Define your own "buckets" (e.g., "Urgent Support," "Sales Lead," "Technical Issue," "Feature Request," "Noise") and the AI sorts messages accordingly.
  • Privacy-First Architecture 🔒 All message processing occurs via encrypted API calls. No raw message data is stored permanently. Only classification results and embeddings are retained for pattern analysis.
  • Export & Reporting 📤 Generate weekly intelligence reports in PDF or CSV format. See trends, peak activity times, and emerging topics.

Mermaid Diagram: System Architecture

graph TD
    A[Telegram User Message] --> B[Telegram API Webhook]
    B --> C[Message Queue RabbitMQ]
    C --> D[Classifier Worker 1: OpenAI GPT-4]
    C --> E[Classifier Worker 2: Claude 3 Opus]
    D --> F[Consensus Engine]
    E --> F
    F --> G{Confidence > 85%}
    G -->|Yes| H[Store in PostgreSQL]
    G -->|No| I[Manual Review Queue]
    H --> J[Real-Time Dashboard React]
    H --> K[Alert Engine]

I -- J J -- M[User Feedback Loop] M -- F


## Example Profile Configuration

Create a `profiles.json` file to define your monitoring targets and classification rules. This is the "personality" of your monitor.

{ "monitors": [ { "channel": "cryptosignalselite", "name": "Trading Floor Alpha", "languages": ["en", "zh", "ko"], "categories": { "BUYSIGNAL": {"priority": 10, "keywords": ["buy", "long", "entry", "breakout"]}, "SELLSIGNAL": {"priority": 9, "keywords": ["sell", "short", "exit", "dump"]}, "ANNOUNCEMENT": {"priority": 5, "keywords": ["new listing", "update", "maintenance"]}, "HYPE": {"priority": 2, "keywords": ["moon", "to the moon", "pump"]}, "NOISE": {"priority": 0, "keywords": ["hello", "lol", "nice"]} }, "alertrules": { "BUYSIGNAL": {"push": true, "webhook": "https://discord.com/api/webhooks/..."}, "SELLSIGNAL": {"push": true, "email": "trader@example.com"}, "ANNOUNCEMENT": {"push": false} }, "llmproviders": ["openai", "claude"], "consensusthreshold": 0.8 }, { "channel": "customersupporttickets", "name": "Support Desk", "languages": ["en", "es", "fr"], "categories": { "URGENTBUG": {"priority": 10, "keywords": ["crash", "broken", "error 500"]}, "PAYMENTISSUE": {"priority": 9, "keywords": ["refund", "charged", "billing"]}, "FEATUREREQUEST": {"priority": 4, "keywords": ["would be nice", "suggestion", "add"]}, "GENERALQUERY": {"priority": 1, "keywords": ["how to", "what is", "help"]} }, "alertrules": { "URGENTBUG": {"push": true, "sms": "+15551234567"}, "PAYMENTISSUE": {"push": true, "email": "billing@company.com"} }, "llmproviders": ["openai"], "consensusthreshold": 0.75 } ] }


## Example Console Invocation

Launch the monitoring system with a single command. The console provides real-time feedback.

$ python telemonitor.py --config profiles.json --dashboard --port 8080


**Expected Console Output:**

[2026-04-01 10:32:15] INFO: Loading configuration from profiles.json [2026-04-01 10:32:15] INFO: Initializing Telegram client for 2 channels... [2026-04-01 10:32:16] INFO: OpenAI API key detected. Model: gpt-4-turbo [2026-04-01 10:32:16] INFO: Claude API key detected. Model: claude-3-opus-20240229 [2026-04-01 10:32:17] INFO: Dashboard server starting on http://0.0.0.0:8080 [2026-04-01 10:32:18] INFO: Monitoring: Trading Floor Alpha [cryptosignalselite] [2026-04-01 10:32:18] INFO: Monitoring: Support Desk [customersupporttickets] [2026-04-01 10:32:19] EVENT: [Trading Floor Alpha] << BUYSIGNAL "BTC long entry at $72k confirmed" (confidence: 0.94) [2026-04-01 10:32:20] EVENT: [Support Desk] << URGENTBUG "App crashes on checkout screen" (confidence: 0.97) [2026-04-01 10:32:21] INFO: Alert sent to Discord webhook for BUYSIGNAL [2026-04-01 10:32:21] INFO: SMS alert sent to +15551234567 for URGENTBUG