Skip to main content
The RunAnywhere React Native SDK runs language, speech, and vision models on the device. Prompts, audio, and images stay on the phone, and everything keeps working offline.

Requirements

Run on a physical device. The Android emulator has no arm64 native libraries for these backends, and Apple MLX only executes on physical iOS hardware.

Packages

@runanywhere/qhexrt publishes at 0.20.19, not 0.20.24. Four of the five move together; QHexRT does not.

The namespaces

Plus five platform services: storage, logging, auth, pluginLoader, solutions. Streaming is AsyncIterable throughout.

Differences worth knowing up front

React Native’s surface is close to the other SDKs but not identical:
  • Input constructors are plural: AudioInputs and ImageInputs.
  • There is no stt.openStream or vad.openStream. Use the pull-shaped transcribeStream and detectStream.
  • There is no models.get. There is models.loaded(category).
  • RunAnywhere.deviceId is a promise.
  • capabilities() is synchronous.

Where to go next

Installation

Packages and native setup

Quick Start

A working chat

Text generation

Prompts and options

Voice agent

Speech in, speech out