Void is a hyper-minimalist, terminal-and-Telegram-native autonomous Android orchestrator engineered for mobile edge computing. Inspired by ultra-lightweight agent frameworks (like OpenClaw), Void eliminates all heavy web server bloat (zero Flask, zero WSGI, zero HTML/SSE overhead), starting with zero default extensions and running as an ultra-lean local daemon controlled exclusively through an interactive rich TUI and an interactive Telegram Bot interface.
One-Line Install โข Directory Blueprint โข F-Droid Setup โข Telegram Bot Setup โข 6-Hub Control Center โข Cloud Vault & Brain Sync โข Remote SSH & Shell โข Local Models (<2GB) โข CLI Commands & Rich TUI โข Testing
Deploy Void directly into your Termux or Linux environment in seconds:
curl -sSL https://raw.githubusercontent.com/ashishsinghbora/void/main/install.sh | bashTip
To update or reinstall to the latest clean build on Termux:
rm -rf ~/void && curl -sSL https://raw.githubusercontent.com/ashishsinghbora/void/main/install.sh | bashVoid's architecture enforces strict separation of concerns, zero pre-bundled extension bloat, and low-memory data structures:
void/
โโโ bin/
โ โโโ void # Unified CLI command dispatcher (cli, fastfetch, plugins, setup-bot)
โโโ config/
โ โโโ settings.py # Configuration manager with strict 2048 MB RAM ceiling & compute profiles
โโโ core/
โ โโโ agent_engine.py # Advanced agent engine with bounded ReAct state loops
โ โโโ bot_setup.py # Frictionless Telegram setup wizard & Admin ID auto-detection
โ โโโ command_executor.py # Secure argument-vector subprocess executor with Termux IPC
โ โโโ event_bus.py # Pub/sub event streaming bus
โ โโโ fastfetch.py # ASCII & Unicode FastFetch telemetry collector
โ โโโ lru_cache.py # Bounded LRU query cache (O(1) lookups)
โ โโโ model_manager.py # Small-model bootstrapper (< 2GB GGUF models: SmolLM, Needle, Qwen)
โ โโโ types.py # Strongly-typed ReAct dataclasses with __slots__
โโโ agents/
โ โโโ react_agent.py # Autonomous ReAct loop with heuristic fallback router
โ โโโ prompt_processor.py # Natural language tokenizer & intent preprocessor
โ โโโ fallback_handler.py # Hardware error recovery & alternative tool suggestion
โโโ modules/
โ โโโ terminal_service.py # Remote OpenSSH daemon management & safe bash execution engine
โ โโโ brain_sync.py # Bidirectional Telegram group cloud vault & local brain synchronizer
โ โโโ deep_links.py # Android deep links (YouTube research, UPI, WhatsApp, Maps, Settings)
โ โโโ notification_watcher.py # Proactive 2FA/OTP interception with clipboard auto-copy
โ โโโ scraper_vault.py # Autonomous web scraping & article ingestion pipeline
โ โโโ voice_handler.py # Voice note transcription & call screening auto text-back
โโโ extensions/
โ โโโ base.py # Abstract ExtensionPlugin base class
โ โโโ manager.py # Dynamic on-demand plugin downloader & AST verification
โโโ security/
โ โโโ sanitizer.py # Strict argument & query sanitization
โ โโโ credential_vault.py # AES-256 encrypted credential vault
โ โโโ rate_limiter.py # Token-bucket rate limiter & session manager
โ โโโ permissions.py # Android permission governance & privacy audit
โโโ storage/
โ โโโ sqlite_db.py # Thread-safe SQLite wrapper with Write-Ahead Logging (WAL)
โ โโโ repository.py # Repositories for conversations, logs, telemetry
โ โโโ log_pruner.py # Sliding-window log pruner (guarantees DB < 5MB)
โโโ telegram/
โ โโโ bot_app.py # Master supervisor for bot polling & Mini App HTTP daemon
โ โโโ bot_controller.py # Authenticated Telegram bot control plane & keyboard layouts
โ โโโ database/ # SQLite WAL models & thread-safe data access layer
โ โโโ middleware/ # Role-based access control & rate limiting
โ โโโ services/
โ โ โโโ cloud_vault.py # Cloud Vault media storage service
โ โ โโโ device_service.py # Multi-device registry & remote tool dispatcher
โ โ โโโ payment_service.py # Telegram Stars (XTR) invoice generator
โ โ โโโ tma_auth_service.py # HMAC-SHA256 Telegram Mini App auth
โ โโโ handlers/
โ โ โโโ core_handlers.py # /start, /sh, /bash, /ssh, /ram, /status, /fastfetch
โ โ โโโ hub_handlers.py # Permanent 6-Hub Control Center & Dynamic Extension Registry
โ โ โโโ menu_router.py # Centralized callback router with backward compatibility
โ โ โโโ vault_handlers.py # /vault, /set_vault, /link_vault pairing
โ โ โโโ billing_handlers.py # /billing, Stars invoices, pre-checkout & fulfillment
โ โ โโโ settings_handlers.py# /settings & in-chat preference toggles
โ โโโ webapp/ # High-performance Telegram Mini App (TMA)
โโโ tools/
โ โโโ base.py # Strategy pattern base class
โ โโโ hardware.py # Battery, torch, vibration, volume, display
โ โโโ telephony.py # SMS send/receive, call, contacts, call log
โ โโโ media.py # Camera photo capture, text-to-speech, audio
โ โโโ system.py # Toasts, notifications, clipboard, GPS, wifi, native storage clean
โ โโโ social_apps.py # WhatsApp deep-links, Telegram chats, social profile intents
โ โโโ mobile_actions.py # Simulated touch tap, swipe, keyevent, typing, screen capture
โ โโโ advanced_modules.py # Bash execution, SSH management, Brain sync, YouTube research
โ โโโ registry.py # Hash-indexed strategy pattern tool registry
โโโ tests/ # Comprehensive 136-test automated test suite
โโโ app.py # Lean daemon supervisor, async runners & Telegram controller
โโโ termux_void.py # Mobile-optimized terminal user interface (TUI)
โโโ install.sh # One-line zero-friction bootstrap installer
โโโ requirements.txt # Minimal dependencies: pyTelegramBotAPI, requests, pytest
For complete Android hardware integration, install Termux and the companion API from F-Droid (do NOT use Google Play Store):
- Install Termux from F-Droid:
- Download: F-Droid Termux
- Install Termux:API from F-Droid:
- Download: F-Droid Termux:API
- Initialize the Companion App (Important):
- Open the Termux:API app from your Android app drawer at least once so Android wakes up the IPC service.
- Go to Android Settings -> Apps -> Termux:API -> Permissions and grant desired permissions (Camera, Storage, SMS, Location). All permissions are optional; Void gracefully falls back to simulation mode if ungranted.
Void eliminates the hassle of configuring Telegram bots and finding your numeric User ID:
void setup-bot- Token Validation: Verifies token format and calls Telegram's
getMeAPI to confirm bot identity. - Instant Admin ID Auto-Detection:
- Prompts you to open your bot on Telegram and send any message (or tap
/start). - Listens to incoming updates and automatically extracts your Telegram User ID and username.
- Whitelists your ID instantly so nobody else can control your phone.
- Prompts you to open your bot on Telegram and send any message (or tap
- Confirmation Ping: Sends an instant verification greeting directly to your Telegram chat.
- Secure Persistence: Saves credentials to
~/.void/config.envwith0600permissions (readable strictly by you).
Void features a consolidated, ergonomic 6-Hub Control Center on Telegram, designed to be permanent across updates while allowing dynamic extension integration:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โก VOID EDGE AGENT ROOT CONTROL CENTER โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ ๐ฑ Screen & Touch โ โ๏ธ Vault & Brain โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ ๐ป Terminal & SSH โ ๐ฌ Research & YouTube โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โก Apps & Intents โ ๐ก๏ธ Security & Interceptor โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
- ๐ฑ Screen & Touch (
menu_screen):- High-speed screen capture & OCR text inspection.
- Coordinate tap simulation (
/tap <x> <y>). - Smooth gesture swiping (
/swipe <x1> <y1> <x2> <y2> [duration]). - Software keyboard typing input (
/type <text>). - Hardware keyevent simulation (
HOME,BACK,RECENTS,POWER,VOLUME).
- โ๏ธ Vault & Brain (
menu_vault):- Decentralized cloud vault memory status and statistics.
- One-tap manual local-to-cloud bidirectional synchronization (
#DOC,#NOTE,#SCREEN,#RESEARCH). - Telegram group file explorer & media indexer.
- ๐ป Terminal & SSH (
menu_terminal):- Remote OpenSSH daemon (
sshd) status and one-tap Start / Stop controls. - Network IP interface discovery (
wlan0, cellular, localhost). - One-tap quick connect command card (
ssh user@ip -p 8022). - Live bash command execution (
/sh <cmd>or/bash <cmd>).
- Remote OpenSSH daemon (
- ๐ฌ Research & YouTube (
menu_research):- Automated YouTube topic deep research and video playback.
- Autonomous research note summarization archived to local brain dataset.
- Background article scraper and digest generator.
- โก Apps & Intents (
menu_apps):- Instant 1-on-1 WhatsApp messaging via Android intents.
- Telegram profile & channel deep navigation.
- Google Maps turn-by-turn navigation intents (
ddriving,wwalking,bbicycling). - Instant UPI payments (Google Pay, PhonePe, Paytm).
- Android System Settings deep links (WiFi, Bluetooth, Battery, Display, Accessibility).
- ๐ก๏ธ Security & Interceptor (
menu_security):- Real-time 2FA / Banking OTP interceptor with clipboard auto-copy.
- Smart call-screening and auto text-back on missed calls.
- Hardware security audit logs, rate limit status, and active sessions.
External plugins and community extensions dynamically hook into any of the 6 hubs via register_hub_extension() in telegram/handlers/hub_handlers.py:
from telegram.handlers.hub_handlers import register_hub_extension
# Register an action button into the Terminal & SSH hub:
register_hub_extension("terminal", "โก Fast Diagnostic", "cb_fast_diag")Void bridges local on-device datasets with an unlimited, decentralized Telegram Group Cloud Vault:
- Local Phone Brain:
~/.void/vault/and~/.void/brain/ - Cloud Vault: Your private Telegram group where the Void bot is an Admin
- Automatic Hashtag Classification:
#DOCโ PDFs, office documents#NOTEโ Text summaries, logs#SCREENโ Screenshots, camera frames#RESEARCHโ Web and YouTube research syntheses#OTPโ Intercepted banking 2FA tokens#MEDIAโ Audio recordings, videos, images#CODEโ Python scripts, shell files, JSON payloads
- SHA-256 Deduplication: Ensures zero duplicate bandwidth usage.
- Pairing Onboarding Wizard:
- Add your bot to any private Telegram group as an Administrator.
- Send
/link_vaultinside the group to bind it permanently. - Or configure via DM:
/set_vault <chat_id_or_invite_link>.
Turn your Android device into a secure, accessible remote workstation:
- Interactive Bash Execution:
/sh uname -a /sh free -m /sh pkg list-installed
- OpenSSH Daemon Management & In-Chat Password Setting:
/ssh start # Launches sshd on port 8022 /ssh stop # Gracefully terminates sshd /ssh # Displays connection card with available IPs and command /ssh setpass <password> # Sets Termux SSH login password directly in Telegram!
- Dynamic RAM Control:
/ram # Displays current RAM limit, model ceiling, and compute profile /ram 1024 # Sets dynamic RAM limit to 1024 MB (strictly clamped <= 2048 MB)
- Digital Twin Agent Workspace & History:
/agent # Displays active model engine, RAM limit, and status /skills # Lists all 9 digital twin capabilities & skills /history # Shows recent task history, queries, tools, and results /scripts # Lists custom user automation scripts in ~/.void/scripts/ /run_script <name> # Executes a Python or Bash automation script
To guarantee that Android's Low Memory Killer (LMK) never terminates Void, all supported models are strictly capped under 2000 MB (MAX_MODEL_SIZE_MB = 2000.0, MAX_ALLOWED_RAM_MB = 2048):
| Model ID | Architecture | File Size | Recommended Device RAM | Profile |
|---|---|---|---|---|
needle-compact |
Needle-Edge Binary | 28.5 MB | 1 GB - 2 GB | Micro Edge Tool Router |
smollm-135m |
SmolLM-135M-Instruct Q4 | 85.0 MB | 1.5 GB - 3 GB | Fast Edge Execution |
qwen-0.5b |
Qwen2.5-0.5B-Instruct Q4 | 350.0 MB | 2 GB - 4 GB | Balanced Tool Calling |
llama-3.2-1b |
Llama-3.2-1B-Instruct Q4 | 850.0 MB | 3 GB - 6 GB | High-Accuracy Autonomy |
smollm2-1.7b |
SmolLM2-1.7B-Instruct Q4 | 1050.0 MB | 4 GB - 8 GB | Multi-Step Reasoning |
qwen2.5-1.5b |
Qwen2.5-1.5B-Instruct Q4 | 1150.0 MB | 4 GB - 12 GB | Elite Mobile Digital Twin |
# Inspect available models:
void models
# Download model directly in terminal:
void download qwen-0.5b
# Run the interactive LLM setup wizard:
void wizardLaunch Void's mobile-adaptive Terminal User Interface (TUI):
void
# or explicitly:
void cli- Responsive Viewport Adaptation: Automatically detects screen width via
shutil.get_terminal_size()(40โ60 columns) with zero horizontal overflow. - Stacked Card Layouts: Vertical cards designed specifically for mobile touchscreens.
- Touch-Friendly Quick Action Palette (
[1]-[0], [V], [W], [X], [S], [Q]):[1]๐ฆ Torch โ Instant flashlight toggle[2]๐ Battery โ Real-time battery percentage & thermal state[3]๐ธ Camera Snap โ Direct hardware camera capture[4]โก FastFetch โ Stacked ASCII/Unicode telemetry[5]๐งฉ Extensions โ Dynamic plugin store[6]๐งน Clean Disk โ Wipe caches, thumbnails, and temp files[7]๐ Audit Logs โ Hardware execution audit history viewer[8]๐ก๏ธ Security โ Active sessions, token bucket rate limiter & cipher status[9]๐ง Local LLMs โ Small-model downloader & weight inspector[0]๐ค Bot Hub โ@voidtermuxbotstatus & test ping[V]โ๏ธ Cloud Vault โ Telegram group memory & file explorer[W]๐ง LLM Wizard โ Guided model setup for device RAM[X]๐ป Remote SSH โ OpenSSH daemon status & connection card[S]๐ฑ Screenshot โ Instant Android screen capture[Q]๐ช Exit App โ Clean teardown & history save
- Live Telemetry & Resource Monitor Widget: Tracks RAM RSS (< 30MB benchmark), RAM Cap (< 2048 MB), battery, SQLite WAL, model engine, SSH status, and bot connectivity.
- Persistent Command History: Arrow navigation powered by
readline(~/.void/.cli_history).
Run anytime in your terminal:
void fastfetchโญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ VOID TELEMETRY FASTFETCH โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
__ __ _ _ Host โ Google Pixel 8 Pro
\ \ / /__ (_) __| | OS โ Android 14 (Termux)
\ \ / / _ \ | |/ _` | Kernel โ 5.15.137-android14 (aarch64)
\ V / (_) || | (_| | Uptime โ 3d 14h 22m
\_/ \___/ |_|\__,_| Python โ 3.11.8 (Shell: bash)
EDGE AGENTIC DAEMON Void RSS โ 21.4 MB (Target < 30MB โ
)
RAM โ 2410 MB / 11520 MB (Cap: 2048MB)
Battery โ 92% [CHARGING] (31.2ยฐC)
Network โ 192.168.1.145 (Wi-Fi: Studio_5G)
SSH โ Active (Port 8022)
Model โ SmolLM-135M-Instruct-Q4
Daemons โ NotifDaemon, Scraper, BrainSync
Or view directly inside Telegram with /fastfetch!
Void maintains a 100% test pass rate across 136 automated test cases:
void test
# or:
python3 -m pytest============================= test session starts ==============================
collected 136 items
tests/test_75_button_hierarchy.py ...... [ 4%]
tests/test_advanced_modules.py ............ [ 13%]
tests/test_bot_setup.py ... [ 15%]
tests/test_cloud_vault.py .... [ 18%]
tests/test_daemons.py ... [ 20%]
tests/test_extensions.py ...... [ 25%]
tests/test_fastfetch.py ... [ 27%]
tests/test_lru_cache.py ... [ 29%]
tests/test_media_vault.py ... [ 31%]
tests/test_mobile_actions.py ........ [ 37%]
tests/test_model_manager.py .... [ 40%]
tests/test_react_agent.py ... [ 42%]
tests/test_safe_telegram.py .... [ 45%]
tests/test_security.py ........ [ 51%]
tests/test_simulator.py .. [ 52%]
tests/test_social_apps.py ..... [ 56%]
tests/test_storage.py ... [ 58%]
tests/test_submenus_callbacks.py .... [ 61%]
tests/test_super_master.py .................. [ 75%]
tests/test_telegram_advanced.py ............. [ 84%]
tests/test_telegram_bot.py .... [ 87%]
tests/test_termux_void.py ............. [ 97%]
tests/test_tools.py .... [100%]
============================= 136 passed in 6.35s ==============================
Distributed under the Apache License 2.0. Engineered with โก by Ashish Singh Bora.