From 46a1e9bb705847a9e1aa7b4c2124878ea4d997c2 Mon Sep 17 00:00:00 2001 From: RainbowBird Date: Thu, 27 Aug 2026 00:14:46 +0800 Subject: [PATCH] docs(readme): refresh architecture overview (#2372) --- README.md | 117 +++++++++++++++---------------------------- docs/README.fr.md | 117 +++++++++++++++---------------------------- docs/README.ja-JP.md | 117 +++++++++++++++---------------------------- docs/README.ko-KR.md | 117 +++++++++++++++---------------------------- docs/README.ru-RU.md | 117 +++++++++++++++---------------------------- docs/README.vi.md | 117 +++++++++++++++---------------------------- docs/README.zh-CN.md | 117 +++++++++++++++---------------------------- 7 files changed, 287 insertions(+), 532 deletions(-) diff --git a/README.md b/README.md index ec633ff99..a54443e31 100644 --- a/README.md +++ b/README.md @@ -398,92 +398,57 @@ npx bumpp --no-commit --no-tag - [🥺 SAD](https://github.com/moeru-ai/sad): Documentation and notes for self-host and browser running LLMs. ```mermaid -%%{ init: { 'flowchart': { 'curve': 'catmullRom' } } }%% - -flowchart TD - Core("Core") - Unspeech("unspeech") - DBDriver("@proj-airi/drizzle-duckdb-wasm") - MemoryDriver("[WIP] Memory Alaya") - DB1("@proj-airi/duckdb-wasm") - SVRT("@proj-airi/server-runtime") - Memory("Memory") - STT("STT") - Stage("Stage") - StageUI("@proj-airi/stage-ui") - UI("@proj-airi/ui") - - subgraph AIRI - DB1 --> DBDriver --> MemoryDriver --> Memory --> Core - UI --> StageUI --> Stage --> Core - Core --> STT - Core --> SVRT +flowchart LR + subgraph Apps[Stage applications] + Web[stage-web] + Desktop[stage-tamagotchi] + Pocket[stage-pocket\nexperimental] end - subgraph UI_Components - UI --> StageUI - UITransitions("@proj-airi/ui-transitions") --> StageUI - UILoadingScreens("@proj-airi/ui-loading-screens") --> StageUI - FontCJK("@proj-airi/font-cjkfonts-allseto") --> StageUI - FontXiaolai("@proj-airi/font-xiaolai") --> StageUI + 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 Apps - Stage --> StageWeb("@proj-airi/stage-web") - Stage --> StageTamagotchi("@proj-airi/stage-tamagotchi") - Core --> RealtimeAudio("@proj-airi/realtime-audio") - Core --> PromptEngineering("@proj-airi/playground-prompt-engineering") + subgraph Channel[Desktop server channel] + Runtime[server-runtime] end - subgraph Server_Components - Core --> ServerSDK("@proj-airi/server-sdk") - ServerShared("@proj-airi/server-shared") --> SVRT - ServerShared --> ServerSDK + subgraph Integrations[Source-configured integrations] + Discord[discord-bot] + Minecraft[minecraft-bot] + Other[Telegram, Factorio, MCP, and others] end - STT -->|Speaking| Unspeech - SVRT -->|Playing Factorio| F_AGENT - SVRT -->|Playing Minecraft| MC_AGENT - - subgraph Factorio_Agent - F_AGENT("Factorio Agent") - F_API("Factorio RCON API") - factorio-server("factorio-server") - F_MOD1("autorio") - - F_AGENT --> F_API -.-> factorio-server - F_MOD1 -.-> factorio-server + subgraph Hosted[Hosted backend] + Edge[Caddy] + API[api-server] + Auth[auth-server] + Database[(PostgreSQL)] + Cache[(Redis)] end - subgraph Minecraft_Agent - MC_AGENT("Minecraft Agent") - Mineflayer("Mineflayer") - minecraft-server("minecraft-server") - - MC_AGENT --> Mineflayer -.-> minecraft-server - end - - XSAI("xsAI") --> Core - XSAI --> F_AGENT - XSAI --> MC_AGENT - - Memory_PGVector("@proj-airi/memory-pgvector") --> Memory - - style Core fill:#f9d4d4,stroke:#333,stroke-width:1px - style AIRI fill:#fcf7f7,stroke:#333,stroke-width:1px - style UI fill:#d4f9d4,stroke:#333,stroke-width:1px - style Stage fill:#d4f9d4,stroke:#333,stroke-width:1px - style UI_Components fill:#d4f9d4,stroke:#333,stroke-width:1px - style Server_Components fill:#d4e6f9,stroke:#333,stroke-width:1px - style Apps fill:#d4d4f9,stroke:#333,stroke-width:1px - style Factorio_Agent fill:#f9d4f2,stroke:#333,stroke-width:1px - style Minecraft_Agent fill:#f9d4f2,stroke:#333,stroke-width:1px - - style DBDriver fill:#f9f9d4,stroke:#333,stroke-width:1px - style MemoryDriver fill:#f9f9d4,stroke:#333,stroke-width:1px - style DB1 fill:#f9f9d4,stroke:#333,stroke-width:1px - style Memory fill:#f9f9d4,stroke:#333,stroke-width:1px - style Memory_PGVector fill:#f9f9d4,stroke:#333,stroke-width:1px + 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 diff --git a/docs/README.fr.md b/docs/README.fr.md index 5a72c590d..35a667e60 100644 --- a/docs/README.fr.md +++ b/docs/README.fr.md @@ -399,92 +399,57 @@ npx bumpp --no-commit --no-tag - [🥺 SAD](https://github.com/moeru-ai/sad) : Documentation et notes pour LLMs auto-hébergés et en navigateur ```mermaid -%%{ init: { 'flowchart': { 'curve': 'catmullRom' } } }%% - -flowchart TD - Core("Core") - Unspeech("unspeech") - DBDriver("@proj-airi/drizzle-duckdb-wasm") - MemoryDriver("[WIP] Memory Alaya") - DB1("@proj-airi/duckdb-wasm") - SVRT("@proj-airi/server-runtime") - Memory("Memory") - STT("STT") - Stage("Stage") - StageUI("@proj-airi/stage-ui") - UI("@proj-airi/ui") - - subgraph AIRI - DB1 --> DBDriver --> MemoryDriver --> Memory --> Core - UI --> StageUI --> Stage --> Core - Core --> STT - Core --> SVRT +flowchart LR + subgraph Apps[Stage applications] + Web[stage-web] + Desktop[stage-tamagotchi] + Pocket[stage-pocket\nexperimental] end - subgraph UI_Components - UI --> StageUI - UITransitions("@proj-airi/ui-transitions") --> StageUI - UILoadingScreens("@proj-airi/ui-loading-screens") --> StageUI - FontCJK("@proj-airi/font-cjkfonts-allseto") --> StageUI - FontXiaolai("@proj-airi/font-xiaolai") --> StageUI + 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 Apps - Stage --> StageWeb("@proj-airi/stage-web") - Stage --> StageTamagotchi("@proj-airi/stage-tamagotchi") - Core --> RealtimeAudio("@proj-airi/realtime-audio") - Core --> PromptEngineering("@proj-airi/playground-prompt-engineering") + subgraph Channel[Desktop server channel] + Runtime[server-runtime] end - subgraph Server_Components - Core --> ServerSDK("@proj-airi/server-sdk") - ServerShared("@proj-airi/server-shared") --> SVRT - ServerShared --> ServerSDK + subgraph Integrations[Source-configured integrations] + Discord[discord-bot] + Minecraft[minecraft-bot] + Other[Telegram, Factorio, MCP, and others] end - STT -->|Speaking| Unspeech - SVRT -->|Playing Factorio| F_AGENT - SVRT -->|Playing Minecraft| MC_AGENT - - subgraph Factorio_Agent - F_AGENT("Factorio Agent") - F_API("Factorio RCON API") - factorio-server("factorio-server") - F_MOD1("autorio") - - F_AGENT --> F_API -.-> factorio-server - F_MOD1 -.-> factorio-server + subgraph Hosted[Hosted backend] + Edge[Caddy] + API[api-server] + Auth[auth-server] + Database[(PostgreSQL)] + Cache[(Redis)] end - subgraph Minecraft_Agent - MC_AGENT("Minecraft Agent") - Mineflayer("Mineflayer") - minecraft-server("minecraft-server") - - MC_AGENT --> Mineflayer -.-> minecraft-server - end - - XSAI("xsAI") --> Core - XSAI --> F_AGENT - XSAI --> MC_AGENT - - Memory_PGVector("@proj-airi/memory-pgvector") --> Memory - - style Core fill:#f9d4d4,stroke:#333,stroke-width:1px - style AIRI fill:#fcf7f7,stroke:#333,stroke-width:1px - style UI fill:#d4f9d4,stroke:#333,stroke-width:1px - style Stage fill:#d4f9d4,stroke:#333,stroke-width:1px - style UI_Components fill:#d4f9d4,stroke:#333,stroke-width:1px - style Server_Components fill:#d4e6f9,stroke:#333,stroke-width:1px - style Apps fill:#d4d4f9,stroke:#333,stroke-width:1px - style Factorio_Agent fill:#f9d4f2,stroke:#333,stroke-width:1px - style Minecraft_Agent fill:#f9d4f2,stroke:#333,stroke-width:1px - - style DBDriver fill:#f9f9d4,stroke:#333,stroke-width:1px - style MemoryDriver fill:#f9f9d4,stroke:#333,stroke-width:1px - style DB1 fill:#f9f9d4,stroke:#333,stroke-width:1px - style Memory fill:#f9f9d4,stroke:#333,stroke-width:1px - style Memory_PGVector fill:#f9f9d4,stroke:#333,stroke-width:1px + 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 ``` ## Projets similaires diff --git a/docs/README.ja-JP.md b/docs/README.ja-JP.md index 32e8acc4b..67f5188fe 100644 --- a/docs/README.ja-JP.md +++ b/docs/README.ja-JP.md @@ -399,92 +399,57 @@ npx bumpp --no-commit --no-tag - [🥺 SAD](https://github.com/moeru-ai/sad): 自己ホストやブラウザで動かす LLM のドキュメントとノート ```mermaid -%%{ init: { 'flowchart': { 'curve': 'catmullRom' } } }%% - -flowchart TD - Core("Core") - Unspeech("unspeech") - DBDriver("@proj-airi/drizzle-duckdb-wasm") - MemoryDriver("[WIP] メモリアラヤ") - DB1("@proj-airi/duckdb-wasm") - SVRT("@proj-airi/server-runtime") - Memory("Memory") - STT("STT") - Stage("ステージ") - StageUI("@proj-airi/stage-ui") - UI("@proj-airi/ui") - - subgraph AIRI - DB1 --> DBDriver --> MemoryDriver --> Memory --> Core - UI --> StageUI --> Stage --> Core - Core --> STT - Core --> SVRT +flowchart LR + subgraph Apps[Stage applications] + Web[stage-web] + Desktop[stage-tamagotchi] + Pocket[stage-pocket\nexperimental] end - subgraph UI_Components - UI --> StageUI - UITransitions("@proj-airi/ui-transitions") --> StageUI - UILoadingScreens("@proj-airi/ui-loading-screens") --> StageUI - FontCJK("@proj-airi/font-cjkfonts-allseto") --> StageUI - FontXiaolai("@proj-airi/font-xiaolai") --> StageUI + 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 Apps - Stage --> StageWeb("@proj-airi/stage-web") - Stage --> StageTamagotchi("@proj-airi/stage-tamagotchi") - Core --> RealtimeAudio("@proj-airi/realtime-audio") - Core --> PromptEngineering("@proj-airi/playground-prompt-engineering") + subgraph Channel[Desktop server channel] + Runtime[server-runtime] end - subgraph Server_Components - Core --> ServerSDK("@proj-airi/server-sdk") - ServerShared("@proj-airi/server-shared") --> SVRT - ServerShared --> ServerSDK + subgraph Integrations[Source-configured integrations] + Discord[discord-bot] + Minecraft[minecraft-bot] + Other[Telegram, Factorio, MCP, and others] end - STT -->|話す| Unspeech - SVRT -->|Factorioをプレイ| F_AGENT - SVRT -->|Minecraftをプレイ| MC_AGENT - - subgraph Factorioエージェント - F_AGENT("Factorioエージェント") - F_API("Factorio RCON API") - factorio-server("factorio-server") - F_MOD1("autorio") - - F_AGENT --> F_API -.-> factorio-server - F_MOD1 -.-> factorio-server + subgraph Hosted[Hosted backend] + Edge[Caddy] + API[api-server] + Auth[auth-server] + Database[(PostgreSQL)] + Cache[(Redis)] end - subgraph Minecraftエージェント - MC_AGENT("Minecraftエージェント") - Mineflayer("Mineflayer") - minecraft-server("minecraft-server") - - MC_AGENT --> Mineflayer -.-> minecraft-server - end - - XSAI("xsAI") --> Core - XSAI --> F_AGENT - XSAI --> MC_AGENT - - Memory_PGVector("@proj-airi/memory-pgvector") --> Memory - - style Core fill:#f9d4d4,stroke:#333,stroke-width:1px - style AIRI fill:#fcf7f7,stroke:#333,stroke-width:1px - style UI fill:#d4f9d4,stroke:#333,stroke-width:1px - style Stage fill:#d4f9d4,stroke:#333,stroke-width:1px - style UI_Components fill:#d4f9d4,stroke:#333,stroke-width:1px - style Server_Components fill:#d4e6f9,stroke:#333,stroke-width:1px - style Apps fill:#d4d4f9,stroke:#333,stroke-width:1px - style Factorioエージェント fill:#f9d4f2,stroke:#333,stroke-width:1px - style Minecraftエージェント fill:#f9d4f2,stroke:#333,stroke-width:1px - - style DBDriver fill:#f9f9d4,stroke:#333,stroke-width:1px - style MemoryDriver fill:#f9f9d4,stroke:#333,stroke-width:1px - style DB1 fill:#f9f9d4,stroke:#333,stroke-width:1px - style Memory fill:#f9f9d4,stroke:#333,stroke-width:1px - style Memory_PGVector fill:#f9f9d4,stroke:#333,stroke-width:1px + 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 ``` ## 類似プロジェクト diff --git a/docs/README.ko-KR.md b/docs/README.ko-KR.md index 267edc3f5..80f0eb124 100644 --- a/docs/README.ko-KR.md +++ b/docs/README.ko-KR.md @@ -385,92 +385,57 @@ npx bumpp --no-commit --no-tag - [SAD](https://github.com/moeru-ai/sad): 셀프 호스팅 및 브라우저에서 LLM을 실행하기 위한 문서 및 노트 ```mermaid -%%{ init: { 'flowchart': { 'curve': 'catmullRom' } } }%% - -flowchart TD - Core("Core") - Unspeech("unspeech") - DBDriver("@proj-airi/drizzle-duckdb-wasm") - MemoryDriver("[WIP] Memory Alaya") - DB1("@proj-airi/duckdb-wasm") - SVRT("@proj-airi/server-runtime") - Memory("메모리") - STT("STT") - Stage("스테이지") - StageUI("@proj-airi/stage-ui") - UI("@proj-airi/ui") - - subgraph AIRI - DB1 --> DBDriver --> MemoryDriver --> Memory --> Core - UI --> StageUI --> Stage --> Core - Core --> STT - Core --> SVRT +flowchart LR + subgraph Apps[Stage applications] + Web[stage-web] + Desktop[stage-tamagotchi] + Pocket[stage-pocket\nexperimental] end - subgraph UI_컴포넌트 - UI --> StageUI - UITransitions("@proj-airi/ui-transitions") --> StageUI - UILoadingScreens("@proj-airi/ui-loading-screens") --> StageUI - FontCJK("@proj-airi/font-cjkfonts-allseto") --> StageUI - FontXiaolai("@proj-airi/font-xiaolai") --> StageUI + 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 앱 - Stage --> StageWeb("@proj-airi/stage-web") - Stage --> StageTamagotchi("@proj-airi/stage-tamagotchi") - Core --> RealtimeAudio("@proj-airi/realtime-audio") - Core --> PromptEngineering("@proj-airi/playground-prompt-engineering") + subgraph Channel[Desktop server channel] + Runtime[server-runtime] end - subgraph 서버_컴포넌트 - Core --> ServerSDK("@proj-airi/server-sdk") - ServerShared("@proj-airi/server-shared") --> SVRT - ServerShared --> ServerSDK + subgraph Integrations[Source-configured integrations] + Discord[discord-bot] + Minecraft[minecraft-bot] + Other[Telegram, Factorio, MCP, and others] end - STT -->|음성| Unspeech - SVRT -->|Factorio 플레이| F_AGENT - SVRT -->|Minecraft 플레이| MC_AGENT - - subgraph Factorio_에이전트 - F_AGENT("Factorio 에이전트") - F_API("Factorio RCON API") - factorio-server("factorio-server") - F_MOD1("autorio") - - F_AGENT --> F_API -.-> factorio-server - F_MOD1 -.-> factorio-server + subgraph Hosted[Hosted backend] + Edge[Caddy] + API[api-server] + Auth[auth-server] + Database[(PostgreSQL)] + Cache[(Redis)] end - subgraph Minecraft_에이전트 - MC_AGENT("Minecraft 에이전트") - Mineflayer("Mineflayer") - minecraft-server("minecraft-server") - - MC_AGENT --> Mineflayer -.-> minecraft-server - end - - XSAI("xsAI") --> Core - XSAI --> F_AGENT - XSAI --> MC_AGENT - - Memory_PGVector("@proj-airi/memory-pgvector") --> Memory - - style Core fill:#f9d4d4,stroke:#333,stroke-width:1px - style AIRI fill:#fcf7f7,stroke:#333,stroke-width:1px - style UI fill:#d4f9d4,stroke:#333,stroke-width:1px - style Stage fill:#d4f9d4,stroke:#333,stroke-width:1px - style UI_컴포넌트 fill:#d4f9d4,stroke:#333,stroke-width:1px - style 서버_컴포넌트 fill:#d4e6f9,stroke:#333,stroke-width:1px - style 앱 fill:#d4d4f9,stroke:#333,stroke-width:1px - style Factorio_에이전트 fill:#f9d4f2,stroke:#333,stroke-width:1px - style Minecraft_에이전트 fill:#f9d4f2,stroke:#333,stroke-width:1px - - style DBDriver fill:#f9f9d4,stroke:#333,stroke-width:1px - style MemoryDriver fill:#f9f9d4,stroke:#333,stroke-width:1px - style DB1 fill:#f9f9d4,stroke:#333,stroke-width:1px - style Memory fill:#f9f9d4,stroke:#333,stroke-width:1px - style Memory_PGVector fill:#f9f9d4,stroke:#333,stroke-width:1px + 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 ``` ## 유사 프로젝트 diff --git a/docs/README.ru-RU.md b/docs/README.ru-RU.md index 5b1b3a619..33d987bba 100644 --- a/docs/README.ru-RU.md +++ b/docs/README.ru-RU.md @@ -399,92 +399,57 @@ npx bumpp --no-commit --no-tag - [🥺 SAD](https://github.com/moeru-ai/sad): Документация и заметки для само-хостинга и запуска LLM в браузере. ```mermaid -%%{ init: { 'flowchart': { 'curve': 'catmullRom' } } }%% - -flowchart TD - Core("Core") - Unspeech("unspeech") - DBDriver("@proj-airi/drizzle-duckdb-wasm") - MemoryDriver("[WIP] Memory Alaya") - DB1("@proj-airi/duckdb-wasm") - SVRT("@proj-airi/server-runtime") - Memory("Memory") - STT("STT") - Stage("Stage") - StageUI("@proj-airi/stage-ui") - UI("@proj-airi/ui") - - subgraph AIRI - DB1 --> DBDriver --> MemoryDriver --> Memory --> Core - UI --> StageUI --> Stage --> Core - Core --> STT - Core --> SVRT +flowchart LR + subgraph Apps[Stage applications] + Web[stage-web] + Desktop[stage-tamagotchi] + Pocket[stage-pocket\nexperimental] end - subgraph UI_Components - UI --> StageUI - UITransitions("@proj-airi/ui-transitions") --> StageUI - UILoadingScreens("@proj-airi/ui-loading-screens") --> StageUI - FontCJK("@proj-airi/font-cjkfonts-allseto") --> StageUI - FontXiaolai("@proj-airi/font-xiaolai") --> StageUI + 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 Apps - Stage --> StageWeb("@proj-airi/stage-web") - Stage --> StageTamagotchi("@proj-airi/stage-tamagotchi") - Core --> RealtimeAudio("@proj-airi/realtime-audio") - Core --> PromptEngineering("@proj-airi/playground-prompt-engineering") + subgraph Channel[Desktop server channel] + Runtime[server-runtime] end - subgraph Server_Components - Core --> ServerSDK("@proj-airi/server-sdk") - ServerShared("@proj-airi/server-shared") --> SVRT - ServerShared --> ServerSDK + subgraph Integrations[Source-configured integrations] + Discord[discord-bot] + Minecraft[minecraft-bot] + Other[Telegram, Factorio, MCP, and others] end - STT -->|Speaking| Unspeech - SVRT -->|Playing Factorio| F_AGENT - SVRT -->|Playing Minecraft| MC_AGENT - - subgraph Factorio_Agent - F_AGENT("Factorio Agent") - F_API("Factorio RCON API") - factorio-server("factorio-server") - F_MOD1("autorio") - - F_AGENT --> F_API -.-> factorio-server - F_MOD1 -.-> factorio-server + subgraph Hosted[Hosted backend] + Edge[Caddy] + API[api-server] + Auth[auth-server] + Database[(PostgreSQL)] + Cache[(Redis)] end - subgraph Minecraft_Agent - MC_AGENT("Minecraft Agent") - Mineflayer("Mineflayer") - minecraft-server("minecraft-server") - - MC_AGENT --> Mineflayer -.-> minecraft-server - end - - XSAI("xsAI") --> Core - XSAI --> F_AGENT - XSAI --> MC_AGENT - - Memory_PGVector("@proj-airi/memory-pgvector") --> Memory - - style Core fill:#f9d4d4,stroke:#333,stroke-width:1px - style AIRI fill:#fcf7f7,stroke:#333,stroke-width:1px - style UI fill:#d4f9d4,stroke:#333,stroke-width:1px - style Stage fill:#d4f9d4,stroke:#333,stroke-width:1px - style UI_Components fill:#d4f9d4,stroke:#333,stroke-width:1px - style Server_Components fill:#d4e6f9,stroke:#333,stroke-width:1px - style Apps fill:#d4d4f9,stroke:#333,stroke-width:1px - style Factorio_Agent fill:#f9d4f2,stroke:#333,stroke-width:1px - style Minecraft_Agent fill:#f9d4f2,stroke:#333,stroke-width:1px - - style DBDriver fill:#f9f9d4,stroke:#333,stroke-width:1px - style MemoryDriver fill:#f9f9d4,stroke:#333,stroke-width:1px - style DB1 fill:#f9f9d4,stroke:#333,stroke-width:1px - style Memory fill:#f9f9d4,stroke:#333,stroke-width:1px - style Memory_PGVector fill:#f9f9d4,stroke:#333,stroke-width:1px + 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 ``` ## Похожие проекты diff --git a/docs/README.vi.md b/docs/README.vi.md index 38937e9a5..144db24d2 100644 --- a/docs/README.vi.md +++ b/docs/README.vi.md @@ -399,92 +399,57 @@ npx bumpp --no-commit --no-tag - [🥺 SAD](https://github.com/moeru-ai/sad): Tài liệu và ghi chú về tự host và chạy LLM trong trình duyệt. ```mermaid -%%{ init: { 'flowchart': { 'curve': 'catmullRom' } } }%% - -flowchart TD - Core("Core") - Unspeech("unspeech") - DBDriver("@proj-airi/drizzle-duckdb-wasm") - MemoryDriver("[WIP] Memory Alaya") - DB1("@proj-airi/duckdb-wasm") - SVRT("@proj-airi/server-runtime") - Memory("Memory") - STT("STT") - Stage("Stage") - StageUI("@proj-airi/stage-ui") - UI("@proj-airi/ui") - - subgraph AIRI - DB1 --> DBDriver --> MemoryDriver --> Memory --> Core - UI --> StageUI --> Stage --> Core - Core --> STT - Core --> SVRT +flowchart LR + subgraph Apps[Stage applications] + Web[stage-web] + Desktop[stage-tamagotchi] + Pocket[stage-pocket\nexperimental] end - subgraph UI_Components - UI --> StageUI - UITransitions("@proj-airi/ui-transitions") --> StageUI - UILoadingScreens("@proj-airi/ui-loading-screens") --> StageUI - FontCJK("@proj-airi/font-cjkfonts-allseto") --> StageUI - FontXiaolai("@proj-airi/font-xiaolai") --> StageUI + 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 Apps - Stage --> StageWeb("@proj-airi/stage-web") - Stage --> StageTamagotchi("@proj-airi/stage-tamagotchi") - Core --> RealtimeAudio("@proj-airi/realtime-audio") - Core --> PromptEngineering("@proj-airi/playground-prompt-engineering") + subgraph Channel[Desktop server channel] + Runtime[server-runtime] end - subgraph Server_Components - Core --> ServerSDK("@proj-airi/server-sdk") - ServerShared("@proj-airi/server-shared") --> SVRT - ServerShared --> ServerSDK + subgraph Integrations[Source-configured integrations] + Discord[discord-bot] + Minecraft[minecraft-bot] + Other[Telegram, Factorio, MCP, and others] end - STT -->|Speaking| Unspeech - SVRT -->|Playing Factorio| F_AGENT - SVRT -->|Playing Minecraft| MC_AGENT - - subgraph Factorio_Agent - F_AGENT("Factorio Agent") - F_API("Factorio RCON API") - factorio-server("factorio-server") - F_MOD1("autorio") - - F_AGENT --> F_API -.-> factorio-server - F_MOD1 -.-> factorio-server + subgraph Hosted[Hosted backend] + Edge[Caddy] + API[api-server] + Auth[auth-server] + Database[(PostgreSQL)] + Cache[(Redis)] end - subgraph Minecraft_Agent - MC_AGENT("Minecraft Agent") - Mineflayer("Mineflayer") - minecraft-server("minecraft-server") - - MC_AGENT --> Mineflayer -.-> minecraft-server - end - - XSAI("xsAI") --> Core - XSAI --> F_AGENT - XSAI --> MC_AGENT - - Memory_PGVector("@proj-airi/memory-pgvector") --> Memory - - style Core fill:#f9d4d4,stroke:#333,stroke-width:1px - style AIRI fill:#fcf7f7,stroke:#333,stroke-width:1px - style UI fill:#d4f9d4,stroke:#333,stroke-width:1px - style Stage fill:#d4f9d4,stroke:#333,stroke-width:1px - style UI_Components fill:#d4f9d4,stroke:#333,stroke-width:1px - style Server_Components fill:#d4e6f9,stroke:#333,stroke-width:1px - style Apps fill:#d4d4f9,stroke:#333,stroke-width:1px - style Factorio_Agent fill:#f9d4f2,stroke:#333,stroke-width:1px - style Minecraft_Agent fill:#f9d4f2,stroke:#333,stroke-width:1px - - style DBDriver fill:#f9f9d4,stroke:#333,stroke-width:1px - style MemoryDriver fill:#f9f9d4,stroke:#333,stroke-width:1px - style DB1 fill:#f9f9d4,stroke:#333,stroke-width:1px - style Memory fill:#f9f9d4,stroke:#333,stroke-width:1px - style Memory_PGVector fill:#f9f9d4,stroke:#333,stroke-width:1px + 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 ``` ## Các dự án tương tự diff --git a/docs/README.zh-CN.md b/docs/README.zh-CN.md index 1441e7360..379f81ba8 100644 --- a/docs/README.zh-CN.md +++ b/docs/README.zh-CN.md @@ -398,92 +398,57 @@ npx bumpp --no-commit --no-tag - [🥺 SAD](https://github.com/moeru-ai/sad):自托管与浏览器运行 LLM 的文档与笔记 ```mermaid -%%{ init: { 'flowchart': { 'curve': 'catmullRom' } } }%% - -flowchart TD - Core("Core") - Unspeech("unspeech") - DBDriver("@proj-airi/drizzle-duckdb-wasm") - MemoryDriver("[WIP] Memory Alaya") - DB1("@proj-airi/duckdb-wasm") - SVRT("@proj-airi/server-runtime") - Memory("Memory") - STT("STT") - Stage("Stage") - StageUI("@proj-airi/stage-ui") - UI("@proj-airi/ui") - - subgraph AIRI - DB1 --> DBDriver --> MemoryDriver --> Memory --> Core - UI --> StageUI --> Stage --> Core - Core --> STT - Core --> SVRT +flowchart LR + subgraph Apps[Stage applications] + Web[stage-web] + Desktop[stage-tamagotchi] + Pocket[stage-pocket\nexperimental] end - subgraph UI_Components - UI --> StageUI - UITransitions("@proj-airi/ui-transitions") --> StageUI - UILoadingScreens("@proj-airi/ui-loading-screens") --> StageUI - FontCJK("@proj-airi/font-cjkfonts-allseto") --> StageUI - FontXiaolai("@proj-airi/font-xiaolai") --> StageUI + 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 Apps - Stage --> StageWeb("@proj-airi/stage-web") - Stage --> StageTamagotchi("@proj-airi/stage-tamagotchi") - Core --> RealtimeAudio("@proj-airi/realtime-audio") - Core --> PromptEngineering("@proj-airi/playground-prompt-engineering") + subgraph Channel[Desktop server channel] + Runtime[server-runtime] end - subgraph Server_Components - Core --> ServerSDK("@proj-airi/server-sdk") - ServerShared("@proj-airi/server-shared") --> SVRT - ServerShared --> ServerSDK + subgraph Integrations[Source-configured integrations] + Discord[discord-bot] + Minecraft[minecraft-bot] + Other[Telegram, Factorio, MCP, and others] end - STT -->|Speaking| Unspeech - SVRT -->|Playing Factorio| F_AGENT - SVRT -->|Playing Minecraft| MC_AGENT - - subgraph Factorio_Agent - F_AGENT("Factorio Agent") - F_API("Factorio RCON API") - factorio-server("factorio-server") - F_MOD1("autorio") - - F_AGENT --> F_API -.-> factorio-server - F_MOD1 -.-> factorio-server + subgraph Hosted[Hosted backend] + Edge[Caddy] + API[api-server] + Auth[auth-server] + Database[(PostgreSQL)] + Cache[(Redis)] end - subgraph Minecraft_Agent - MC_AGENT("Minecraft Agent") - Mineflayer("Mineflayer") - minecraft-server("minecraft-server") - - MC_AGENT --> Mineflayer -.-> minecraft-server - end - - XSAI("xsAI") --> Core - XSAI --> F_AGENT - XSAI --> MC_AGENT - - Memory_PGVector("@proj-airi/memory-pgvector") --> Memory - - style Core fill:#f9d4d4,stroke:#333,stroke-width:1px - style AIRI fill:#fcf7f7,stroke:#333,stroke-width:1px - style UI fill:#d4f9d4,stroke:#333,stroke-width:1px - style Stage fill:#d4f9d4,stroke:#333,stroke-width:1px - style UI_Components fill:#d4f9d4,stroke:#333,stroke-width:1px - style Server_Components fill:#d4e6f9,stroke:#333,stroke-width:1px - style Apps fill:#d4d4f9,stroke:#333,stroke-width:1px - style Factorio_Agent fill:#f9d4f2,stroke:#333,stroke-width:1px - style Minecraft_Agent fill:#f9d4f2,stroke:#333,stroke-width:1px - - style DBDriver fill:#f9f9d4,stroke:#333,stroke-width:1px - style MemoryDriver fill:#f9f9d4,stroke:#333,stroke-width:1px - style DB1 fill:#f9f9d4,stroke:#333,stroke-width:1px - style Memory fill:#f9f9d4,stroke:#333,stroke-width:1px - style Memory_PGVector fill:#f9f9d4,stroke:#333,stroke-width:1px + 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 ``` ## 同类项目