> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runanywhere.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# SDK Overview

> Choose the right RunAnywhere SDK for your platform

## Available SDKs

All RunAnywhere SDKs provide the same core AI capabilities with platform-native APIs. Choose the SDK that matches your development stack.

<Tabs>
  <Tab title="Swift (Apple)" icon="swift">
    <Card title="Swift SDK" icon="swift" href="/swift/introduction">
      Production-grade, on-device AI for Apple platforms
    </Card>

    ### Platform Support

    | Platform | Minimum Version |
    | -------- | --------------- |
    | iOS      | 17.0+           |
    | macOS    | 14.0+           |
    | tvOS     | 17.0+           |
    | watchOS  | 10.0+           |

    ### Requirements

    * **Swift:** 5.9+
    * **Xcode:** 15.2+

    ### Key Features

    * Metal acceleration on Apple Silicon
    * LlamaCPP backend for GGUF models
    * ONNX Runtime for STT/TTS/VAD
    * Apple Foundation Models support (iOS 26+)

    <CardGroup cols={2}>
      <Card title="Installation" icon="download" href="/swift/installation">
        Add via Swift Package Manager
      </Card>

      <Card title="Quick Start" icon="rocket" href="/swift/quick-start">
        Build your first AI feature
      </Card>
    </CardGroup>
  </Tab>

  <Tab title="Kotlin (Android)" icon="android">
    <Card title="Kotlin SDK" icon="android" href="/kotlin/introduction">
      Production-grade, on-device AI for Android
    </Card>

    ### Platform Support

    | Platform | Minimum Version |
    | -------- | --------------- |
    | Android  | API 24+ (7.0+)  |

    ### Requirements

    * **Kotlin:** 2.0+
    * **Gradle:** 8.0+

    ### Key Features

    * GPU acceleration support
    * Coroutines-based async API
    * LlamaCPP backend for GGUF models
    * ONNX Runtime for STT/TTS/VAD

    <CardGroup cols={2}>
      <Card title="Installation" icon="download" href="/kotlin/installation">
        Add via Gradle
      </Card>

      <Card title="Quick Start" icon="rocket" href="/kotlin/quick-start">
        Build your first AI feature
      </Card>
    </CardGroup>
  </Tab>

  <Tab title="React Native" icon="react">
    <Card title="React Native SDK" icon="react" href="/react-native/introduction">
      Cross-platform on-device AI with TypeScript
    </Card>

    ### Platform Support

    | Platform | Minimum Version |
    | -------- | --------------- |
    | iOS      | 15.1+           |
    | Android  | API 24+ (7.0+)  |

    ### Requirements

    * **React Native:** 0.71+ (recommended 0.74+)
    * **TypeScript:** 5.0+

    ### Key Features

    * TypeScript-first with full type safety
    * Single codebase for iOS and Android
    * TurboModules for optimal performance
    * LlamaCPP and ONNX backends

    <CardGroup cols={2}>
      <Card title="Installation" icon="download" href="/react-native/installation">
        Add via npm/yarn
      </Card>

      <Card title="Quick Start" icon="rocket" href="/react-native/quick-start">
        Build your first AI feature
      </Card>
    </CardGroup>
  </Tab>

  <Tab title="Flutter" icon="flutter">
    <Card title="Flutter SDK" icon="flutter" href="/flutter/introduction">
      Cross-platform on-device AI with Dart
    </Card>

    ### Platform Support

    | Platform | Minimum Version |
    | -------- | --------------- |
    | iOS      | 14.0+           |
    | Android  | API 24+ (7.0+)  |

    ### Requirements

    * **Flutter:** 3.10+
    * **Dart:** 3.0+

    ### Key Features

    * Dart-native async/await API
    * Single codebase for iOS and Android
    * Platform channels for native performance
    * LlamaCPP and ONNX backends

    <CardGroup cols={2}>
      <Card title="Installation" icon="download" href="/flutter/installation">
        Add via pub.dev
      </Card>

      <Card title="Quick Start" icon="rocket" href="/flutter/quick-start">
        Build your first AI feature
      </Card>
    </CardGroup>
  </Tab>

  <Tab title="Web" icon="globe">
    <Card title="Web SDK" icon="globe" href="/web/introduction">
      On-device AI in the browser via WebAssembly
    </Card>

    ### Platform Support

    | Browser | Minimum Version        |
    | ------- | ---------------------- |
    | Chrome  | 96+ (120+ recommended) |
    | Edge    | 96+ (120+ recommended) |
    | Firefox | 119+ (no WebGPU)       |
    | Safari  | 17+ (limited OPFS)     |

    ### Requirements

    * **Node.js:** 18+ (for build tooling)
    * **TypeScript:** 5.0+

    ### Key Features

    * Single npm package with zero runtime dependencies
    * All backends compiled to one WASM binary
    * OPFS for persistent model storage
    * TypeScript-first with full type definitions
    * Works with any framework (React, Vue, Svelte, vanilla)

    <CardGroup cols={2}>
      <Card title="Installation" icon="download" href="/web/installation">
        Add via npm
      </Card>

      <Card title="Quick Start" icon="rocket" href="/web/quick-start">
        Build your first AI feature
      </Card>
    </CardGroup>
  </Tab>
</Tabs>

***

## Feature Comparison

All SDKs have **feature parity** and provide the same core capabilities:

| Feature                   |                        Swift                       |                      Kotlin                      |                     React Native                    |                       Flutter                       |                         Web                         |
| ------------------------- | :------------------------------------------------: | :----------------------------------------------: | :-------------------------------------------------: | :-------------------------------------------------: | :-------------------------------------------------: |
| **LLM (Text Generation)** |    <Icon icon="circle-check" color="#22c55e" />    |   <Icon icon="circle-check" color="#22c55e" />   |     <Icon icon="circle-check" color="#22c55e" />    |     <Icon icon="circle-check" color="#22c55e" />    |     <Icon icon="circle-check" color="#22c55e" />    |
| **STT (Speech-to-Text)**  |    <Icon icon="circle-check" color="#22c55e" />    |   <Icon icon="circle-check" color="#22c55e" />   |     <Icon icon="circle-check" color="#22c55e" />    |     <Icon icon="circle-check" color="#22c55e" />    |     <Icon icon="circle-check" color="#22c55e" />    |
| **TTS (Text-to-Speech)**  |    <Icon icon="circle-check" color="#22c55e" />    |   <Icon icon="circle-check" color="#22c55e" />   |     <Icon icon="circle-check" color="#22c55e" />    |     <Icon icon="circle-check" color="#22c55e" />    |     <Icon icon="circle-check" color="#22c55e" />    |
| **VAD (Voice Detection)** |    <Icon icon="circle-check" color="#22c55e" />    |   <Icon icon="circle-check" color="#22c55e" />   |     <Icon icon="circle-check" color="#22c55e" />    |     <Icon icon="circle-check" color="#22c55e" />    |     <Icon icon="circle-check" color="#22c55e" />    |
| **Voice Agent Pipeline**  |    <Icon icon="circle-check" color="#22c55e" />    |   <Icon icon="circle-check" color="#22c55e" />   |     <Icon icon="circle-check" color="#22c55e" />    |     <Icon icon="circle-check" color="#22c55e" />    |     <Icon icon="circle-check" color="#22c55e" />    |
| **Streaming Support**     |    <Icon icon="circle-check" color="#22c55e" />    |   <Icon icon="circle-check" color="#22c55e" />   |     <Icon icon="circle-check" color="#22c55e" />    |     <Icon icon="circle-check" color="#22c55e" />    |     <Icon icon="circle-check" color="#22c55e" />    |
| **Offline Capable**       |    <Icon icon="circle-check" color="#22c55e" />    |   <Icon icon="circle-check" color="#22c55e" />   |     <Icon icon="circle-check" color="#22c55e" />    |     <Icon icon="circle-check" color="#22c55e" />    |     <Icon icon="circle-check" color="#22c55e" />    |
| **GPU Acceleration**      | <Icon icon="circle-check" color="#22c55e" /> Metal | <Icon icon="circle-check" color="#22c55e" /> GPU | <Icon icon="circle-check" color="#22c55e" /> Native | <Icon icon="circle-check" color="#22c55e" /> Native | <Icon icon="circle-check" color="#22c55e" /> WebGPU |

***

## Choosing the Right SDK

<AccordionGroup>
  <Accordion title="Building a native iOS/macOS app?" icon="swift">
    Use the **Swift SDK** for the best performance and access to Apple-specific features like Metal
    acceleration and Apple Foundation Models.

    <Card title="Get Started with Swift" icon="arrow-right" href="/swift/introduction" />
  </Accordion>

  <Accordion title="Building a native Android app?" icon="android">
    Use the **Kotlin SDK** for native Android performance with Coroutines-based async APIs and GPU
    acceleration.

    <Card title="Get Started with Kotlin" icon="arrow-right" href="/kotlin/introduction" />
  </Accordion>

  <Accordion title="Building a cross-platform app with JavaScript/TypeScript?" icon="react">
    Use the **React Native SDK** if your team is already using React Native. Get full type safety with
    TypeScript and a single codebase.

    <Card title="Get Started with React Native" icon="arrow-right" href="/react-native/introduction" />
  </Accordion>

  <Accordion title="Building a cross-platform app with Flutter/Dart?" icon="flutter">
    Use the **Flutter SDK** if your team is already using Flutter. Get native Dart APIs with
    async/await patterns.

    <Card title="Get Started with Flutter" icon="arrow-right" href="/flutter/introduction" />
  </Accordion>

  <Accordion title="Building a web app or need browser-based AI?" icon="globe">
    Use the **Web SDK** for in-browser AI inference via WebAssembly. Works with any web framework
    (React, Vue, Svelte, vanilla JS). Single npm package with zero dependencies.

    <Card title="Get Started with Web" icon="arrow-right" href="/web/introduction" />
  </Accordion>
</AccordionGroup>

<Tip>
  **Not sure which to choose?** All SDKs have feature parity. Pick the one that matches your
  existing tech stack for the smoothest integration.
</Tip>
