An Android AI assistant that runs models locally on-device and connects to cloud providers when needed. Built with Kotlin, Jetpack Compose, and llama.cpp.
- Local: Run GGUF models entirely on-device using llama.cpp
- Cloud: Connect to GPT-4, Claude, Gemini, DeepSeek, Qwen, Kimi
- Live: Real-time voice conversation via OpenAI Realtime API
- Emergency: Mesh networking for offline communication via WiFi Direct
- No hardcoded API keys - users provide their own
- Encrypted conversation memory
- Local-first architecture
- No analytics or telemetry
- Open source
WiFi Direct mesh network for communication without internet:
- E2E encryption (ECDH + AES-256-GCM)
- Multi-hop message routing
- Store-and-forward protocol
- QR code contact sharing
- Works completely offline
- Language: Kotlin
- UI: Jetpack Compose
- Local LLM: llama.cpp (JNI integration)
- Networking: OkHttp, WiFi Direct P2P
- Build: Gradle with NDK support
app/src/main/java/com/orion/proyectoorion/
βββ ai/ # Local LLM engine and llama.cpp bridge
βββ data/ # Data persistence and encrypted memory
βββ emergency/ # Mesh networking and emergency communications
βββ models/ # Cloud provider integrations and model definitions
βββ ui/ # Jetpack Compose screens and components
βββ vivo/ # Real-time voice conversation engine
βββ viewmodel/ # App logic and state management
- Android Studio Hedgehog or higher
- NDK 27.0.12077973
- CMake 3.22.1
- JDK 11+
./gradlew assembleDebug # Debug build
./gradlew assembleRelease # Release build
./gradlew bundleRelease # Play Store bundle- Minimum SDK: Android 11 (API 30)
- Architecture: ARM64
- Permissions: Camera, WiFi, Location (for WiFi Direct)
This project uses numbered version snapshots (v1, v2, v3...) with descriptive suffixes:
funciona- in developmentperfecto- stableerrores- has bugs (for debugging)estable- release candidateproduccion- production ready
This approach allows quick rollbacks during rapid C++ integration development.
This version represents a stable foundation with:
- Working llama.cpp integration
- All cloud providers operational
- Functional memory system
- Complete basic UI
- Emergency mesh networking
- llama.cpp - Local LLM inference (MIT)
- ZXing - QR code generation/scanning
- OkHttp - HTTP client
- Jetpack Compose - UI framework
[Add license here]
- Genesis Simulation - AI personality systems
- Are You There Reading? - Quantum randomness exploration
- PCP Universe - Information persistence theory
- Physics Discovery AI - Multi-agent physics discovery