runanywhere-sdks
Production ready toolkit to run AI locally
SDKs for iOS, Android, web, and Flutter that let you add on-device AI features, text chat, speech-to-text, text-to-speech, and image generation, with no cloud server required.
RunAnywhere is a set of software development kits (SDKs) that let app developers add AI features to their applications in a way that runs entirely on the user's device. Nothing is sent to a cloud server. The AI processing happens locally, which means it works without an internet connection and user data stays private.
The four main capabilities are text generation (chat with an AI assistant), speech-to-text (transcribing spoken audio), text-to-speech (having the AI speak a response aloud), and image generation (creating pictures from text descriptions). These can be combined: for example, a voice assistant that listens to the user, processes the speech, generates a reply with a language model, and speaks the response back, all offline.
SDKs are available for iOS and macOS using Swift, Android using Kotlin, browsers using JavaScript, React Native for cross-platform mobile development, and Flutter. The Swift and Kotlin versions are listed as stable. The browser, React Native, and Flutter versions are in beta. Each SDK follows the same basic three-step pattern: initialize the library, load a model file, then call the generation function. Model files such as SmolLM, Qwen, or Whisper are downloaded separately.
The repository also includes complete sample applications for each platform so developers can see a working implementation before writing their own. There is a companion consumer app on the iOS App Store and Google Play that demonstrates the capabilities.
This is aimed at software developers building apps, not end users looking for a standalone AI tool. Integrating it requires writing code in the relevant platform's language and managing model files, which can be several hundred megabytes each. The README is longer than what was shown.
Where it fits
- Build a private voice assistant app for iOS that listens, transcribes, and responds entirely on the device without sending audio to a server.
- Add offline text generation to an Android app so users can chat with an AI assistant without an internet connection.
- Embed image generation into a React Native app so users can create pictures from text prompts inside your app.
- Create a cross-platform Flutter app with on-device speech-to-text transcription using the Whisper model.