The following steps and conditions are required to install AIRI:
system requirements
- Node.js 22+ environment
- Modern browsers with WebGPU support (e.g. Chrome/Edge)
- Local reasoning recommends 16GB of RAM and higher configurations
Installation process
- Cloning Warehouse:git clone https://github.com/moeru-ai/airi.git && cd airi
- Use pnpm to install the dependencies:pnpm install
- Configure environment variables:
- Copy the sample configuration:cp packages/agent/.env.example packages/agent/.env.local
- Fill in the OpenAI API key and other necessary information
 
- Copy the sample configuration:
- Game Module Configuration: For Factorio additional WebSocket and RCON address settings are required.
activation method
- Browser version: visithttp://localhost:5173
- Desktop version: implementationpnpm run startEnable GPU acceleration
Note: Network stability is critical for voice and game functionality, and it is recommended to check for GitHub updates regularly.
This answer comes from the articleAIRI: Self-hosted AI virtual companion with support for real-time voice and game interactionThe































 English
English				 简体中文
简体中文					           日本語
日本語					           Deutsch
Deutsch					           Português do Brasil
Português do Brasil