Skip to main content

Overview

Airi supports three deployment platforms, each optimized for different use cases. Choose the platform that best fits your needs:

Stage Web

Browser-basedBest for quick access and portability. Runs entirely in your browser using WebGPU.

Stage Tamagotchi

Desktop ApplicationNative app with CUDA/Metal support for maximum performance and system integration.

Stage Pocket

Mobile AppsiOS and Android apps for your AI companion on the go.

System Requirements

Minimum Requirements

  • Browser: Chrome 113+, Edge 113+, or Opera 99+
  • RAM: 4GB minimum, 8GB recommended
  • GPU: WebGPU-compatible graphics card
  • Internet: For cloud LLM providers (not required for Ollama)

Browser Compatibility

BrowserVersionWebGPU SupportStatus
Chrome113+✅ YesRecommended
Edge113+✅ YesRecommended
Opera99+✅ YesSupported
SafariAny❌ LimitedNot supported
FirefoxAny❌ LimitedNot supported
Check WebGPU support at webgpureport.org

Installation Methods

Stage Web (Browser Version)

The easiest way to get started — no installation required!
1

Open in browser

Navigate to https://airi.moeru.ai using Chrome 113+, Edge 113+, or Opera 99+.
2

Install as PWA (optional)

For a more app-like experience, install as a Progressive Web App:
  1. Click the install icon in your browser’s address bar
  2. Or click the menu (⋮) → Install Airi
  3. Airi will now launch as a standalone app
PWA installation allows offline functionality and a cleaner UI without browser chrome.
3

Grant permissions

When prompted, grant permissions for:
  • Microphone (for voice input)
  • Notifications (for updates and alerts)
  • Storage (for saving conversations and settings)

Run Locally from Source

For development or customization:
# Clone the repository
git clone https://github.com/moeru-ai/airi.git
cd airi

# Install dependencies
corepack enable
pnpm install

# Start development server
pnpm dev

# Open http://localhost:5173
Requires Node.js 23+ and pnpm. See Development Setup below.

Stage Tamagotchi (Desktop Application)

Native desktop application with advanced features and performance optimizations.
1

Download installer

Download the latest Windows installer (.exe) from the GitHub Releases page.Choose the appropriate build:
  • airi-setup-x64.exe (64-bit Intel/AMD)
  • airi-setup-arm64.exe (ARM64)
2

Run installer

  1. Double-click the downloaded .exe file
  2. Windows SmartScreen may show a warning (click “More info” → “Run anyway”)
  3. Follow the installation wizard
  4. Choose installation location (default: C:\Program Files\Airi)
3

Launch Airi

  • Use the desktop shortcut, or
  • Search for “Airi” in the Start menu, or
  • Run from installation directory
4

Install CUDA (optional, for local inference)

For NVIDIA GPU acceleration:
  1. Download CUDA Toolkit 11.8+
  2. Install with default settings
  3. Restart your computer
  4. Verify: Open PowerShell and run nvidia-smi
CUDA is only needed if you want to run local models with GPU acceleration.

Build from Source (All Platforms)

For development or customization:
# Clone repository
git clone https://github.com/moeru-ai/airi.git
cd airi

# Install dependencies
corepack enable
pnpm install

# Development mode (hot reload)
pnpm dev:tamagotchi

# Build for production
pnpm build:tamagotchi

# Build installer packages
pnpm -F @proj-airi/stage-tamagotchi run build:win   # Windows
pnpm -F @proj-airi/stage-tamagotchi run build:mac   # macOS
pnpm -F @proj-airi/stage-tamagotchi run build:linux # Linux
Building from source requires additional dependencies. See Development Setup below.

Stage Pocket (Mobile)

Mobile apps for iOS and Android.
iOS app is currently in beta and not yet published to the App Store. You need to build from source or join the TestFlight beta.

TestFlight Beta (Coming Soon)

  1. Join the Discord community
  2. Request TestFlight access in #beta-testing
  3. You’ll receive an invite link via email
  4. Install TestFlight from the App Store
  5. Open the invite link and install Airi

Build from Source

1

Prerequisites

  • macOS with Xcode 15+
  • Apple Developer account (free tier works)
  • Node.js 23+ and pnpm
  • CocoaPods: sudo gem install cocoapods
2

Clone and setup

git clone https://github.com/moeru-ai/airi.git
cd airi
corepack enable
pnpm install
3

Start dev server

pnpm dev:pocket
Note your local IP address from the output (e.g., https://192.168.1.100:5273).
4

Open in Xcode

CAPACITOR_DEV_SERVER_URL=https://<your-ip>:5273 pnpm open:ios
Replace <your-ip> with your actual IP address.
5

Configure signing

  1. In Xcode, select the project in the navigator
  2. Select the App target
  3. Go to Signing & Capabilities
  4. Select your Team (personal or organization)
  5. Xcode will automatically generate provisioning profiles
6

Build and run

  1. Connect your iPhone via USB
  2. Select your device in the Xcode toolbar
  3. Click the Run button (▶️) or press Cmd+R
  4. First time: Trust your developer certificate on the device
    • SettingsGeneralVPN & Device Management
    • Tap your developer account → Trust

Development Setup

For contributors and advanced users who want to build from source or develop custom features.

Prerequisites

Required:
# Check versions
node --version   # Should be v23.x.x or higher
git --version

# Enable pnpm
corepack enable
corepack prepare pnpm@latest --activate

Clone and Install

# Clone repository
git clone https://github.com/moeru-ai/airi.git
cd airi

# Create a new branch (for contributions)
git checkout -b your-name/feature-name

# Install dependencies
corepack enable
pnpm install

# Build packages
pnpm build:packages

Development Commands

# Web development
pnpm dev                    # Start Stage Web (browser)
pnpm dev:web                # Alias for the above

# Desktop development  
pnpm dev:tamagotchi         # Start Stage Tamagotchi (Electron)

# Mobile development
pnpm dev:pocket             # Start web server for mobile
pnpm open:ios               # Open in Xcode

# Documentation
pnpm dev:docs               # Preview docs site

# Testing
pnpm test                   # Run all tests with coverage
pnpm test:run               # Run tests once without watch

# Linting & Type checking
pnpm lint                   # Check for lint errors
pnpm lint:fix               # Auto-fix lint errors
pnpm typecheck              # Run TypeScript compiler

# Building
pnpm build                  # Build all packages and apps
pnpm build:web              # Build web version only
pnpm build:tamagotchi       # Build desktop app installers
For detailed contribution guidelines, see Contributing.

Post-Installation Setup

After installing Airi, configure these essential settings:
1

Configure LLM Provider

Go to SettingsProvidersText Generation and add your API key. See Quickstart for detailed instructions.
2

Set up Voice Synthesis (optional)

For voice chat, configure TTS in SettingsProvidersSpeech Synthesis.
3

Import Character Model (optional)

Add a Live2D or VRM model in SettingsCharacterImport Model.
4

Enable Memory (optional)

For persistent conversations, enable memory in SettingsMemoryEnable Persistent Memory.

Troubleshooting

Remove the quarantine attribute:
xattr -cr /Applications/Airi.app
Install missing dependencies:
sudo apt-get install -f  # Debian/Ubuntu
sudo dnf install <missing-package>  # Fedora
Clean and reinstall:
rm -rf node_modules pnpm-lock.yaml
pnpm install
pnpm build:packages
Disable GPU acceleration:
# Add to environment or launch with:
ELECTRON_DISABLE_GPU=1 pnpm dev:tamagotchi
On your iPhone:
  1. Go to SettingsGeneralVPN & Device Management
  2. Tap your developer certificate
  3. Tap Trust [Your Name]

Updating Airi

Airi checks for updates automatically on launch:
  1. If an update is available, you’ll see a notification
  2. Click Download and Install
  3. Airi will download the update in the background
  4. Restart to apply the update
Manual check: SettingsAboutCheck for Updates

Uninstalling

  • SettingsAppsInstalled Apps → Search for “Airi” → Uninstall
  • Or use the uninstaller in the installation directory
  • User data: %APPDATA%\airi

Next Steps

Quickstart Guide

Get up and running with your first conversation

Configure Providers

Set up LLM, TTS, and STT providers

Import Characters

Add Live2D or VRM models

Join Discord

Get help from the community

Build docs developers (and LLMs) love