Skip to main content

Initializing

Reading state

deviceId is a promise here. It is a plain string on Swift and Web. await it.
SdkEvent is a small union on React Native:

Capabilities

On React Native capabilities() returns a static literal, not a live probe. It lists llama.cpp and ONNX as the backends even when @runanywhere/mlx or @runanywhere/qhexrt are installed, and it always reports agents, wakeword, and realtime as unavailable. Treat it as a description of the API surface rather than of your build. The Web SDK generates its own from live runtime probes. Electron is in between: a thin addon reports the plugins actually registered, while a fat addon starts from the backends compiled into the binary and subtracts only the ones the runtime refused — so read unavailable there, not just backends.

Models

There is no models.get(id) on React Native. Use models.loaded(category) to ask what is currently resident, or models.list() and filter.
You rarely need load directly. Generation auto-loads what it needs and downloads when options.model names a model that is absent.

Platform services

Five services sit alongside the modality namespaces. None of them exist under these names on the other SDKs.
auth becomes meaningful only once the network phase has landed. In keyless local mode all three return false or null rather than throwing. pluginLoader and solutions are also exposed for loading engine plugins and running YAML-defined pipelines.

Resetting

Unloads models, closes sessions, and clears state.