Overview
Stage Tamagotchi is the native desktop application for AIRI, built with Electron. It provides the best performance and full access to native system capabilities including CUDA/Metal acceleration, screen capture, and system integrations.Download the latest release from GitHub Releases
System Requirements
Minimum Requirements
- Windows: Windows 10 64-bit or later
- macOS: macOS 11.0 (Big Sur) or later
- Linux: Ubuntu 20.04+ or equivalent
- RAM: 4GB minimum, 8GB recommended
- Storage: 2GB free space
- GPU: Recommended for optimal performance
Recommended Specifications
- NVIDIA GPU: For CUDA acceleration (Windows/Linux)
- Apple Silicon: For Metal acceleration (macOS)
- Intel/AMD GPU: For general acceleration
- RAM: 16GB for large models
- SSD: For faster model loading
Installation
Download Pre-built Binaries
- Windows
- macOS
- Linux
- Download
AIRI-{version}-windows-x64-setup.exefrom GitHub Releases - Run the installer
- Follow the setup wizard
- Launch AIRI from Start Menu or Desktop shortcut
Windows may show a SmartScreen warning. Click “More info” → “Run anyway” if you trust the source.
Nix Package
For NixOS or Nix package manager users:flake.nix:
Building from Source
Prerequisites
- Node.js 20+
- pnpm 10+
- Git
- Platform-specific build tools:
- Windows: Visual Studio 2019+ with C++ tools
- macOS: Xcode 26+ (or Xcode 14+ for legacy icon format)
- Linux:
build-essential,libgtk-3-dev
Clone and Install
Development Mode
Start the development server:Production Build
- All Platforms
- Windows
- macOS
- Linux
Architecture
Electron App Structure
IPC Communication
AIRI uses@moeru/eventa for type-safe IPC/RPC:
Native Features
GPU Acceleration
- NVIDIA CUDA
- Apple Metal
Automatic CUDA support on Windows/Linux with NVIDIA GPUs:
- Accelerated model inference via
candle - Real-time speech recognition
- Faster model loading
- Reduced CPU usage
CUDA support is automatically detected. No manual configuration needed.
Screen Capture
Native Integrations
- System Tray: Minimize to tray
- Notifications: Native system notifications
- File System: Full file system access
- Auto-Start: Launch on system startup
- Deep Links: Custom URL protocol (
airi://) - Keyboard Shortcuts: Global hotkeys
Auto-Updater
AIRI includes automatic update checking viaelectron-updater:
How It Works
- App checks for updates on startup
- Downloads updates in background
- Prompts user to restart when ready
- Installs update on restart
Configuration
Updates are published to GitHub Releases. Configuration inpackage.json:
Manual Update Check
Settings → System → General → Check for UpdatesDevelopment Workflow
Hot Reload
Both main and renderer processes support hot reload:Debugging
- Renderer Process
- Main Process
Use Chrome DevTools (automatically opens):
- Cmd/Ctrl + Shift + I: Toggle DevTools
- Cmd/Ctrl + R: Reload
- Vue DevTools available at
__devtools__/
Testing
Limitations
Compared to the web version, the desktop app:Advantages
- Native CUDA/Metal GPU acceleration
- Full file system access
- System integrations (tray, notifications, etc.)
- Better performance
- Offline support without PWA limitations
- Can run background services
- Larger download size (~200MB vs ~50MB web)
- Requires installation
- Platform-specific builds needed
- Updates require restart
Troubleshooting
App Won’t Start
- Check system requirements
- Try deleting config:
~/.config/airi(Linux/macOS) or%APPDATA%/airi(Windows) - Check logs: Help → Show Logs
- Run from terminal to see error messages
GPU Not Detected
- Update GPU drivers
- Check CUDA/Metal is installed
- Verify GPU meets minimum requirements
IPC Errors
If you see IPC-related errors:- Clear cache and restart
- Check main process logs
- Verify preload script is loading
- Check Eventa contract definitions
Technology Stack
- Framework: Electron 33+
- Renderer: Vue 3 + Vite
- Build: electron-vite + electron-builder
- IPC: @moeru/eventa
- DI: injeca
- State: Pinia
- GPU: CUDA (NVIDIA) / Metal (Apple) / Vulkan (fallback)
- Database: DuckDB (native)
- Audio: Native audio APIs
Related Resources
Web Platform
Browser-based version with WebGPU
Mobile Platform
iOS and Android support
