RunAnywhere.initialize(), and then reach for a namespace.
Requirements
The namespaces
Every capability hangs offRunAnywhere as a namespace. This is the whole API.
The flat verbs from earlier releases (
RunAnywhere.generate, RunAnywhere.loadModel,
RunAnywhere.transcribe, and the rest) are deprecated in favour of these namespaces and will be
removed. New code should use the namespaced form throughout.Products
runanywhere-swift publishes five libraries. RunAnywhere is always required; add the
backends that match the models you plan to run.
MLX reports unavailable on the simulator.
MLX.register() returns false there, so a
simulator build validates packaging and startup but runs no MLX inference.
Where to go next
Installation
Add the package and pick your products
Quick Start
A working chat in one file
Text generation
Prompts, conversations, and options
Voice agent
Speech in, speech out