ShizuStore

OpenDroid

yashab-cyber

1.0.7 · GitHub

Download APK
AI agents Android 8.0+ 3 weeks ago Apache-2.0
178 ShizuStore
4.2k GitHub
1.1k Stars
57 MB Size

More about this app

Open-source autonomous on-device AI agent that plans and executes multi-step tasks via screen automation

OpenDroid Logo

OpenDroid

๐Ÿค– The Open-Source Autonomous AI Agent for Android

Your phone. Your rules. Your AI.

CA: 4AonAtnT2WpjD25s1JJbNuxS1DNq9WBe7dTME2jWpump

Release Stars License Discord

Opendroid  - Autonomous A.I agent for Android. | Product Hunt

Features โ€ข Architecture โ€ข Get Started โ€ข Providers โ€ข License


๐ŸŽฏ What is OpenDroid?

OpenDroid isn't just another chatbot. It's a fully autonomous AI agent that lives on your Android phone and actually does things for you.

"Check if it's going to rain tomorrow, and if so, text my wife that I'll be late and set an alarm for 6 PM."

OpenDroid will plan this as 3 steps, execute each one, verify the results, and adapt if anything fails โ€” all without you lifting a finger.


โœจ Features

๐Ÿง  Autonomous Agent Engine

Capability Description
Self-Planning Breaks complex commands into sequential steps with dependency tracking
Habit & Routine Detection Mines recurring daily app sequences (e.g. Gmail \(\to\) Calendar \(\to\) Slack at 9 AM) and offers one-click automated routines
Re-Evaluation Monitors execution results and dynamically replans when steps fail
Compound Intent Guard Smart detection of multi-action commands (e.g. "open WhatsApp and send message")
Contact Disambiguation 4-tier contact resolution with fuzzy matching and relationship aliases ("call dad")

๐Ÿ› ๏ธ On-Device Model Manager (LiteRT-LM)

Capability Description
Background Downloader Real network downloads (via WorkManager) with Pause/Resume, cellular support, speed tracking, and ETA
Secure Authentication Direct Android Keystore AES-GCM token storage to securely fetch gated Hugging Face models
Integrity Verification Computes SHA-256 hashes and verifies LiteRT engine loading compatibility before marking READY
Local Model Import Direct offline importing of catalog or freestanding custom .task / .litertlm files with JNI verification checks

๐Ÿ“ฑ Full Device Control

Action Examples
System Brightness, WiFi, Bluetooth, Flashlight, DND, Volume, Screenshot
Communication WhatsApp messages, Telegram messages/channels (@user), Calls, SMS, Email drafts
Routines Morning briefings, agenda summaries, automated macro sequences
Productivity Screen extraction ("Read & Remember"), Alarms, Timers, Reminders, Calendar events, Notes
Navigation Google Maps directions, Uber/Ola booking
Media Play/pause music, YouTube search, camera
Finance UPI payments, bill splitting, currency conversion
Smart Home Google Home device control

๐Ÿ‘๏ธ Vision Engine & Screen Understanding

Captures screenshots via Accessibility API and feeds them to vision-capable LLMs for real-time screen analysis and "Read & Remember" multimodal meeting/note extraction. Falls back to accessibility tree text-scraping on older devices.

๐Ÿ—„๏ธ 4-Tier Personal Knowledge Graph

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                 Personal Knowledge Graph                    โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ โšก Level 1   โ”‚  ๐Ÿง  Level 2  โ”‚   ๐Ÿ“ˆ Level 3   โ”‚  ๐Ÿ”’ Level 4  โ”‚
โ”‚  Temporary   โ”‚  Long-Term   โ”‚    Learned     โ”‚  Sensitive   โ”‚
โ”‚   (Active    โ”‚  (Explicit   โ”‚    Patterns    โ”‚ (Keystore    โ”‚
โ”‚    Plan)     โ”‚    Facts)    โ”‚  (Inferences)  โ”‚  Encrypted)  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐ŸŽ™๏ธ Voice Interface

  • Offline wake word detection โ€” say "OpenDroid" to activate
  • Speech-to-text for hands-free commands
  • Text-to-speech with ElevenLabs premium voice support

๐ŸŽจ Premium UI

Built with Jetpack Compose featuring a futuristic glassmorphic design:

  • Deep navy (#080C10) + Neon green (#00FF88) color system
  • Pulsing audio orb animation during listening
  • Live latency benchmarks for each provider
  • Dark mode by default

๐ŸŽฌ Meet OpenDroid in 3D

OpenDroid 3D Greeting

OpenDroid saying hi โ€” rendered in 3D!

Note: If the video doesn't play inline on GitHub, click here to download and watch it.

๐Ÿ“ธ Screenshots

Chat Screen    Plan Engine    Persistent Memory    Set Alarm

Chat โ€ข Plan Engine โ€ข Memory System โ€ข Alarm Control


๐Ÿ—๏ธ Architecture

Clean architecture with Dagger-Hilt dependency injection:

com.opendroid.ai
โ”‚
โ”œโ”€โ”€ ๐Ÿค– accessibility/      App automators (WhatsApp, SMS, Calls)
โ”œโ”€โ”€ โšก actions/             60+ action executors across 10 modules
โ”œโ”€โ”€ ๐Ÿง  core/
โ”‚   โ”œโ”€โ”€ agent/              AgentLoop, PlanManager, IntentClassifier, VisionEngine
โ”‚   โ”œโ”€โ”€ llm/                12 LLM providers, fallback chain, prompt engine
โ”‚   โ”œโ”€โ”€ memory/             4-tier memory system + notification intelligence
โ”‚   โ”œโ”€โ”€ security/           Direct Keystore provider credentials + legacy plaintext migration
โ”‚   โ”œโ”€โ”€ service/            Foreground service, notification listener, boot receiver
โ”‚   โ””โ”€โ”€ voice/              Wake word, speech recognition, TTS engine
โ”‚
โ”œโ”€โ”€ ๐Ÿ’พ data/
โ”‚   โ”œโ”€โ”€ db/                 Room database (7 DAOs, 7 entities, 3 migrations)
โ”‚   โ”œโ”€โ”€ models/             Unified data models (Plan, Memory, ChatMessage)
โ”‚   โ””โ”€โ”€ repository/         Repositories backed by Room & DataStore
โ”‚
โ”œโ”€โ”€ ๐Ÿ’‰ di/                  Hilt modules (App, Database, LLM)
โ””โ”€โ”€ ๐ŸŽจ ui/
    โ”œโ”€โ”€ theme/              Glassmorphic design system
    โ”œโ”€โ”€ screens/            16 screens (Chat, Plan, Memory, Settings, etc.)
    โ”œโ”€โ”€ viewmodel/          8 ViewModels
    โ””โ”€โ”€ components/         Reusable Compose components

๐Ÿ”Œ Supported LLM Providers

OpenDroid supports 12 LLM providers with automatic failover:

Provider Models Type
๐ŸŸข Google Gemini Gemini 2.0 Flash, Pro, Nano Cloud + On-device
๐ŸŸฃ Anthropic Claude Claude Sonnet 4, Opus 4 Cloud
๐Ÿ”ต OpenAI GPT-4o, GPT-4.1, o3 Cloud
โšก Groq LLaMA 3, Mixtral (ultra-fast) Cloud
๐Ÿ”ท DeepSeek DeepSeek V3, R1 Cloud
๐ŸŸ  Mistral AI Mistral Large, Medium Cloud
๐ŸŒ OpenRouter 200+ models via unified API Cloud
๐Ÿค Together AI Open-source model hosting Cloud
๐Ÿ”ด Cohere Command R+ Cloud
๐Ÿ™ GitHub Copilot GPT-4.1, Claude via Copilot API Cloud
๐Ÿ  Ollama Any local model (LLaMA, Phi, etc.) Local
๐Ÿ”ง Custom OpenAI Any OpenAI-compatible endpoint Self-hosted

Smart Fallback: If your primary provider fails, OpenDroid automatically tries the next available provider in the chain.


โšก๏ธ Getting Started

Prerequisites

  • JDK 21 โ€” not newer. The project compiles against Java 21 (jvmToolchain(21)). gradle/gradle-daemon-jvm.properties makes ./gradlew select an installed JDK 21 automatically, so you do not have to change JAVA_HOME โ€” but a JDK 21 must be installed.
  • Android SDK 35 (Android 15)

Build & Install

# Clone the repository
git clone https://github.com/yashab-cyber/opendroid.git
cd opendroid

# Build debug APK
./gradlew assembleDebug

# APK output location
# โ†’ app/build/outputs/apk/debug/app-debug.apk

Required Permissions

On first launch, OpenDroid will guide you through granting:

Permission Why
๐Ÿ”“ Accessibility Service UI automation, screen reading, app control
โš™๏ธ Write Settings Toggle WiFi, Bluetooth, brightness
๐ŸŽค Record Audio Wake word detection & voice commands
๐Ÿ”” Notification Access Smart notification reading & auto-reply
๐Ÿ“ฑ Post Notifications Foreground service status

Configure LLM

In Settings, add your API key for any supported provider. OpenDroid works best with:

  • Gemini (free tier available)
  • Groq (fastest inference)
  • Ollama (fully offline)

๐Ÿ”’ Security

Found a vulnerability? Please report it responsibly. See SECURITY.md for details.


โญ Star History


๐Ÿ“œ License

Copyright 2026 OpenDroid Contributors
Last Updated: August 18, 2026

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Made with โค๏ธ by Yashab Alam

โญ Star this repo if OpenDroid has helped you!

Close

How Shizuku is used

Can run arbitrary shell commands and persistent terminal sessions via `sh` through Shizuku

This is an AI-assisted analysis of Shizuku-related usages in the app's public source code. It is best effort, so it may not catch every single usage.

How this app uses Shizuku

Shizuku is used to run shell commands with elevated shell privileges for the agent's local automation interface.

  • Run arbitrary commands: A command string supplied through the local automation interface is executed with sh -c through Shizuku and its output and exit code are returned.
  • Use persistent terminals: Long lived interactive shell sessions can be created through Shizuku, then any typed command can be sent to a session, its available output read back, and sessions listed or closed.

Android APIs or commands used

  • sh -c
  • sh

Notable details

Without Shizuku the same command and terminal features run in the app's normal shell with fewer privileges.

Close

Changelog

What's new for version 1.0.7

Current release. Sideload the APK for direct install, or use the AAB for Play Store distribution.

Highlights since v1.0.6

๐ŸŒ Complete AI Social Media Management System

  • Multi-Platform Management: Autonomous AI social assistant supporting 7 major platforms: X (Twitter), Instagram, LinkedIn, Facebook, YouTube, Telegram, and Discord.
  • Unified Social Dashboard: 10 purpose-built sub-tabs (Overview, Accounts, Unified Inbox, Content Studio, Calendar, Comments, Campaigns, Analytics, Reports, Settings & Rules).
  • Hardware-Backed Credential Security: Android Keystore-backed AES-256-GCM encrypted vault (SocialCredentialStore) with Additional Authenticated Data (AAD) cryptographic binding per platform and account (social_cred_aad:<platform>:<accountId>), preventing cross-account substitution attacks.
  • Room Database Migration MIGRATION_8_9: Upgraded Room schema to version 9 with 8 new relational entities and reactive DAOs (social_accounts, social_posts, social_comments, social_interactions, social_analytics_snapshots, social_campaigns, social_automation_rules, social_audit_logs).
  • Tri-Tier Automation & Human-in-the-Loop Safety: Configurable automation levels (SAFE, APPROVAL, AUTONOMOUS) enforced by SocialRuleEngine. Any sensitive, financial, legal, refund, security vulnerability, breach, or negative sentiment interaction strictly triggers mandatory human review.
  • Grounded AI Intelligence Layer:
    • SocialContentComposer: Crafts platform-tailored drafts respecting character budgets and hashtag norms.
    • SocialInboxClassifier: AI triage classifying interactions into categories (LEAD, SUPPORT_REQUEST, QUESTION, FEEDBACK, SPAM) with sentiment and priority scoring.
    • SocialCommentReplyEngine: Grounded community reply generator that retrieves verified brand knowledge memories without hallucinating or inventing fake dates.
    • SocialScheduleWorker: Background scheduled publishing coordinator via WorkManager.

๐Ÿ“ Storage Management & Play Store Policy Compliance

  • Storage Access Framework (SAF) Integration: Implemented StorageWorkspaceProvider to resolve Google Play Console All Files Access (MANAGE_EXTERNAL_STORAGE) policy requirements.
  • Granular Folder Selection: Users can choose specific workspace folders via Android's document tree picker or operate seamlessly within app-scoped sandboxed storage without requiring broad external storage access.
  • Permissions UX Enhancements: Modernized PermissionsScreen and PermissionModel with folder picking options for Android 11+ (SDK 30+).

๐ŸŽจ Pure OLED Black & Classic White Theme Redesign

  • Clean Contrast Styling: Overhauled the entire UI theme to pure OLED black (#000000) in dark mode and classic pure white (#FFFFFF) in light mode.
  • Zero Green Accents: Modernized all buttons, chips, and cards to sleek obsidian/titanium monochrome styling with subtle sky sapphire active badges.
  • Enhanced Visual Feedback & Animations: Fluid sub-tab transitions, animated sync indicators, and responsive canvas charts (SocialCharts.kt).

๐Ÿงช LiteRT Model Compatibility & Stability

  • Compatibility Fixes: Resolved model verification failure when downloading LiteRT on-device models (e.g. Qwen 2.5, Gemma).
  • Failure Marker Matching & Memory Safety: Enhanced probe evaluation and fallback behavior for on-device inference.

๐Ÿ› ๏ธ Version & Build Updates

  • Version Bump: Updated app version to 1.0.7 (versionCode 8).
  • Comprehensive Test Suite: Added SocialPlatformTest, OpenDroidDatabaseMigrationTest (validating schema v8 to v9 migration and data preservation), and SocialRuleEngineTest with 100% passing tests.

Release Assets

  • app-debug.apk โ€” Debug build APK for developer testing & logging.
  • app-release.apk โ€” Release APK (sideload for testing).
  • app-debug.aab โ€” Debug Android App Bundle.
  • app-release.aab โ€” Release Android App Bundle.

Checksums (SHA-256)

  • app-debug.apk: 3cd060523174964465ac24a5c4f37ab4d11c4fa69f43931681b103557233fb80
  • app-release.apk: eef3d9c61ae7783dbc6b0cb30fe6714b94f2c74ba7c182dd1e00a05da29de11b
  • app-debug.aab: 81461c621fc30dacb25099bdcd3382229ccdfb56f835d03d24563797d3e8c57f
  • app-release.aab: 03186f5d4410c7f758d0ec215dc49f61aa0945bb61e5ba78c47a804611eab29b

Build Configuration

  • Package: com.opendroid.aiagent
  • Version Code: 8
  • Version Name: 1.0.7
  • Min SDK: 26 (Android 8.0)
  • Target SDK: 36 (Android 16)

Install notes for testers

  1. Download app-release.apk or app-debug.apk from the GitHub release.
  2. Enable install from unknown sources for your browser/file manager.
  3. Sideload the APK; uninstall any prior build with a different signing key if Android blocks the update.
  4. Report issues against tag v1.0.7.
Close

Permissions

47 permissions requested

  • android.permission.INTERNET
  • android.permission.RECORD_AUDIO
  • android.permission.READ_CONTACTS
  • android.permission.WRITE_CONTACTS
  • android.permission.READ_CALENDAR
  • android.permission.CALL_PHONE
  • android.permission.READ_PHONE_STATE
  • android.permission.SEND_SMS
  • android.permission.READ_SMS
  • android.permission.RECEIVE_SMS
  • android.permission.CAMERA
  • android.permission.FLASHLIGHT
  • android.permission.ACCESS_FINE_LOCATION
  • android.permission.ACCESS_COARSE_LOCATION
  • android.permission.ACCESS_BACKGROUND_LOCATION
  • android.permission.CHANGE_WIFI_STATE
  • android.permission.ACCESS_WIFI_STATE
  • android.permission.ACCESS_NETWORK_STATE
  • android.permission.CHANGE_NETWORK_STATE
  • android.permission.BLUETOOTH
  • android.permission.BLUETOOTH_ADMIN
  • android.permission.BLUETOOTH_CONNECT
  • android.permission.BLUETOOTH_SCAN
  • android.permission.WRITE_SETTINGS
  • android.permission.MODIFY_AUDIO_SETTINGS
  • android.permission.ACCESS_NOTIFICATION_POLICY
  • android.permission.VIBRATE
  • android.permission.WAKE_LOCK
  • android.permission.FOREGROUND_SERVICE
  • android.permission.FOREGROUND_SERVICE_DATA_SYNC
  • android.permission.FOREGROUND_SERVICE_MICROPHONE
  • android.permission.FOREGROUND_SERVICE_SPECIAL_USE
  • android.permission.RECEIVE_BOOT_COMPLETED
  • android.permission.SYSTEM_ALERT_WINDOW
  • android.permission.USE_BIOMETRIC
  • android.permission.POST_NOTIFICATIONS
  • android.permission.READ_EXTERNAL_STORAGE
  • android.permission.WRITE_EXTERNAL_STORAGE
  • android.permission.BIND_ACCESSIBILITY_SERVICE
  • android.permission.PACKAGE_USAGE_STATS
  • android.permission.QUERY_ALL_PACKAGES
  • moe.shizuku.manager.permission.API_V23
  • com.android.alarm.permission.SET_ALARM
  • android.permission.SCHEDULE_EXACT_ALARM
  • android.permission.USE_EXACT_ALARM
  • com.google.android.apps.aicore.service.BIND_SERVICE
  • com.opendroid.aiagent.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION
Close

Sources

2 sources

1.0.7 Universal GitHub ยท com.opendroid.aiagent
Selected Download
1.0.7 GitHub ยท com.opendroid.aiagent
Download