DenisovAV/flutter_edge_ai

On-device AI for Flutter — Gemma and other LLMs, multimodal, function calling, embeddings, RAG and speech on Android, iOS, Web, macOS, Windows and Linux.

What it solves

This project provides a modular framework for running AI models directly on mobile and desktop devices using Flutter, eliminating the need for cloud servers or internet connectivity. It enables developers to integrate text, vision, audio, and RAG capabilities into cross-platform applications while maintaining user privacy and reducing latency.

How it works

The framework uses a core registry system that allows developers to plug in specific runtime engines (such as LiteRT, ONNX, or built-in OS models like Gemini Nano or Apple Foundation Models). It is designed as a collection of opt-in packages, meaning developers only include the specific AI features—like vector stores, speech processing, or agent tools—that their application requires.

Who it’s for

It is for Flutter developers who want to build privacy-focused, offline-capable AI applications across Android, iOS, web, and desktop platforms.

Highlights

  • Supports multiple inference backends including LiteRT, ONNX Runtime, and native OS-level AI models.
  • Includes built-in support for on-device RAG using vector stores like SQLite and Qdrant.
  • Provides modular packages for speech-to-text, text-to-speech, and agentic skill execution.
  • Offers hybrid routing for Genkit, allowing seamless switching between local and cloud-based models.

Related

  • Project
  • Project
  • Project
  • Project