SkillAgentSearch skills...

TooAi

Android application allows you to use ai on device

Install / Use

/learn @Rajkumarbhakta/TooAi

README

TooAi

A powerful, offline-first Android application built with Jetpack Compose, utilizing Google ML Kit and the Google AI Edge SDK to bring advanced machine learning features directly to your device.

Features

  • Run LLM models on device: Chat offline with large language models (Requires Android 12+).
  • Document Scan: Scan physical documents using the camera.
  • Text Recognition: Extract text from images.
  • Barcode/QR Code Scan: Scan and decode barcodes and QR codes.
  • Image Segmentation: Remove background from any image.

Note: All features work offline on the device.

Tech Stack and Libraries

  • Kotlin : First class and official programming language for Android development.
  • Coroutines : For managing background threads with simplified code and reducing needs for callbacks.
  • Flow : A cold asynchronous data stream that sequentially emits values and completes normally or with an exception.
  • [Jetpack]
    • Compose : Modern toolkit for building native UI.
    • ViewModel : Stores UI-related data that isn't destroyed on UI changes.
    • Room : SQLite object mapping library.
  • Hilt : Dependency injection library for Android that reduces the boilerplate of doing manual dependency injection in your project.
  • ML Kit : A mobile SDK that brings Google's machine learning expertise to Android and iOS apps in a powerful yet easy-to-use package.
  • Google AI Edge SDK : Tools to build and deploy on-device machine learning.
  • LiteRT-LM : Runtime for running Large Language Models on-device.

Architecture

  • MVVM Architecture (View - DataBinding - ViewModel - Model)
  • Repository pattern

Screenshots

| Home | Image Segmentation | QR code Scanner | |:--------------------------------------------------------:|:----------------------------------------------------------------------:|:-------------------------------------------------------------------:| | <img alt="Home" src="screenshots/home.jpg" width="250"/> | <img alt="Home" src="screenshots/image-segmentation.jpg" width="250"/> | <img alt="Home" src="screenshots/qr-code-scanner.jpg" width="250"/> |

| Text Recognition | AI Chat | AI Models | |:----------------------------------------------------------------------:|:-----------------------------------------------------------:|:-------------------------------------------------------------:| | <img alt="Home" src="screenshots/text-recognization.jpg" width="250"/> | <img alt="Home" src="screenshots/ai_chat.jpg" width="250"/> | <img alt="Home" src="screenshots/ai_models.jpg" width="250"/> |

| Document Scan | |:-----------------------------------------------------------------:| | <img alt="Home" src="screenshots/document_scan.jpg" width="250"/> |

#License

MIT License

Related Skills

View on GitHub
GitHub Stars21
CategoryData
Updated19d ago
Forks5

Languages

Kotlin

Security Score

95/100

Audited on Mar 7, 2026

No findings