Hybrid Local & Cloud Engine
Routes automatically across on-device NexaCore, Ollama / llama.cpp GGUF models, and OpenAI, Anthropic, or Gemini with seamless offline fallback and token telemetry.
Beyond a chatbot. NexaDroid understands your on-screen context with explicit consent, remembers across a semantic Knowledge Graph, routes intelligently between on-device models and cloud reasoning, and automates Android safely behind confirmation gates.
Fast lightweight query handled locally with semantic memory RAG.
Every subsystem separates Android OS platform APIs from AI routing, encrypted storage, and optional FastAPI sync.
Routes automatically across on-device NexaCore, Ollama / llama.cpp GGUF models, and OpenAI, Anthropic, or Gemini with seamless offline fallback and token telemetry.
Short-term session context, long-term approved memories, and automatic entity-relation graphs indexed with 128-dim dense embeddings and Markdown/JSON export.
On-demand MediaProjection foreground capture, ML Kit OCR, and password-safe AccessibilityService inspection. Zero covert capture; sensitive apps excluded.
Launch apps, open Settings, schedule WorkManager reminders, launch URLs, copy/share, draft SMS, manage notifications, and execute multi-step workflows safely.
Android SpeechRecognizer + configurable TextToSpeech with instant playback interruption on mic tap and opt-in foreground wake-phrase handling.
Android Keystore AES-256-GCM field encryption, EncryptedSharedPreferences API key vault, live Permission Dashboard, audit log, and one-action full data wipe.
Jetpack Compose + Material 3 adaptive layouts supporting dark & light themes, phones, and tablets.
Strict dependency boundaries with Hilt DI, Kotlin Coroutines & Flow, Room SQLite, DataStore, FastAPI, WebSockets, and PostgreSQL.
/api/v1/* & /ws/assistant)backend/app/db/schema.sql + Docker ComposeScreenCaptureService activates only on explicit user tap and displays an ongoing OS notification. Banking & password-manager packages are blocked by default.
NexaAccessibilityService immediately skips any UI node marked isPassword == true and buffers only when inspection is explicitly armed.
Every automation intent passes through ActionConfirmationDialog showing target, parameters, and risk level before execution.
One confirmed wipe clears Room tables, Knowledge Graph, DataStore, encrypted API keys, downloaded GGUF models, and cached captures.
git clone https://github.com/yashab-cyber/NexaDroid.git
cd NexaDroid/android
./gradlew testDebugUnitTest assembleDebug
cp config/.env.example backend/.env
docker compose up --build
# Or local zero-config SQLite:
cd backend && uvicorn app.main:app --reload