Local LLMv2.2.0
@rdlabo/capacitor-local-llm
Run AI on the device
Use one chat API for native apps and supported desktop Chrome, with streaming, cancellation, and availability checks. Image features use native backends. Independently maintained fork of Ionic Local LLM.
On-device AI features
Text generation in Chrome
Use Chrome’s built-in Prompt API without a server or API key. Check model availability before starting.
Chat lifecycle
Create chats, stream responses, observe generation state, and cancel work.
Availability first
Check text and image capabilities separately before generation.
Explicit Android fallback
Configure an app-managed LiteRT-LM model when needed; validate on physical devices.