> ## 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.

# Welcome to RunAnywhere

> Production-grade, on-device AI SDKs for mobile applications

<img className="block dark:hidden" src="https://mintcdn.com/runanywhere/PgeUY8BfGFmDDdg8/images/intro-light.jpg?fit=max&auto=format&n=PgeUY8BfGFmDDdg8&q=85&s=8a584f3c81b53f87c91fa71d60c41057" alt="RunAnywhere Documentation" style={{ width: '100%', borderRadius: '12px', marginBottom: '1.5rem' }} width="1700" height="640" data-path="images/intro-light.jpg" />

<img className="hidden dark:block" src="https://mintcdn.com/runanywhere/PgeUY8BfGFmDDdg8/images/intro-dark.jpg?fit=max&auto=format&n=PgeUY8BfGFmDDdg8&q=85&s=daaa796bbfc85927cf2f5269376b2fed" alt="RunAnywhere Documentation" style={{ width: '100%', borderRadius: '12px', marginBottom: '1.5rem' }} width="1700" height="640" data-path="images/intro-dark.jpg" />

## What is RunAnywhere?

**RunAnywhere** is a production-grade, on-device AI platform that enables developers to run AI models directly on mobile devices and in the browser. Our SDKs provide a unified API for running AI inference locally — ensuring minimal latency, maximum privacy, and offline capability.

<Info>
  All AI inference runs **100% on-device**. Once models are downloaded, no network connection is
  required for inference.
</Info>

## Core AI Capabilities

Every RunAnywhere SDK provides access to these powerful AI features:

<CardGroup cols={2}>
  <Card title="LLM (Large Language Model)" icon="brain" href="/swift/llm/chat">
    On-device text generation with streaming support, structured outputs, and system prompts
  </Card>

  <Card title="STT (Speech-to-Text)" icon="microphone" href="/swift/stt/transcribe">
    Real-time audio transcription with multiple backends and multi-language support
  </Card>

  <Card title="TTS (Text-to-Speech)" icon="volume-high" href="/swift/tts/synthesize">
    Neural and system voice synthesis with customizable voice, pitch, rate, and volume
  </Card>

  <Card title="VAD (Voice Activity Detection)" icon="waveform" href="/swift/vad">
    Real-time speech detection for hands-free interactions
  </Card>
</CardGroup>

### Voice Agent Pipeline

Build complete voice-powered experiences with our integrated **Voice Agent** that orchestrates:

```mermaid theme={null}
graph LR
    A(VAD) --> B(STT)
    B --> C(LLM)
    C --> D(TTS)

    style A fill:#ff6900,color:#fff,stroke:#ff6900
    style B fill:#ff6900,color:#fff,stroke:#ff6900
    style C fill:#ff6900,color:#fff,stroke:#ff6900
    style D fill:#ff6900,color:#fff,stroke:#ff6900
```

This enables full voice conversation flows with streaming and batch processing modes.

## Why RunAnywhere?

<AccordionGroup>
  <Accordion title="Privacy by Design" icon="shield-check">
    Audio and text data never leaves the device unless you explicitly configure it. Only anonymous
    analytics are collected by default. Your users' data stays on their device.
  </Accordion>

  <Accordion title="Low Latency" icon="bolt">
    On-device inference eliminates network round-trips. Get AI responses in milliseconds, not
    seconds. Perfect for real-time voice interactions and responsive UIs.
  </Accordion>

  <Accordion title="Offline Capable" icon="wifi-slash">
    Once models are downloaded, your app works completely offline. No internet required for
    inference. Ideal for apps used in areas with poor connectivity.
  </Accordion>

  <Accordion title="Plugin Architecture" icon="puzzle-piece">
    Backend engines are optional modules—include only what you need. Keep your app binary size
    minimal by importing only the capabilities you use.
  </Accordion>
</AccordionGroup>

## Supported Platforms

RunAnywhere provides native SDKs for all major platforms:

<CardGroup cols={2}>
  <Card href="/swift/introduction">
    <div style={{ display: 'flex', alignItems: 'center', gap: '12px', marginBottom: '8px' }}>
      <img src="https://mintcdn.com/runanywhere/7Ke5xsZRMkmEmgwi/images/code-languages/swift/swift_color.svg?fit=max&auto=format&n=7Ke5xsZRMkmEmgwi&q=85&s=ae581e218f39e830d22330c1529afbbe" alt="Swift" style={{ width: '32px', height: '32px' }} width="60" height="60" data-path="images/code-languages/swift/swift_color.svg" />

      <span style={{ fontSize: '18px', fontWeight: '600' }}>Swift SDK</span>
    </div>

    **iOS, macOS, tvOS, watchOS** Native Swift API with Metal acceleration for Apple Silicon
  </Card>

  <Card href="/kotlin/introduction">
    <div style={{ display: 'flex', alignItems: 'center', gap: '12px', marginBottom: '8px' }}>
      <img src="https://mintcdn.com/runanywhere/7Ke5xsZRMkmEmgwi/images/code-languages/kotlin/kotlin_color.svg?fit=max&auto=format&n=7Ke5xsZRMkmEmgwi&q=85&s=ac48bcd809b69466e017ed3dd747d280" alt="Kotlin" style={{ width: '32px', height: '32px' }} width="60" height="60" data-path="images/code-languages/kotlin/kotlin_color.svg" />

      <span style={{ fontSize: '18px', fontWeight: '600' }}>Kotlin SDK</span>
    </div>

    **Android** Native Kotlin API with GPU acceleration support
  </Card>

  <Card href="/react-native/introduction">
    <div style={{ display: 'flex', alignItems: 'center', gap: '12px', marginBottom: '8px' }}>
      <img src="https://upload.wikimedia.org/wikipedia/commons/a/a7/React-icon.svg" alt="React Native" style={{ width: '32px', height: '32px' }} />

      <span style={{ fontSize: '18px', fontWeight: '600' }}>React Native</span>
    </div>

    **iOS + Android** TypeScript-first with full type safety for cross-platform apps
  </Card>

  <Card href="/flutter/introduction">
    <div style={{ display: 'flex', alignItems: 'center', gap: '12px', marginBottom: '8px' }}>
      <img src="https://mintcdn.com/runanywhere/7Ke5xsZRMkmEmgwi/images/code-languages/flutter/flutter_color.svg?fit=max&auto=format&n=7Ke5xsZRMkmEmgwi&q=85&s=a6c27348e464fd3a4e54603110a27bf0" alt="Flutter" style={{ width: '32px', height: '32px' }} width="60" height="60" data-path="images/code-languages/flutter/flutter_color.svg" />

      <span style={{ fontSize: '18px', fontWeight: '600' }}>Flutter SDK</span>
    </div>

    **iOS + Android** Dart SDK for cross-platform Flutter applications
  </Card>

  <Card href="/web/introduction">
    <div style={{ display: 'flex', alignItems: 'center', gap: '12px', marginBottom: '8px' }}>
      <span style={{ fontSize: '28px' }}>🌐</span>
      <span style={{ fontSize: '18px', fontWeight: '600' }}>Web SDK</span>
    </div>

    **Browser** TypeScript SDK with WebAssembly for in-browser AI inference
  </Card>
</CardGroup>

## Get Started

<Steps>
  <Step title="Choose Your SDK">
    Select the SDK that matches your tech stack from the options above
  </Step>

  <Step title="Install the SDK">Follow the installation guide for your chosen platform</Step>
  <Step title="Initialize & Build">Initialize the SDK and start building AI-powered features</Step>
</Steps>

<CardGroup cols={2}>
  <Card title="Quick Start Guide" icon="rocket" href="/quickstart">
    Get up and running in 5 minutes
  </Card>

  <Card title="SDK Comparison" icon="scale-balanced" href="/sdks">
    Compare features across all platforms
  </Card>
</CardGroup>
