Open Source
Open repository
Full source code, setup details, and documentation are available on GitHub.
Case Study
A Telegram-first AI system that works from the owner's own account, adds a dedicated control bot, supports an optional public chat bot, and keeps memory, reminders, live data, and automation inside one flow.
Open Source
Full source code, setup details, and documentation are available on GitHub.
Dekrov AI Userbot stands out because it treats Telegram as the primary product surface, not as a thin integration. It combines assistant behavior, structured actions, memory, reminders, live retrieval, and model management into one coherent toolchain. As a portfolio case, it shows strong systems thinking: the project is opinionated, modular, practical, and clearly built around real usage instead of demo-only AI features.
Most Telegram AI projects are thin wrappers around a single model call. They can answer messages, but they do not behave like a real operating layer for an account: weak memory, no action routing, limited control, and too much friction between chat, tools, and automation.
The project combines a Pyrogram userbot, a separate control bot, an optional public chat bot, layered memory, reminder scheduling, live-data tools, and structured Telegram action routing. The result is a compact but capable AI operating system built directly around Telegram.
The main engine runs from the owner's Telegram account via Pyrogram and handles direct commands, chat context, auto-replies, reminders, and action execution.
A separate Telegram bot provides a control layer for runtime settings, response modes, allow/block lists, fallback behavior, and feature toggles.
When enabled, a public-facing bot exposes the AI to normal chat users without replacing the owner-centric userbot flow.
The project avoids a classic web stack and keeps the interaction loop inside Telegram. Instead of browser forms and dashboards, the system routes natural language into concrete actions, memory updates, and live requests.
Dialogue and owner workflow mode. It handles planning, reminders, memory updates, directives, everyday assistance, and longer-form requests.
Structured Telegram action mode. This is where the system turns natural language into concrete chat operations: forward, delete, archive, inspect, and move content between chats.
AI task mode for summarization, search, live information, image reasoning, and voice transcription through Groq-backed services.
The system stores owner profile data, user-specific memory, entity facts, shared short-term context, and style signals. This creates continuity between chats without turning the project into a heavyweight platform.
Style weighting lets the assistant balance the owner's voice, the target user's tone, and current chat context. That makes replies feel less generic and much more aligned with how the owner actually communicates.
Search routing combines DuckDuckGo, Google, Wikipedia, GitHub search, and optional SearXNG, then extracts article content for better grounded answers.
Weather, exchange rates, news, and general live requests are treated as first-class tools, not as afterthoughts glued onto a chat bot.
Voice transcription and image analysis expand the assistant beyond plain text and make it useful in actual Telegram usage patterns.
The project is driven by `.env`, session files, JSON state, and owner knowledge content. That keeps setup explicit: Telegram credentials, Groq API key, command behavior, search toggles, and memory options.
The design includes outgoing-only command restrictions, identity limits, validation, silence logic, and safety filters so automation stays useful without turning reckless.