AstrBotDevs /
AstrBot
AI Agent Assistant & development framework that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨
94/100 healthLoading repository data…
thebitsamuraii23 / repository
Telegram bot that based on AI API keys.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Production-ready Telegram AI bot with per-user provider settings, per-user model control, session-only API key handling, chat history, persona switching, media support, and multilingual interface.
en)ru)es)fr)tr)ar)de)it)pt)uk)hi)UrAI now uses a session-only key model for user API keys.
/deletekey, bot restart, or session TTL expiry.api_keys table data is removed at startup.For the full privacy and data-flow deep dive:
/privacyaiogram-based Telegram polling bot.bot/llm/service.py).aiosqlite.bot/handlers.py.flowchart LR
U["Telegram User"] --> B["UrAI Bot Runtime"]
B --> D["SQLite (users/chats/messages/settings)"]
B --> P["AI Provider API"]
U --> K["/apikey input"]
K --> M["Session key in RAM (TTL)"]
M --> B
B -. "No API key write to DB" .-> D
.
├── app.py # CLI entrypoint
├── bot/
│ ├── main.py # bot startup, command registration, polling
│ ├── handlers.py # commands, callbacks, chat workflow
│ ├── keyboards.py # inline/reply keyboard builders
│ ├── i18n.py # localization dictionary
│ ├── db.py # SQLite schema and data access
│ ├── config.py # environment config loader
│ ├── web_search.py # web search integration layer
│ └── llm/
│ ├── providers.py # provider definitions
│ └── service.py # provider-agnostic LLM calls
├── data/ # local database files
├── .env.example # environment template
└── README.md
.env from .env.example.python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
python app.py
Copy .env.example to .env and configure at least:
TELEGRAM_BOT_TOKEN=your_telegram_bot_token
DATABASE_PATH=data/bot.db
DEFAULT_LANGUAGE=en
DEFAULT_PROVIDER=openai
MEMORY_MESSAGES=20
Important optional settings:
SHARED_API_KEY, SHARED_PROVIDER, SHARED_TOKEN_QUOTAOPENAI_WEB_SEARCH, OPENAI_WEB_SEARCH_TOOL_CHOICEEXTERNAL_WEB_SEARCH_MODE, EXTERNAL_WEB_SEARCH_MAX_RESULTSWEB_SEARCH_BACKEND/start - quick onboarding and control keyboard/privacy - detailed privacy and data-flow overview/settings - settings hub and configuration shortcuts/languages - switch interface language/provider - choose provider/apikey - set session API key for active provider/deletekey - delete session API key for active provider/model - set model or UrAI model preset/baseurl - set custom provider base URL/personality - select assistant persona/tokens or /limit - view token status/history - open saved chat history/newchat - start a fresh chat context/i "query" - internet search flow/cancel - exit input modePrivacy hint for users:
WEB_SEARCH_BACKEND controls where search is executed:
server: search runs from your bot server/networkopenai: search runs through OpenAI built-in toolinghybrid: both modes available depending on runtime logic/privacybot/main.py.bot/handlers.py.ENCRYPTION_SETUP.md (legacy, for historical encrypted-at-rest setup)PRIVACY_AND_ENCRYPTION.mdMARKDOWN_IMPLEMENTATION.mdMARKDOWNV2_ESCAPING_GUIDE.mdBot developed by thebitsamurai (github.com/thebitsamuraii23).
Selected from shared topics, language and repository description—not editorial ratings.
AstrBotDevs /
AI Agent Assistant & development framework that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨
94/100 healthFurkan-Gulsen /
Telegram Multi-Agent AI Bot is an AI-driven chatbot that uses GPT-4o-mini, LangChain, and MongoDB Atlas Search for contextual conversations and intelligent responses.
64/100 healthTheStack-ai /
Run Claude Code from Telegram — AI dev partner that works 24/7, even when terminal is closed. pip install mrstack
65/100 healthlennystepn-hue /
The OpenClaw Cloud Platform — OpenClaw as a Service. Complete managed wrapper that turns OpenClaw into a production SaaS with dedicated VMs, Telegram bots, Stripe billing, and a customer portal.
68/100 healthMikkyPrestige /
AI Powered assistant that generates football tweet drafts from news sources, delivers them via a Telegram bot, and learns from your engagement metrics.
77/100 healthsen-rce /
Get a Telegram message the moment your Claude Code usage limits reset. Pure-Python, zero-dependency bot that an AI agent builds and sets up for you from a single prompt.
74/100 health