docs(readme): refresh architecture overview (#2372)
This commit is contained in:
+41
-76
@@ -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
|
||||
```
|
||||
|
||||
## 類似プロジェクト
|
||||
|
||||
Reference in New Issue
Block a user