Skip to content

NextGenXplorer/Nano.AI-Native

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

26 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Nano.AI Logo

🧠 Nano.AI

Your Complete Offline AI Companion for Android

Privacy-First β€’ Powerful β€’ Portable

Platform License Package

Run powerful AI models completely offline on your Android device. No internet required. No subscriptions. Complete privacy.

Download β€’ Features β€’ Documentation β€’ Community


🌟 What is nano.ai?

nano.ai is a comprehensive AI ecosystem for Android that puts powerful AI capabilities directly in your pocketβ€”completely offline. Chat with LLMs, generate images, use voice AI, and inject custom knowledge, all without an internet connection.

Why nano.ai?

  • πŸ”’ Privacy First - Your data never leaves your device in offline mode
  • πŸ’ͺ Fully Featured - Chat, images, voice, and custom knowledge in one app
  • 🌐 Hybrid Mode - Switch between offline and cloud models seamlessly
  • πŸ†“ Free & Open - No subscriptions, no paywalls, Apache 2.0 licensed
  • πŸ”Œ Extensible - Plugin system for unlimited customization

✨ Features

πŸ€– AI Chat (LLMs)

  • Offline Models: Run GGUF models (Llama, Mistral, Gemma, Phi) locally
  • Cloud Access: Connect to 100+ models via OpenRouter (GPT-4, Claude, Gemini)
  • Smart Streaming: Real-time token generation with context preservation
  • Conversation History: Full chat persistence with SQLite storage

🎨 Image Generation

  • Stable Diffusion 1.5: Generate images completely offline
  • Censored & Uncensored: Choose the model that fits your needs
  • Mobile Optimized: Runs on phones with 6GB+ RAM
  • Fast Generation: 30-90 seconds depending on device

πŸŽ™οΈ Voice AI

  • Text-to-Speech: 11 professional voices (American & British accents)
  • Speech-to-Text: Offline Whisper-powered recognition
  • Zero Latency: All processing happens on-device
  • Hands-Free: Perfect for driving or multitasking

🧠 Knowledge Injection (RAG)

  • Custom Data-Packs: Inject Wikipedia, docs, notes into AI context
  • No Retraining: Add knowledge without model retraining
  • Dynamic Mounting: Attach/detach knowledge bases on the fly
  • Universal Support: Works with both local and cloud models

πŸ”Œ Plugin System

  • Web Search: Real-time information retrieval
  • Web Scraper: Extract content from any URL
  • DataHub: Manage custom knowledge bases
  • Document Viewer: Analyze PDFs and text files
  • Extensible: Build your own plugins

πŸ“± Screenshots

Chat Interface Model Selection Settings
Multi-modal AI conversations 100+ models available Complete customization

Screenshots coming soon


πŸš€ Quick Start Guide

Installation

Option 1: Direct Download

Download the latest APK from Releases and install on Android 8.0+ devices.

Option 2: Build from Source

# Clone repository
git clone https://github.com/NextGenXplorer/Nano.AI-Native.git
cd nano.ai

# Build with Gradle
./gradlew assembleDebug

# Install on connected device
./gradlew installDebug

Setup for Offline Use

  1. Load a Chat Model

    • Download a GGUF model from HuggingFace
    • Recommended: Llama-3-8B-Q4_K_M.gguf (4.5GB)
    • Import via Settings β†’ Local Models
  2. Enable Image Generation

    • Download Stable Diffusion 1.5 model
    • Import via Settings β†’ Image Models
  3. Activate Voice AI

    • TTS voices included by default
    • Download Whisper for STT via Settings β†’ Voice Models

Setup for Cloud Use

  1. Get API key from OpenRouter.ai
  2. Enter key in Settings β†’ API Configuration
  3. Access 100+ cloud models instantly

πŸ’» System Requirements

Minimum (Cloud Models Only)

  • Android 8.0+ (API 26)
  • 4GB RAM
  • 2GB storage

Recommended (Local Models)

  • Android 10+
  • 6GB+ RAM (8GB preferred)
  • Snapdragon 8 Gen 1 or equivalent
  • 5GB+ storage

Optimal (Everything Offline)

  • Android 11+
  • 12GB+ RAM
  • Snapdragon 8 Gen 3 or equivalent
  • 10GB+ storage

πŸ› οΈ Technical Stack

Core Technologies:

  • Language: Kotlin + C++
  • UI: Jetpack Compose
  • Local Inference: llama.cpp (GGUF models)
  • Image Generation: Stable Diffusion C++
  • Voice: Sherpa-ONNX (TTS/STT)
  • Cloud API: Retrofit + OkHttp
  • Database: Room (SQLite)
  • Async: Kotlin Coroutines + Flow

Performance:

  • Quantized model support (Q4_K_M, Q5_K_S)
  • Context caching
  • Memory-mapped loading
  • NPU acceleration (where available)

🀝 Contributing

We welcome contributions! Here's how to get started:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Priority Areas

  • πŸ› Bug fixes and device compatibility
  • πŸ“š Documentation improvements
  • πŸ§ͺ Testing on various devices
  • πŸ”Œ New plugin development
  • 🌍 Internationalization

πŸ“„ License

Distributed under the Apache 2.0 License. See LICENSE for details.

What you can do:

  • βœ… Commercial use
  • βœ… Modification
  • βœ… Distribution
  • βœ… Private use
  • βœ… Patent use

Requirements:

  • πŸ“„ Include license and copyright notice
  • πŸ“ Document changes made

πŸ™ Acknowledgments

nano.ai is built on the shoulders of giants:


πŸ’¬ Support & Community


❓ FAQ

Q: Will this drain my battery?
A: Local inference is power-intensive. For extended use, keep your device plugged in. Cloud mode uses minimal battery.

Q: How big are the model files?
A: GGUF models: 0.5GB-8GB. Stable Diffusion: ~2GB. Voice models: 50-500MB.

Q: Is my data really private?
A: In offline mode, absolutely nothing leaves your device. Verify in our open-source code.

Q: Can I use my own API keys?
A: Yes! Bring your own OpenRouter key. You control costs and usage.

Q: Does it support iOS?
A: Not currently. Android only due to platform constraints.


Built with ❀️ by NextGenXplorer

Privacy-first AI for everyone, everywhere

If nano.ai empowers your AI journey, please ⭐ star the repository!

Download β€’ Report Bug β€’ Request Feature


Powered by llama.cpp β€’ Sherpa-ONNX β€’ Stable Diffusion β€’ OpenRouter β€’ Jetpack Compose

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages