airi README

The project's README from github.com/moeru-ai/airi. As one markdown file: README.md.

Project AIRI

Re-creating Neuro-sama, a soul container of AI waifu / virtual characters to bring them into our world.

[Join Discord Server] [Try it] [简体中文] [日本語] [Русский] [Tiếng Việt] [Français] [한국어]

AIRI - A container of cyber living souls, re-creation of Neuro-sama | Product Hunt moeru-ai%2Fairi | Trendshift

Heavily inspired by Neuro-sama

[!TIP] On Windows, you can also install AIRI with winget:

winget install MoeruAI.AIRI

Or install AIRI with Scoop:

scoop bucket add airi https://github.com/moeru-ai/airi
scoop install airi/airi

On macOS, you can install AIRI with Homebrew Cask without adding a custom tap:

brew install --cask airi

[!WARNING] Attention: We do not have any officially minted cryptocurrency or token associated with this project. Please check the information and proceed with caution.

[!NOTE]

We've got a whole dedicated organization @proj-airi for all the sub-projects born from Project AIRI. Check it out!

RAG, memory system, embedded database, icons, Live2D utilities, and more!

[!TIP] We have a translation project on Crowdin. If you find any inaccurate translations, feel free to contribute improvements there. Crowdin | Agile localization for tech companies

Have you dreamed about having a cyber living being (cyber waifu, digital pet) or digital companion that could play with and talk to you?

With the power of modern large language models like ChatGPT and famous Claude, asking a virtual being to roleplay and chat with us is already easy enough for everyone. Platforms like Character.ai (a.k.a. c.ai) and JanitorAI as well as local playgrounds like SillyTavern are already good-enough solutions for a chat based or visual adventure game like experience.

But, what about the abilities to play games? And see what you are coding at? Chatting while playing games, watching videos, and is capable of doing many other things.

Perhaps you know Neuro-sama already. She is currently the best virtual streamer capable of playing games, chatting, and interacting with you and the participants. Some also call this kind of being "digital human." Sadly, as it's not open sourced, you cannot interact with her after her live streams go offline.

Therefore, this project, AIRI, offers another possibility here: let you own your digital life, cyber living, easily, anywhere, anytime.

Recent DevLogs & Stories

What's So Special About This Project?

Unlike the other AI driven VTuber open source projects, アイリ was built with support of many Web technologies such as WebGPU, WebAudio, Web Workers, WebAssembly, WebSocket, etc. from the first day.

[!TIP] Worrying about the performance drop since we are using Web related technologies?

Don't worry, while the Web browser version is meant to give an insight into how much we can push and do inside browsers and webviews, we will never fully rely on this. The desktop version of AIRI is capable of using native NVIDIA CUDA and Apple Metal by default (thanks to HuggingFace & the beloved candle project), without any complex dependency management. Considering the tradeoff, it is partially powered by Web technologies for graphics, layouts, animations, and the WIP plugin system for everyone to integrate things.

This means that アイリ is capable of running on modern browsers and devices and even on mobile devices (already done with PWA support). This brings a lot of possibilities for us (the developers) to build and extend the power of アイリ VTuber to the next level, while still leaving the flexibility for users to enable features that require TCP connections or other non-Web technologies such as connecting to a Discord voice channel or playing Minecraft and Factorio with friends.

[!NOTE]

We are still in the early stage of development where we are seeking out talented developers to join us and help us to make アイリ a reality.

It's ok if you are not familiar with Vue.js, TypeScript, and devtools required for this project, you can join us as an artist, designer, or even help us to launch our first live stream.

Even if you are a big fan of React, Svelte or even Solid, we welcome you. You can open a sub-directory to add features that you want to see in アイリ, or would like to experiment with.

Fields (and related projects) that we are looking for:

  • Live2D modeller
  • VRM modeller
  • VRChat avatar designer
  • Computer Vision
  • Reinforcement Learning
  • Speech Recognition
  • Speech Synthesis
  • ONNX Runtime
  • Transformers.js
  • vLLM
  • WebGPU
  • Three.js
  • WebXR (checkout the another project we have under the @moeru-ai organization)

If you are interested, why not introduce yourself here? Would like to join part of us to build AIRI?

Current Progress & Roadmap

Capable of

Development

For detailed instructions to develop this project, follow CONTRIBUTING.md

[!NOTE] By default, pnpm dev will start the development server for the Stage Web (browser version). If you would like to try developing the desktop version, please make sure you read CONTRIBUTING.md to setup the environment correctly.

pnpm i
pnpm dev

Stage Web (Browser Version at airi.moeru.ai)

pnpm dev

Stage Tamagotchi (Desktop Version)

pnpm dev:tamagotchi

A Nix package for Tamagotchi is included. To run airi with Nix, first make sure to enable flakes, then run:

nix run github:moeru-ai/airi

NixOS

Electron requires shared libraries that aren't in standard paths on NixOS. Use the FHS shell defined in flake.nix:

nix develop .#fhs
pnpm dev:tamagotchi

Stage Pocket (Mobile Version)

Start the development server for the capacitor:

pnpm dev:pocket:ios --target "<DEVICE_ID_OR_SIMULATOR_NAME>"
# Or
CAPACITOR_DEVICE_ID_IOS="<DEVICE_ID_OR_SIMULATOR_NAME>" pnpm dev:pocket:ios

Quote the target: simulator names such as iPhone 16 Pro contain spaces.

You can see the list of available devices and simulators by running pnpm -F @proj-airi/stage-pocket exec cap run ios --list. @capacitor/cli is declared in apps/stage-pocket, so cap does not resolve from the repository root.

If you need to connect server channel on pocket in wireless mode, you need to start tamagotchi as root:

sudo pnpm dev:tamagotchi

Then enable secure websocket in tamagotchi settings/connections.

Documentation Site

pnpm dev:docs

Publish

Run bumpp to update the monorepo version:

npx bumpp --no-commit --no-tag

Support of LLM API Providers (powered by xsai)

Sub-projects Born from

airi (moeru-ai/airi)

Searching Database…

50.5K ·GitHub
这是什么?AIRI 是一个可以自行托管的开源 AI 陪伴角色/虚拟主播(VTuber),由你完全掌控。它受 Neuro-sama 启发,提供一个带有 Live2D 或 VRM 形象的虚拟角色,能与你实时聊天,甚至还能玩 Minecraft 和 Factorio 等游戏。
这是浏览器应用,还是需要安装到桌面上的程序?两者都有:提供基于 WebGPU/WebAssembly 构建的浏览器版本(Stage Web),也提供 macOS 和 Windows 的桌面原生应用(基于 Electron 构建的 Stage Tamagotchi),另外还有通过 Capacitor 构建的实验性移动应用(Stage Pocket)。
我该怎么把它运行起来?Windows 上用 winget 或 Scoop 安装,macOS 上用 Homebrew Cask 安装;如果是开发用途,运行 'pnpm dev' 即可启动 Stage Web 浏览器服务。此外还提供了一个 Nix 软件包,用于运行 Tamagotchi 桌面应用。
我需要某个特定 AI 服务商的 API 密钥吗?你至少需要一个受支持的大语言模型服务商的账号或 API 密钥(如 OpenAI、Anthropic Claude、DeepSeek、Gemini 等众多服务商),或者你也可以改用 Ollama、vLLM 等本地服务商。
功能是否已经完善,还是仍有不少粗糙之处?一些核心功能仍在开发中,包括长期记忆系统(Alaya)以及与你一起玩 Helldivers 2 的功能;项目本身也表示,它仍处于早期开发阶段。
目前它真正面向的是哪些人?主要面向熟悉 Vue.js/TypeScript 单体仓库的开发者和爱好者,他们希望自己构建或定制 AI 陪伴角色;而不是想要开箱即用、打磨精良的成品应用的普通用户。
它真的能和我一起玩电子游戏吗?可以,它能玩 Minecraft 和 Kerbal Space Program,已有 Factorio 的概念验证版本,并且正在开发与你一起玩 Helldivers 2 的功能。
为什么要用 Web 技术来做 AI 陪伴,而不只做原生应用?借助 WebGPU、WebAssembly 和 WebAudio,同一个陪伴角色可以在浏览器和 webview 中运行,甚至能以 PWA 的形式在移动设备上使用;而桌面版在需要性能时会回退到原生的 NVIDIA CUDA 或 Apple Metal。
它支持哪些形象格式?同时支持 VRM 和 Live2D 模型,并已实现自动眨眼、待机时的眼部微动以及注视等动画效果。
它如何与我对话和倾听?输入方面支持客户端语音识别,输出方面支持多种语音合成服务商,包括 ElevenLabs、Azure Speech、兼容 OpenAI 的 TTS,以及本地运行的 Kokoro TTS。
Creator
moeru-ai
Size
577.6 MB
Stars
50.5K
Age
1y
Commits · 90 Days