You can watch a 30 minute primer on what XOS is and it's future on YouTube here.
xos is a high-performance, cross-platform application framework for building interactive, compute-intensive software with a single, coherent architecture. It is designed to unify concepts from UI frameworks, game engines, tensor operator libraries, and experimental operating-system–like runtimes into a lightweight build system.
xos enables applications to target multiple platforms with minimal code divergence, providing explicit and ergonomic mechanisms for device-specific specialization, backend selection, and responsive layout across screen sizes.
Applications built with xos are standalone programs that run on any supported backend. Implemented in Rust, xos leverages a modern build system, strong safety guarantees, and predictable performance, while maintaining broad platform compatibility and low-level control where required. This makes xos well-suited for rapid prototyping, research tooling, and experimental systems that span UI, graphics, and numerical computation.
The xos API is currently experimental and subject to change. In particular, the application engine interface is evolving to support headless execution, sub-frame embedding, and cross-application interoperability.
Planned extensions include Python-based scripting for application definition and computational workflows, with automatic delegation to available hardware accelerators—enabling lightweight, PyTorch-style numerical experimentation within the xos runtime.
Progress:
- Headless mode for applications without viewports.
- iOS audio drivers.
- iOS haptics drivers.
- Python runtime and scripting.
- Networking.
- Optimized metal and other operations capable high resolution and performance iOS video rendering.
- Locally evaluating chat language models.
- macOS - Native desktop applications
- iOS - Native mobile applications (requires macOS + Xcode)
- Windows - Native desktop applications
- Linux - Native desktop applications (with optional ALSA for audio)
- Web/WASM - Browser-based execution (planned for future release)
Required:
- ✅ Rust toolchain (rustup.rs)
Optional (iOS):
- macOS computer
- Xcode
- iOS device with Developer Mode enabled (Settings > Privacy & Security > Developer Mode)
- Physical USB cable connection to iOS device
Optional (Linux):
- Advanced Linux Sound Architecture library (for audio support):
sudo apt-get update && sudo apt-get install -y libasound2-dev
From the root of the repository:
cargo build --release
cargo install --path .Verify the CLI is working:
xos --helpxos app <app-name> # Run on your current platform
xos app <app-name> --ios # Run on connected iOS deviceList all available applications:
xos appFor launching applications onto your iOS devices:
- Ensure your device is connected via USB and in Developer Mode
- First-time setup: Open
ios/xos.xcworkspacein Xcode and configure code signing (Signing & Capabilities tab) - Run
xos app <app-name> --ios- the CLI will build the Rust library (if needed), compile the Swift iOS app, and install/launch on your device
Build for your current platform:
xos buildBuild for iOS:
xos build --iosThis installs the aarch64-apple-ios target if needed, compiles the Rust library as a static library (.a file), and outputs to ios/libs/libxos.a for linking with Swift code.
xos applications are designed to be:
- Standalone - Each app is independent and self-contained
- Portable - Write once, run on any supported platform
- Performant - Built with Rust for speed and reliability
- Scientific computing friendly - Optimized for data visualization, sensor processing, and computational workloads
- Game engine-like - Rich rendering capabilities with clean, efficient UI primitives
We're building toward a future where xos applications can be easily modified, extended, and composed together, with a unified home screen and application launcher that makes the entire ecosystem feel cohesive and powerful.