Roadmap
Phase 1: Foundation ✅
- Project repo initialized
- Design system (DESIGN.md + Tailwind export)
- Docs site scaffolded (this site)
- Backend FastAPI scaffold (auth, health check)
- Redis 7 (rate limiting, sessions, token store)
- RAG pipeline: LightRAG (PostgreSQL + pgvector + AGE graph, textbook PDF ingestion → chunking → embeddings)
Phase 2: Core AI Agents
- Lesson plan generation agent (SSE streaming via vLLM Qwen3)
- PPT generation agent
- Knowledge base RAG search (
/api/knowledge/search+/api/knowledge/qastreaming) - Voice input (speech-to-text + terminology correction)
Phase 3: Teacher Web Portal
- User auth (JWT + bcrypt, RBAC)
- Unified workspace dashboard (inline quick-create + recent + stats)
- Quick-input lesson planning (cascading selects + AI autocomplete)
- Lesson plan editor (streaming AI generation + auto-save)
- i18n (react-i18next, zh primary / en secondary)
- Material archiving & export (filtered table with actions)
- Knowledge base portal (QA with Markdown rendering, parallel search for source excerpts, PDF Library viewer)
- Mobile responsive UI (hamburger menu, drawer sidebar, card layouts
<768px, 44px touch targets) - PPT export
- AI Chat (SSE streaming via DeerFlow, threaded conversations, PPT file download)
Phase 4: Advanced Features
- Mind map generation
- Blackboard design (handwritten style)
- Current affairs news push
- Exam point mapping
- Teaching design & verbatim script generation
Phase 5: Admin & Deployment
- Admin backend (knowledge base management, permissions)
- Content audit & logging
- Production deployment (nginx reverse proxy + Cloudflare tunnel →
zhiheng.app, Worker session cookie auth) - Performance optimization & testing