-
Notifications
You must be signed in to change notification settings - Fork 0
05 Installation and Setup
This guide provides step-by-step instructions for installing R-AI-OS and setting up your development environment.
Before installing R-AI-OS, ensure your system meets the following requirements:
- Rust & Cargo: The core system is built with Rust. You need the latest stable version.
- Git: Required for repository management and internal Git integration features.
- Node.js & pnpm: (Optional) Required only if you intend to build or modify the TUI/Web frontend components.
-
Operating System:
- Windows: Primary development and testing platform.
- Linux/macOS: Supported via standard Rust toolchains.
Start by cloning the R-AI-OS repository to your local machine:
git clone https://github.com/your-repo/R-AI-OS.git
cd R-AI-OSBuild the project using Cargo. We recommend the --release flag for production-ready performance:
cargo build --releaseThis will generate two main binaries in target/release/:
-
raios: The primary CLI tool. -
aiosd: The background daemon.
To access the raios command from any directory, install the binaries to your Cargo bin path:
cargo install --path .Ensure that ~/.cargo/bin (or %USERPROFILE%\.cargo\bin on Windows) is included in your system's PATH environment variable.
After installation, you must initialize the system using the bootstrap command:
raios bootstrapThe bootstrap command is the "Day 0" operation that prepares the R-AI-OS kernel:
- Maestro Orchestrator Setup: Initializes the multi-agent orchestration layer and ensures the necessary agent rosters are available.
- ECC (Encrypted Communication Channel): Generates the initial security handshake tokens required for the CLI to talk to the Daemon.
-
Sigmap Generation: Automatically runs a
sigmapscan on the current workspace to create aSIGNATURES.mdmap, providing the AI with an immediate structural understanding of the codebase. -
Directory Initialization: Creates the
~/.config/raios/directory and populates it with default configuration templates.
R-AI-OS relies on a few key configuration files and security tokens to function correctly.
Security is handled via a rolling IPC token.
-
Location:
~/.config/raios/.ipc_token -
Behavior: The
aiosddaemon generates a random UUID upon startup and writes it to this file. TheraiosCLI reads this token to authenticate every request. - Security: This file is created with restricted filesystem permissions to ensure only the local user can access it.
-
Global Config:
~/.config/raios/config.yaml(or.json) stores global preferences such as default AI models, log levels, and UI theme settings. -
Project Manifest: You can place a
.raios.yamlfile in any project root to override global settings for that specific workspace.
You can override certain behaviors using environment variables:
-
RAIOS_LOG_LEVEL: Set totrace,debug,info,warn, orerror. -
RAIOS_STATE_DIR: Custom path for session and state storage (defaults todocs/maestrowithin the project).
To verify your installation, run:
raios healthIf the system is correctly installed and the daemon is running, you should see a dashboard showing the status of your current project and the health of the R-AI-OS kernel.