- Kotlin
- Swift
- React Native
- Flutter
- Web
1. Install
build.gradle.kts
mavenCentral() is the only repository required. Minimum Android API 24.2. Register a backend, then initialize
Register backends beforeinitialize(). The C++ plugin registry has to know which engines exist before the first model load, or the load fails with error -422, “No provider could handle the request”.Pass the Application context so the SDK can reach Android file storage and the Keystore.initialize returns.3. Register a model and generate
LlmOptions downloads and loads it if needed. Later calls skip that work. To watch download progress, call RunAnywhere.models.download(id) yourself and collect its Flow<DownloadEvent>.4. Stream
Full Kotlin documentation
Installation, LLM, STT, TTS, VAD, VLM, RAG, LoRA, tool calling, voice agent
What to read next
SDK overview
Platform requirements and which features each SDK ships
Text generation
Generation options, streaming, structured output
Speech-to-text
Transcription and streaming transcription
Voice agent
One session that runs VAD, STT, LLM, and TTS together