安装AIRI需要以下步骤和条件:
system requirements
- Node.js 22+ 环境
- 支持WebGPU的现代浏览器(如Chrome/Edge)
- 本地推理推荐16GB内存及以上配置
Installation process
- Cloning Warehouse:
git clone https://github.com/moeru-ai/airi.git && cd airi
- 使用pnpm安装依赖:
pnpm install
- Configure environment variables:
- 复制示例配置:
cp packages/agent/.env.example packages/agent/.env.local
- 填写OpenAI API密钥等必要信息
- 复制示例配置:
- 游戏模块配置:对于Factorio需额外设置WebSocket和RCON地址
activation method
- 浏览器版:访问
http://localhost:5173
- 桌面版:执行
pnpm run start
Enable GPU acceleration
注意:网络稳定性对语音和游戏功能至关重要,建议定期检查GitHub更新。
This answer comes from the articleAIRI: Self-hosted AI virtual companion with support for real-time voice and game interactionThe