|
Some checks are pending
CI / Type Check (web) (push) Blocked by required conditions
CI / Unit Test (api-server-2) (push) Blocked by required conditions
CI / Detect changes (push) Waiting to run
CI / Lint (push) Blocked by required conditions
CI / Build Test (stage-web) (push) Blocked by required conditions
CI / Build Test (stage-tamagotchi) (push) Blocked by required conditions
CI / Build Test (ui-playgrounds) (push) Blocked by required conditions
CI / Build Test (stage-tamagotchi-godot) (push) Blocked by required conditions
CI / Unit Test (others) (push) Blocked by required conditions
CI / Unit Test (api-server-1) (push) Blocked by required conditions
CI / Unit Test (stage-tamagotchi) (push) Blocked by required conditions
CI / Unit Test (stage-ui-1) (push) Blocked by required conditions
CI / Unit Test (stage-ui-2) (push) Blocked by required conditions
CI / Unit Test (push) Blocked by required conditions
CI / Type Check (others) (push) Blocked by required conditions
CI / Type Check (desktop) (push) Blocked by required conditions
CI / Type Check (push) Blocked by required conditions
CI / Check Provenance (push) Blocked by required conditions
Crowdin upload changed translations / upload-translations-to-crowdin (push) Waiting to run
Cloudflare Pages (Auth UI) / Deploy - ui-server-auth (push) Waiting to run
Cloudflare Workers / Build - docs (push) Waiting to run
Cloudflare Workers / Deploy - stage-web (push) Blocked by required conditions
Plugin Entrypoints / Native ESM (macos-latest) (push) Waiting to run
Plugin Entrypoints / Native ESM (ubuntu-latest) (push) Waiting to run
Plugin Entrypoints / Native ESM (windows-latest) (push) Waiting to run
Release Tamagotchi / Plan Updates (push) Waiting to run
Release Tamagotchi / Build (push) Blocked by required conditions
Release Tamagotchi / Build-1 (push) Blocked by required conditions
Release Tamagotchi / Build-2 (push) Blocked by required conditions
Release Tamagotchi / Build-3 (push) Blocked by required conditions
Release Tamagotchi / Build-4 (push) Blocked by required conditions
Release Tamagotchi / Publish Bundle (push) Blocked by required conditions
Release Tamagotchi / Promote Canary to Stable (push) Blocked by required conditions
Release Tamagotchi / Publish GitCode Release Mirror (push) Blocked by required conditions
Release Tamagotchi / Publish Distribution (push) Blocked by required conditions
Release Tamagotchi / Publish Distribution-1 (push) Blocked by required conditions
Release Tamagotchi / Publish Distribution-2 (push) Blocked by required conditions
Release Tamagotchi / Publish Distribution-3 (push) Blocked by required conditions
E2E Test - Tamagotchi (Linux) / X11 window render (Xvfb) (push) Waiting to run
E2E Test - Tamagotchi (Linux) / Wayland window render (weston headless) (push) Waiting to run
Update Nix pnpmDeps Hash / update (push) Waiting to run
## Summary
The MCP settings page of the desktop app showed raw keys, such as
`settings.pages.modules.mcp-server.tools.title`. CI was green, because
x18n cannot follow the helper that builds these keys. This PR closes
that gap in the check and adds the strings that it finds.
- **An x18n plugin.** It finds a key that a helper of the same file
completes (`tn('title')`), a key built from a string constant (``
t(`${KEY}.title`) ``), and a key in a field, an attribute, or a route
field whose name ends with `Key`.
- **The Electron main process.** x18n reads `params.i18n.t('…')`.
- **11 missing keys.** Seven MCP strings move to the file that the page
reads. Three Spotlight calls read their real keys. One Kokoro model gets
its description.
- **A warning on the pull request.** The locale check marks a new
English key that no code uses.
- **An error at runtime.** A key that English lacks is an error in the
console of each app and in the log of the main process. Each window and
the main process report a key once.
## Context
- Request: Find out why the i18n checks did not report the missing keys
of the MCP page, and fix the check, not only the keys.
- Scenario: The MCP page in the settings of the desktop app shows keys
in place of its text.
- Scope: One PR holds the check, the missing keys, the warning on the
pull request, and the error at runtime. Keys that only the runtime knows
stay outside the static check.
## Change map
| Module | Before | After | Description |
| --- | --- | --- | --- |
| `.github/scripts/x18n-translation-keys.ts` (new) | None | An x18n
scanner for `.vue`, `.ts`, and `.tsx` files. It parses scripts and
templates with `vue/compiler-sfc`. | The Vue scanner of x18n 0.1.5 reads
each template expression alone, so a name from the script does not reach
it. The root package gets `vue` from the catalog. |
| `x18n.config.ts` | Used the `vue-i18n` preset. | Adds the plugin and
the callee `params.i18n.t`. | The preset reads `i18n.t` only. |
| `.github/scripts/report-unused-keys.ts` (new) and the i18n locale
check | Checked the content of the locales. | Also prints a warning for
each English key that the PR adds and no code uses. | autofix.ci adds
each new unused key to the baseline, so the Lint job does not show it. |
| Runtime report (`createFallbackOptions`) | The renderers logged a
warning on each render. The main process logged nothing. | The
renderers, Histoire, and the main process report an error, once for each
key. | vue-i18n calls the handler on each render, so one key can fill
the console. |
| `packages/i18n/AGENTS.md` | Told agents to fix the errors of x18n. |
Also tells them to examine each unused key that they add, and to end the
name of a key field with `Key`. | An unused key is a warning, and the
plugin finds a key in a field only by this name. |
| Locale files (English and Simplified Chinese) | The MCP tool strings
were in `tamagotchi/settings.yaml`. | They are in `settings.yaml`, with
their translations. | The page reads
`settings.pages.modules.mcp-server`. |
| Spotlight (desktop) | Read `tamagotchi.spotlight.errors`. | Reads
`tamagotchi.settings.spotlight.errors`. | The strings exist there in
each locale. |
## Architecture and behavior
```mermaid
flowchart LR
code["Code"] --> builtin["x18n scanners: literal keys"]
code --> plugin["Plugin: helpers, constants, *Key fields"]
builtin --> usages["Usages"]
plugin --> usages
usages --> missing{"English has the key?"}
missing -- no --> error["missing-key error, Lint fails"]
english["English locale"] --> missing
english --> unused{"A usage reaches the key?"}
usages --> unused
unused -- "no, and the PR adds the key" --> warning["Warning on the PR"]
```
Why the old check passed with the missing MCP keys:
1. `tn('tools.title')` completes its key in a helper, so x18n reported
no missing key.
2. The strings were in the wrong file, so x18n reported them as unused.
An unused key is a warning.
3. autofix.ci added these warnings to `.x18n/check-baseline.json` in the
same PR.
## Boundaries and risks
| Invariant or boundary | Failure mode | Protection | Evidence or gap |
| --- | --- | --- | --- |
| A missing key in a supported form fails CI | The plugin stops reading
a form, and the check stays green. | `x18n-translation-keys.test.ts`
covers each form in scripts and templates. | 7 test cases, run by CI. |
| The check reports no key that exists | A false error blocks a PR. |
The plugin reads a `*Key` string only when it starts with a namespace of
the English locale. | On this branch, before the keys were added, x18n
reported 9 errors. Each one was a missing key. |
| The PR warning never fails a check | A heuristic blocks a PR. | The
step prints annotations only. | 4 past commits give 27 warnings. For 3
of them, the code builds the key at runtime. |
| A change of the plugin takes effect locally | x18n keeps old scan
results, because its cache key holds the scanner ids only. | The scanner
id holds a hash of the plugin file. | Read from `scanSignature` in x18n
0.1.5. |
| The moved strings keep their translations | Crowdin loses them. | Only
English and Simplified Chinese have them, and both move. The upload
workflow sends sources and translations. | Read from the workflow. The
run on `main` is not verified yet. |
Forms that the check still cannot read: a key with a runtime value, a
helper from another file, a helper that does not end its key with its
parameter, two helpers of one file with the same name and different
prefixes, and a key in a field with a name that does not end with `Key`.
`packages/i18n/README.md` lists the forms.
## Verification
- `pnpm exec x18n check --no-cache`, with the plugin and without the new
keys: 9 `missing-key` errors (7 helper calls, 1 main process call, 1
`descriptionKey`). With the keys: no errors. 241 of the 666 entries of
the baseline no longer occur. autofix.ci drops them.
- The same configuration on the code of
|
||
|---|---|---|
| .agents/skills | ||
| .claude | ||
| .cursor/commands | ||
| .gemini | ||
| .github | ||
| .vscode | ||
| .x18n | ||
| .zed | ||
| apps | ||
| bucket | ||
| deploy/openpanel | ||
| docs | ||
| engines/stage-tamagotchi-godot | ||
| evals | ||
| integrations | ||
| nix | ||
| packages | ||
| patches | ||
| plugins | ||
| scripts | ||
| server | ||
| services/computer-use-mcp | ||
| .dockerignore | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| .prototools | ||
| .tool-versions | ||
| AGENTS.md | ||
| alint.config.ts | ||
| bump.config.ts | ||
| CLAUDE.md | ||
| crowdin.yml | ||
| cspell.config.yaml | ||
| default.nix | ||
| DESIGN.md | ||
| eslint-suppressions.json | ||
| eslint.config.ts | ||
| flake.lock | ||
| flake.nix | ||
| knip.json | ||
| LICENSE | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| skills-lock.json | ||
| sponsorkit.config.js | ||
| tsconfig.json | ||
| turbo.json | ||
| uno.config.ts | ||
| vite-env.d.ts | ||
| vitest.config.ts | ||
| x18n.config.ts | ||
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] [한국어]
Heavily inspired by Neuro-sama
Tip
On Windows, you can also install AIRI with winget:
winget install MoeruAI.AIRIOr install AIRI with Scoop:
scoop bucket add airi https://github.com/moeru-ai/airi scoop install airi/airiOn 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
You can translate AIRI on Crowdin, or open a pull request that changes
packages/i18n/src/locales/. Both ways update the same translations.Do not submit a translation that is the same as the English text. Review rejects it. A string without a translation shows the English text.
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
- DevLog @ 2026.03.23: Mobile performance and game engine exploration - March 23, 2026
- DevLog @ 2026.03.14: VRM stage lifecycle, cache, and observability - March 14, 2026
- DevLog @ 2026.02.16: Dome Keeper data collection and training pipeline - February 16, 2026
- DevLog @ 2026.01.01: AIRI Pocket and FlowChat memory experiments - January 1, 2026
- DevLog @ 2025.10.20: Electron migration, new models, and Moeru AI updates - October 20, 2025
- DevLog @ 2025.08.26: Pure vision progress for airi-factorio - August 26, 2025
- DevLog @ 2025.08.05: AIRI v0.7 release highlights - August 5, 2025
- DevLog @ 2025.08.01: Streaming text animation and grapheme clusters - August 1, 2025
- DevLog @ 2025.07.18: Rethinking airi-factorio with Factorio Learning Environment - July 18, 2025
- DreamLog 0x1: The backstory of Project AIRI - June 16, 2025
- More on the documentation site
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
- Brain
- Play Minecraft
- Play Factorio (WIP, but PoC and demo available)
- Play Kerbal Space Program (announcement TBD)
- Co-play Helldivers 2 (WIP)
- Chat in Telegram
- Chat in Discord
- Chat in iMessage (with the Photon API)
- Memory
- Pure in-browser database support (DuckDB WASM |
pglite) - Memory Alaya (WIP)
- Pure in-browser database support (DuckDB WASM |
- Pure in-browser local (WebGPU) inference
- Ears
- Audio input from browser
- Audio input from Discord
- Client side speech recognition
- Client side talking detection
- Mouth
- Multi-provider voice synthesis, including ElevenLabs, Microsoft/Azure Speech, OpenAI-compatible TTS, Alibaba Cloud Model Studio, and local Kokoro TTS
- Body
- VRM support
- Control VRM model
- VRM model animations
- Auto blink
- Auto look at
- Idle eye movement
- Live2D support
- Control Live2D model
- Live2D model animations
- Auto blink
- Auto look at
- Idle eye movement
- VRM support
Development
For detailed instructions to develop this project, follow CONTRIBUTING.md
Note
By default,
pnpm devwill 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
The documentation site lives in moeru-ai/airi-docs.
Publish
Run bumpp to update the monorepo version:
npx bumpp --no-commit --no-tag
Support of LLM API Providers (powered by xsai)
- AIHubMix (recommended)
- OpenRouter
- vLLM
- SGLang
- Ollama
- 302.AI (sponsored)
- OpenAI
- Anthropic Claude
- AWS Claude (PR welcome)
- DeepSeek
- Qwen
- Google Gemini
- xAI
- Groq
- Mistral
- Cloudflare Workers AI
- Together.ai
- Fireworks.ai
- Novita
- Zhipu
- SiliconFlow
- Stepfun
- Baichuan
- Minimax
- Moonshot AI
- ModelScope
- Player2
- Tencent Cloud
- Sparks (PR welcome)
- Volcano Engine (PR welcome)
- Xiaomi Mimo
Sub-projects Born from This Project
- Awesome AI VTuber: A curated list of AI VTubers and related projects
unspeech: Universal endpoint proxy server for/audio/transcriptionsand/audio/speech, like LiteLLM but for any ASR and TTShfup: tools to help on deploying, bundling to HuggingFace Spacesxsai-transformers: Experimental 🤗 Transformers.js provider for xsAI.- WebAI: Realtime Voice Chat: Full example of implementing ChatGPT's realtime voice from scratch with VAD + STT + LLM + TTS.
@proj-airi/drizzle-duckdb-wasm: Drizzle ORM driver for DuckDB WASM@proj-airi/duckdb-wasm: Easy to use wrapper for@duckdb/duckdb-wasm- AIRI Factorio: Allow AIRI to play Factorio.
- AIRI DomeKeeper: Allow AIRI to play DomeKeeper.
- Factorio RCON API: RESTful API wrapper for Factorio headless server console
autorio: Factorio automation librarytstl-plugin-reload-factorio-mod: Reload Factorio mod when developing- Velin: Use Vue SFC and Markdown to write easy to manage stateful prompts for LLM
demodel: Easily boost the speed of pulling your models and datasets from various of inference runtimes.inventory: Centralized model catalog and default provider configurations backend service- MCP Launcher: Easy to use MCP builder & launcher for all possible MCP servers, just like Ollama for models!
- 🥺 SAD: Documentation and notes for self-host and browser running LLMs.
flowchart LR
subgraph Apps[Stage applications]
Web[stage-web]
Desktop[stage-tamagotchi]
Pocket[stage-pocket\nexperimental]
end
subgraph Shared[Shared product packages]
StageUI[stage-ui]
Domain[core-agent\ncore-character]
Audio[pipelines-audio]
Renderers[stage-ui-live2d\nstage-ui-three and renderers]
SDK[server-sdk\nserver-shared]
end
subgraph Channel[Desktop server channel]
Runtime[server-runtime]
end
subgraph Integrations[Source-configured integrations]
Discord[discord-bot]
Minecraft[minecraft-bot]
Other[Telegram, Factorio, MCP, and others]
end
subgraph Hosted[Hosted backend]
Edge[Caddy]
API[api-server]
Auth[auth-server]
Database[(PostgreSQL)]
Cache[(Redis)]
end
Web --> StageUI
Desktop --> StageUI
Pocket --> StageUI
StageUI --> Domain
StageUI --> Audio
StageUI --> Renderers
StageUI --> SDK
Desktop --> Runtime
SDK <-->|server channel| Runtime
Discord --> SDK
Minecraft --> SDK
Other -. optional .-> SDK
Edge --> API
Edge --> Auth
API --> Database
API --> Cache
Auth --> Database
Auth --> Cache
Similar Projects
Open sourced ones
- kimjammer/Neuro: A recreation of Neuro-Sama originally created in 7 days.: very well completed implementation.
- SugarcaneDefender/z-waif: Great at gaming, autonomous, and prompt engineering
- semperai/amica: Great at VRM, WebXR
- elizaOS/eliza: Great examples and software engineering on how to integrate agent into various of systems and APIs
- ardha27/AI-Waifu-Vtuber: Great about Twitch API integrations
- InsanityLabs/AIVTuber: Nice UI and UX
- IRedDragonICY/vixevia
- t41372/Open-LLM-VTuber
- PeterH0323/Streamer-Sales
Non-open-sourced ones
- https://clips.twitch.tv/WanderingCaringDeerDxCat-Qt55xtiGDSoNmDDr https://www.youtube.com/watch?v=8Giv5mupJNE
- https://clips.twitch.tv/TriangularAthleticBunnySoonerLater-SXpBk1dFso21VcWD
- https://www.youtube.com/@NOWA_Mirai
Project Status
Acknowledgements
- Reka UI: for designing the documentation site, the new landing page is based on this, as well as implementing a massive amount of UI components. (shadcn-vue is using Reka UI as the headless, do checkout!)
- pixiv/ChatVRM
- josephrocca/ChatVRM-js: A JS conversion/adaptation of parts of the ChatVRM (TypeScript) code for standalone use in OpenCharacters and elsewhere
- Design of UI and style was inspired by Cookard, UNBEATABLE, and Sensei! I like you so much!, and artworks of Ayame by Mercedes Bazan with Wish by Mercedes Bazan
- mallorbc/whisper_mic
xsai: Implemented a decent amount of packages to interact with LLMs and models, like Vercel AI SDK but way small.
Supporters
Thank you for supporting Project AIRI through OpenCollective, Patreon, and Ko-fi.
Special Thanks
Special thanks to all contributors for their contributions to Project AIRI ❤️