Get This Tool
AI Secretary
Pricing
- Model
- Free
Summary
Telegram notifications are either all on or all off — until a group explodes with 300 messages and you miss the one person saying they're waiting downstairs. This tool sits between Telegram and your phone, letting an LLM decide what actually needs to wake you up.
Telegram AI Secretary is a self-hosted Python daemon that listens to a Telegram account via Telethon, runs each incoming message through configurable notification rules and an LLM filter, then fires only the alerts that pass to your phone through ntfy. Setup requires a working Python environment, Telegram API credentials, an LLM endpoint, and an ntfy instance — none of which come pre-configured. The filtering logic lives in notification_rules.py, which you edit directly; there is no UI. It handles muted groups, direct urgency signals, and same-day scheduling well. It does not handle anything beyond single-message evaluation — no thread awareness, no conversation memory across sessions.
Bottom line: Pick this if you self-host, can tolerate editing Python files to tune your rules, and want Telegram quiet by default; skip it if you need a UI, multi-platform messaging support, or filtering that understands message threads rather than individual messages.
Community Performance Report Card
No community ratings yet. Be the first to rate this tool!
Community Benchmarks Community
Sign in to submit a benchmarkNo community benchmarks yet. Be the first to share a real-world data point.
Pros
Sign in to edit- LLM-assisted urgency evaluation catches natural-language signals like 'I'm outside' or 'free tonight?' that keyword rules miss, so messages requiring a real response get through even when Telegram is fully muted.
- Fully self-hosted with no external service dependency beyond your chosen LLM endpoint, which means your message content never touches a third-party notification broker.
- Editing notification_rules.py gives you direct control over filter logic without an abstraction layer between your intent and execution, so rule changes take effect on the next restart without waiting on a vendor's UI.
- ntfy as the delivery target works on Android and iOS without a proprietary app, so you receive filtered alerts on standard push infrastructure you likely already run.
- MIT license with a systemd unit file included, so deploying this as a persistent background service on a Linux machine is a copy-paste operation rather than a packaging project.
Cons
Sign in to edit- Each message is evaluated in isolation with no conversation memory across sessions, so follow-up messages that only make sense in context — 'still waiting', 'did you see my last message' — can fail the urgency filter even when the original message would have passed; teams who need thread-aware filtering have to maintain their own context-injection layer or abandon this tool for a hosted alternative.
- All configuration changes require editing Python source files directly and restarting the process; there is no API, no web UI, and no hot-reload, which means non-technical household members or teammates cannot adjust their own notification rules without developer involvement.
- The tool listens to a single Telegram account only — no multi-account support, no other messaging platforms — so anyone filtering across Signal, WhatsApp, or multiple Telegram accounts simultaneously has to run and maintain separate instances or switch to a unified notification management service.
Community Reviews
Sign in to write a reviewNo reviews yet. Be the first to share your experience.
About
- Platforms
- Python
- API Available
- No
- Self-Hosted
- Yes
- Last Updated
- 2026-07-21T22:23:14.488Z
Best For
Who it's for
- Users who want notifications off by default
- People managing noisy Telegram groups
- Self-hosted notification filtering setups
What it does well
- Keep Telegram muted while receiving urgent DMs
- Get notified for same-day plans or calls
- Ignore group noise unless mentioned
- Alert when someone is waiting outside
Integrations
Discussion Community
Sign in to commentNo discussion yet. Sign in to start the conversation.
Spotted incorrect or missing data? Join our community of contributors.
Sign Up to ContributeCommunity Notes & Tips Community
Sign in to contributeBe the first to contribute. General notes, observations, gotchas, and tips from people who use this tool day-to-day.
Frequently Asked Questions
- Is AI Secretary free?
- Yes — AI Secretary is fully free to use. There is no paid tier.
- Is AI Secretary open source?
- Yes. AI Secretary is open source.
- Can I self-host AI Secretary?
- Yes. AI Secretary supports self-hosting on your own infrastructure.
- What platforms does AI Secretary support?
- AI Secretary is available on: Python.
Hours Saved & ROI Stories Community
Sign in to contributeBe the first to contribute. Concrete time/cost savings, with context. e.g. "Cut my code review backlog from 4h to 45m per week."
Best AI Secretary alternatives →
Curated lists that include this category
Telegram AI Secretary connects to a Telegram account using the Telethon library, intercepts incoming messages before they reach the native notification layer, and applies a two-stage filter: first a rule set defined in notification_rules.py, then an LLM call for messages where context is ambiguous. Messages that clear both stages are forwarded to your phone via ntfy. The entire stack runs on your own hardware — a Raspberry Pi or any always-on Linux machine with Python is sufficient, and a systemd unit file is included for daemonization.
The differentiating design choice here is the LLM-in-the-middle evaluation step. Rather than keyword lists or sender whitelists alone, the tool passes message content to a language model to judge urgency — catching phrasing like ‘I’m outside’ or ‘are you free in an hour’ that rigid rules miss. The vendor describes this as filtering for ‘calls, same-day plans, or someone waiting at the door,’ which maps to exactly the cases keyword filters fail on.
This tool fits a narrow but real scenario: a technical solo user or small household who keeps Telegram muted by default and wants an LLM to act as a triage layer. It breaks when the filtering logic needs to account for conversation history — each message is evaluated in isolation, so a follow-up message like ‘seriously, I’m waiting’ with no prior context in the current session may not pass the filter. Teams managing multiple users, multiple platforms, or who need a configuration UI will hit the ceiling of a single-file Python project quickly and move to a hosted notification management service instead.
Dependencies are declared in requirements.txt. The .env.example file covers Telegram API credentials, LLM endpoint configuration, and ntfy target. No database is required; notification_state.py handles lightweight in-process state. MIT licensed, with no paid tiers and no external service dependency beyond whatever LLM endpoint you configure.
