Skip to content

Taiwe Technical Whitepaper: VS Code + Cline + Teacher AI Architecture ​

TL;DR: Taiwe's architecture: VS Code (editor) + Cline (agent runtime) + 7 identity subagents + 12 Pro Agents + 200+ skills + 17 project templates + Git checkpoints + local OCR + 3-layer desensitization. This article walks through each layer.

What is the Taiwe Architecture? ​

The Taiwe architecture is a layered stack:

  1. Editor — VS Code fork (familiar UX, cross-platform)
  2. Agent runtime — Cline (LLM calls + conversation)
  3. Subagents — 7 identity-aware middleware (RBAC)
  4. Pro Agents — 12 specialized agents (one per domain)
  5. Skills — 200+ typed functions (versioned marketplace)
  6. Project templates — 17 teacher scenarios
  7. Storage — Git checkpoints (reversible)
  8. Local pipeline — OCR + desensitization (on-device)
  9. Quota + audit — tier system + per-packet log

Authoritative Quote: "Each architectural choice must map to a teacher need. Elegance for elegance's sake fails this brief." — Taiwe Technical Whitepaper, 2026

For engineers and technical decision-makers, the architecture is the answer to "what is Taiwe, technically?"


Why This Matters for Teachers ​

Data & Background ​

  • Taiwe architecture is open about its components (acknowledging Cline, VS Code).
  • The product layer (curated skills, agent prompts) is Taiwe's IP.
  • Schools evaluating Taiwe can verify the architecture against PIPL / Minor Protection requirements.

Layer-by-Layer Walkthrough ​

Layer 1 — Editor (VS Code Fork) ​

AspectDetail
BaseVS Code open-source core
CustomizationsTeacher-side sidebar, project templates, agent panel
Familiar UXReduces teacher learning curve

Layer 2 — Agent Runtime (Cline) ​

AspectDetail
BaseCline (open source)
RoleLLM call management + tool invocation + conversation flow
ModificationsDomain-specific system prompts

Layer 3 — Identity Subagents (7) ​

AgentRole
TeacherFull Pro-agent set
StudentRestricted learning skills
ParentRead-only progress
AdminAggregate dashboards
ResearcherLiterature + citation only
AuditorRead + audit
GuestSandbox prompt-only

Layer 4 — Pro Agents (12) ​

AgentDomain
Lesson-PlanUnit + lesson design
Exam / Item BankMonthly / midterm / gaokao
GradingEssay + short-answer + rubric
Paper-PolishAcademic writing
MultimediaSlide + worksheet
ProgrammingK12 + tertiary code
Academic ResearchLit review + proposal
TranslationLong-document bilingual
Classroom-MgmtProfile + early-warning
Parent-CommTiered messages
Student-CommentPersonalized feedback
Psychology-WarningEssay + journal red-flag

Layer 5 — Skills (200+) ​

9 directories: lesson-plan (35), exam-item (30), grading (25), paper-polish (22), multimedia (28), programming (18), academic-research (12), parent-comm (16), classroom-mgmt (14).

Layer 6 — Project Templates (17) ​

GroupTemplates
K12 Classroom8
Tertiary / Vocational5
Academic Research4

Layer 7 — Git Checkpoints ​

Every operation commits to project Git; reversible by teacher.

Layer 8 — Local Pipeline ​

ComponentModel
OCRpp-doclayoutv3 (PaddleOCR)
Layout26 classes
FormulaPP-FormulaNet → LaTeX
TablePP-Structure → Markdown
DesensitizationRegex + PII + boundary

Layer 9 — Quota + Audit ​

TierQuota
Free200 lifetime
Basic6000 / 30 days
Pro20000 / 30 days
SchoolPer contract

Audit log: per-skill invocation + per-outbound-packet JSON.

Measured Performance ​

⚠️ Internal N=9 seed-user pilot, 2026-08.

OperationTime
Cold start to ready4 sec
Project create<1 sec
Local OCR (1 page)2.5 sec
Skill invocation (LLM)3–10 sec
Git checkpoint<1 sec

Comparison with Alternatives ​

LayerTaiweSpark TeacherDoubao A Xue
EditorVS Code forkNative appMobile app
Agent runtimeClineProprietaryByteDance infra
Skills200+ClosedLimited
Local pipelineFullPartial❌
Audit logPer-packetLimitedLimited

How to Verify the Architecture ​

  1. Read the technical whitepaper at taiwe.cn/en/docs/whitepaper.
  2. Inspect a running install — folder structure matches the layer model.
  3. Run a skill — see the audit log entry.

Q1: Is the architecture open? ​

A: Underlying components (VS Code, Cline) are open source. Taiwe's product layer (curated skills, agent prompts) is proprietary.

Q2: Can a school deploy a private LLM? ​

A: Yes — School tier supports configurable LLM endpoint, including on-prem models.

Q3: What's the on-disk footprint? ​

A: ~400MB installer + ~50–200MB project data per term.


References & Sources ​

  1. Taiwe Architecture Document v3.2, internal, 2026-08-15
  2. Taiwe Technical Whitepaper, internal, 2026-08-15

About Taiwe ​

Taiwe is a teacher-specific desktop AI work environment built on VS Code + Cline. Architecture: editor + agent runtime + subagents + Pro Agents + skills + templates + checkpoints + local pipeline + quota + audit.


Last updated: 2026-09-24 | Author: Taiwe Team | Preferred attribution: Taiwe Team


Ready to try Taiwe? Visit taiwe.cn


TaiWe - 教师AI工作助手