EPA-003 System Architecture
EAOS 先从可发布静态知识库开始,逐步演进为多端、多租户、AI First 的教育平台。
C4 Context
flowchart LR
Teacher["教师"] --> EAOS["EAOS Platform"]
Trainer["培训者"] --> EAOS
School["学校管理者"] --> EAOS
Student["学生"] --> EAOS
EAOS --> AI["AI Providers"]
EAOS --> Pay["Payment Providers"]
EAOS --> WeChat["WeChat / WeCom"]
EAOS --> Storage["Object Storage"]
EAOS --> Search["Search Index"]
EAOS --> Analytics["Analytics"]
Architecture Stages
| Stage | Architecture | Reason |
|---|---|---|
| Stage 0 | Markdown + Static Site | 建立知识库和协作基础 |
| Stage 1 | Static portal + structured data | 发布案例、资源、课堂游戏、线下课 HTML 课件和本地演示数据 |
| Stage 2 | API backend + CMS | 管理课程、用户、内容、订单 |
| Stage 3 | AI Center + workflow engine | Prompt、Agent、评估、成本控制 |
| Stage 4 | Multi-tenant SaaS | 支持多学校、多品牌、多区域 |
Quality Attributes
- Maintainability: 模块边界和 ADR 必须清楚。
- Security: 默认最小权限,密钥不进入前端。
- Observability: 关键操作、AI 调用和支付流程必须可追踪。
- Portability: 部署平台可替换,避免过早绑定某一家云。
- Accessibility: 面向教师和学生的页面必须移动端可读、交互可触达。
Current Implementation
当前仓库采用零运行时依赖的静态站生成器。它适合第一阶段知识库发布、线下课私密专区原型和 HTML 课件演示,也能自然升级到 Astro、Next.js 或 Payload CMS。