CONFIDENTIAL June 2026 v0.1

UniCon

Unified Convergence — Full System Architecture 统一融合 — 全系统架构文档

MITOMO Inc. — Intelligent Enterprise Ecosystem 株式会社美友 — 智能企业生态系统

5 Projects × 7 Subsystems = 35 Intelligent Modules 5大项目 × 7个子系统 = 35个智能模块

Press → or Space to navigate 按 → 或 空格键翻页

System Overview 系统概览

5
Projects 项目
35
Subsystems 子系统
4
AI Agents AI 智能体
3
Servers 服务器

🎯 Vision: ERP → IERP Evolution 🎯 愿景:ERP → IERP 进化

Transform traditional ERP (physical resource management) into IERP — managing virtual resources (apps, tokens, AI agents) alongside real-world assets. 将传统ERP(实物资源管理)转型为IERP——在管理现实资产的同时,管理虚拟资源(应用、代币、AI智能体)。

📊 Tech Stack 📊 技术栈

Next.js 16 · React 19 · TypeScript · TailwindCSS 4 · Prisma · MySQL 8 · Qdrant · Vercel AI SDK 6 · Turborepo + pnpm Next.js 16 · React 19 · TypeScript · TailwindCSS 4 · Prisma · MySQL 8 · Qdrant · Vercel AI SDK 6 · Turborepo + pnpm

5 Core Projects 五大核心项目

Project项目 Role角色 Path路径 Port端口 Subsystems子系统 Status状态
🌐 UniCon Hub / Orchestration中心 / 编排 landing/ 3000 7 Active运行中
🔴 KBMS Knowledge Base知识库 packages/kbms/ 7 V0.1
🔵 IRMS AI RAG SystemAI RAG 系统 apps/irs/ 3008 7 V0.1
🟢 IERP ERP SystemERP 系统 apps/ierp/ 3001 7 V0.1
🟡 MAS Action Agents动作智能体 apps/mas/ 3009 7 V0.1
🟣 ASIS Super Intelligence超级智能 apps/asis/ 3010 7 Planned计划中

Hardware Infrastructure 硬件基础设施

💻

🇯🇵 Dev PC (Japan) 🇯🇵 开发PC(日本)

OSWindows
GPU
Role角色Dev Environment开发环境
Agent智能体Antigravity IDE
Repo仓库C:\Dev\UniCon\
☁️

🇯🇵 GCE Tokyo VM 🇯🇵 GCE 东京虚拟机

Type类型e2-standard-2
CPU / RAM2 vCPU / 8 GB
IP136.110.87.61
Services服务MySQL · Qdrant · Hermes
Cost费用~¥5,000/mo
🏢

🇨🇳 China Local Server 🇨🇳 中国本地服务器

CPUE5-2699v4 ×2 (88T)
RAM251 GB DDR4
Storage存储100GB SSD + 44TB HDD
SSHs5.nsloop.com:15966
Role角色Embeddings + Storage嵌入向量 + 存储

🌐 GCE · nginx

Reverse-proxy deployment on GCE Tokyo — Landing(static), IERP /ierp, IRS /irs (mitomos.info subpaths)GCE东京反向代理部署 — Landing(静态), IERP /ierp, IRS /irs (mitomos.info子路径)

🐙 GitHub

Source control — top-mitomo/UniCon (private)源代码管理 — top-mitomo/UniCon(私有)

Network Topology 网络拓扑

┌─────────────────┐ │ 👤 Users │ │ (Browser) │ └────────┬─────────┘ │ HTTPS ┌────────▼─────────┐ │ 🌐 nginx (GCE:443) │ └──┬──────┬──────┬─┘ ┌──────────┘ │ └──────────┐ ┌─────▼─────┐ ┌──────▼──────┐ ┌──────▼──────┐ │ Landing │ │ IERP │ │ IRS │ │ :3000 │ │ :3001 │ │ :3008 │ └────────────┘ └──────┬──────┘ └──────┬──────┘ │ │ ┌─────────▼──────────────────▼──────────┐ │ GCE Tokyo VM │ │ 136.110.87.61 │ │ ┌────────┐ ┌────────┐ ┌────────────┐ │ │ │ MySQL │ │ Qdrant │ │ Hermes │ │ │ │ :3306 │ │ :6333 │ │ :8642 │ │ │ └────────┘ └────────┘ └────────────┘ │ └──────────────────┬─────────────────────┘ │ SSH / VPN ┌──────────────────▼─────────────────────┐ │ 🇨🇳 China Server │ │ s5.nsloop.com:15966 │ │ ┌──────────┐ ┌───────────────────┐ │ │ │ bge-m3 │ │ 📁 44TB Storage │ │ │ │ Embedding│ │ Cloud + Share │ │ │ └──────────┘ └───────────────────┘ │ └────────────────────────────────────────┘

Software Architecture — Monorepo 软件架构 — Monorepo

C:\Dev\UniCon\ ← Turborepo + pnpm │ ├─ landing/ ← UniCon Hub (Static) │ ├─ apps/ ← Next.js Apps │ ├─ ierp/ :3001 ← 🟢 IERP (ERP) │ ├─ irs/ :3008 ← 🔵 IRMS (AI RAG) │ ├─ mas/ :3009 ← 🟡 MAS (Agents) │ ├─ asis/ :3010 ← 🟣 ASIS (Super AI) │ └─ kbms/ ibms/ isms/ ... │ ├─ packages/ ← Shared Packages │ ├─ kbms/ ← Knowledge Base Core │ ├─ types/ utils/ ← Shared Types/Utils │ ├─ ui/ ← Shared UI │ ├─ i18n/ ← i18n (ko/ja/en/zh) │ └─ platform-api/ ← EC API Adapters │ ├─ hermes/ ← Hermes Agent Config │ ├─ souls/ ← SOUL Files (3) │ └─ knowledge/ ← Knowledge Files │ ├─ infra/ ← Docker / VM Setup ├─ scripts/ ← Cron / Batch └─ data/ ← Data / Logs

Shared Packages 共享包

@kbms/coreKnowledge Base + Prisma + Vector知识库 + Prisma + 向量
@ierp/typesShared TypeScript types共享TypeScript类型
@ierp/utilsShared utilities共享工具函数
@ierp/uiShared UI components共享UI组件
@ierp/i18ni18n (4 languages)国际化(4种语言)
@ierp/platform-apiEC Platform adapters电商平台适配器

⚠️ Rule: No cross-app imports! 规则:禁止跨应用直接导入!

Apps must share code through packages/ only. 应用之间必须通过 packages/ 共享代码。

35 Subsystems Matrix 35个子系统矩阵

Domain领域 🔴 KBMS
Knowledge知识库
🔵 IRMS
AI RAG
🟢 IERP
ERP
🟡 MAS
Agents智能体
🟣 ASIS
Super AI超级AI
📱 Contents📱 内容 DB/MediaIRSICMSICASCSIS
💰 Sales💰 销售 DB/APICRSISMSISASSSIS
🛒 Purchase🛒 采购 DB/SyncSRSIBMSIBASBSIS
📦 Warehouse📦 仓库 DB/FileBRSIWMSIWASWSIS
🏭 Production🏭 生产 DB/VDBWRSIPMSIPASPSIS
💎 Assets💎 资产 DB/AdminPRSIAMSIAASASIS
👥 HR👥 人事 DB/APIARS/HRSIHMSIHASHSIS

AI Agent Ecosystem AI 智能体生态系统

🚀 Antigravity

Master Controller 总控制器

• Full PC access
• File editing
• Terminal / SSH
• Build / Deploy
• Sub-agents
• Voice (TTS)
• 完全PC访问
• 文件编辑
• 终端 / SSH
• 构建 / 部署
• 子智能体
• 语音 (TTS)

¥0 (built-in)

🔷 Codex

ASIS Developer ASIS 开发者

• GitHub PR-based
• Cloud sandbox
• Git required
• Code generation
• Code review
• 基于GitHub PR
• 云端沙箱
• 需要Git连接
• 代码生成
• 代码审查

¥0 (Pro Plan)

🟠 Claude

Refactoring 重构

• Cowork VM
• Independent env
• Needs Hyper-V
• Code refactoring
• Architecture
• Cowork 虚拟机
• 独立环境
• 需要Hyper-V
• 代码重构
• 架构设计

¥0 (Max Plan)

🤖 Hermes

Brain / Operations 大脑 / 运维

• 3 profiles (Mgr/Dev/Opr)
• DB queries (SELECT)
• DingTalk alerts
• Cron scheduling
• hermes_messages bus
• 3个角色 (管理/开发/运维)
• 数据库查询 (SELECT)
• 钉钉通知
• 定时调度
• hermes_messages 消息总线

Pay-per-use (OpenRouter) 按量付费 (OpenRouter)

Database Architecture 数据库架构

📊 MySQL 8.0 (GCE :3306)

MITOMO (IERP)

40+ tables: orders, products, customers, sales_slips, employees, channel_*, hermes_messages, chat_sessions... 40+ 表:orders, products, customers, sales_slips, employees, channel_*, hermes_messages, chat_sessions...

MITOMO_KBMS

10 tables: kb_documents, kb_collections, kb_embeddings, kb_metadata... 10 表:kb_documents, kb_collections, kb_embeddings, kb_metadata...

🧠 Qdrant Vector DB (GCE :6333)

Collection集合kbms
Documents文档数17,268
Embeddings嵌入向量In progress进行中
Model模型bge-m3 (1024 dim)
Engine引擎China Local Server中国本地服务器

Business Data Flow 业务数据流

🏭 Production (IPMS) │ ▼ 📦 Warehouse (IWMS) ◄──── 🛒 Purchase (IBMS) │ │ ▼ ▼ 📱 Contents (ICMS) ────► 💰 Sales (ISMS) ────► 📊 Assets (IAMS) ▲ 👥 HR (IHMS) ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 🔵 IRS (AI RAG) ◄──► All modules (Query/Response) ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 🌐 EC Platforms ┌────────┐ ┌──────────┐ ┌───────┐ ┌────────┐ ┌─────────┐ │Rakuten │ │Amazon JP │ │ Qoo10 │ │ au PAY │ │ Shopify │ └───┬────┘ └────┬─────┘ └───┬───┘ └───┬────┘ └────┬────┘ └───────────┼───────────┼─────────┼───────────┘ ▼ ▼ ▼ Robot-IN (Cross-validation)

Cost Structure 成本结构

Item项目 Monthly月费用 Note备注
GCE VM~¥5,000Tokyo, 24/7
GCE Tokyo · nginxVM 운영비자체 호스팅
GitHub¥0Free
Antigravity¥0Plan built-in
Codex Pro¥0Plan built-in
Claude Max¥0Plan built-in
OpenRouter (LLM)~¥30,000+Pay-per-use按量付费
China Server中国服务器 Electricity only仅电费 Company-owned公司自有
Total合计 ~¥35,000+

⚠️ LLM tokens = 85%+ of total cost LLM Token占总成本的85%以上

Content generation (MAS ICAS): ~70%
Chat AI (Antigravity/Hermes): ~18%
RAG/Embeddings: ~8%
Other: ~4%
内容生成 (MAS ICAS):~70%
对话AI (Antigravity/Hermes):~18%
RAG/嵌入:~8%
其他:~4%

🎯 Cost Optimization Strategy 🎯 成本优化策略

• Local embedding (bge-m3 on China server) = ¥0
• OpenRouter for best price/model routing
• PDS (Plan-Do-See) to prevent waste
• 本地嵌入(中国服务器bge-m3)= ¥0
• OpenRouter 最优价格/模型路由
• PDS(计划-执行-检验)防止浪费

UniCon

Unified Convergence — Intelligent Enterprise Ecosystem 统一融合 — 智能企业生态系统

5 Projects · 35 Subsystems · 4 AI Agents · 3 Servers 5大项目 · 35个子系统 · 4个AI智能体 · 3台服务器

Next.js 16 TypeScript TailwindCSS 4 Vercel AI SDK 6 Turborepo

MITOMO Inc. — Confidential — June 2026 株式会社美友 — 机密 — 2026年6月

1 / 12