Skip to content

VS Code + Cline + 12 Agents: Teacher AI Work Environment Architecture ​

TL;DR: A deep dive into the Taiwe stack: VS Code (editor) → Cline (agent runtime) → 7 identity subagents → 12 Pro Agents → 200+ skills. Each layer adds capability; each layer is auditable.

What is the VS Code + Cline + 12 Agents Architecture? ​

The VS Code + Cline + 12 Agents architecture is the layered stack Taiwe uses:

  • VS Code — the editor shell (familiar UX, cross-platform)
  • Cline — the agent runtime (LLM calls, tool invocation, conversation)
  • 7 subagents — identity-aware middleware (RBAC enforcement)
  • 12 Pro Agents — domain-specialized teachers (lesson, exam, grading, etc.)
  • 200+ skills — typed functions the agents orchestrate

Authoritative Quote: "An agent runtime is the engine; domain agents are the specialists. Taiwe treats both as first-class." — Cline GitHub README + Taiwe Architecture v3.2, 2026

For engineers, the architecture explains how Taiwe scales across 12 teaching domains without losing coherence.


Why This Matters for Teachers ​

Data & Background ​

  • Taiwe inherits ~70% of VS Code's editor capability.
  • Taiwe inherits ~80% of Cline's agent runtime.
  • Taiwe adds ~30% domain-specific layer (subagents + Pro Agents + skills + templates).

Layer Walkthrough ​

Layer 1 — VS Code ​

ComponentSourceTaiwe Modification
Editor coreOpen sourceNone
File treeOpen sourceAdd project template panel
Extension systemOpen sourceTeacher-side extensions
SettingsOpen sourceTaiwe-specific keys
TerminalOpen sourceLocal model CLI

Layer 2 — Cline ​

ComponentSourceTaiwe Modification
LLM call layerOpen sourceTeacher-tuned prompts
Tool invocationOpen sourceDomain-aware tool selection
Conversation loopOpen sourceMulti-agent routing
MCP integrationOpen sourceTeacher-skill MCP servers

Layer 3 — Identity Subagents ​

SubagentRoutes
TeacherFull Pro-agent set
StudentRestricted learning skills
ParentRead-only
AdminAggregate
ResearcherLit + citation
AuditorRead + audit
GuestSandbox

Layer 4 — Pro Agents (12) ​

AgentDomainSkill Sources
Lesson-PlanUnit + lessonlesson-plan (35)
Exam-ItemMonthly / midtermexam-item (30)
GradingEssay + shortgrading (25)
Paper-PolishAcademicpaper-polish (22)
MultimediaSlide + worksheetmultimedia (28)
ProgrammingK12 + tertiary codeprogramming (18)
Academic-ResearchLit + proposalacademic-research (12)
TranslationLong-doctranslation (16, overlapping)
Classroom-MgmtProfile + early-warningclassroom-mgmt (14)
Parent-CommTiered messagesparent-comm (16)
Student-CommentPersonalizedgrading + comment (overlap)
Psychology-WarningEssay + journal red-flagspecialized

Layer 5 — Skills (200+) ​

Each skill is a typed function with README + version pin + examples. MCP-discoverable.

Identity → Pro Agent Routing ​

User (teacher)
  ↓
Identity subagent (Teacher role)
  ↓
Routes to relevant Pro Agent(s)
  ↓
Agent invokes Skills
  ↓
Skill outputs (file / response / checkpoint)
  ↓
Audit log entry per skill

Measured Performance ​

⚠️ Internal benchmark, 2026-08.

OperationLatency
Identity subagent routing<50ms
Pro Agent skill chain (5 skills)8–20 sec
Git checkpoint per skill<100ms

Comparison with Alternatives ​

StackEditorAgent RuntimeDomain AgentsSkills
TaiweVS CodeCline12200+
Spark TeacherNativeProprietaryLimitedClosed
Doubao A XueMobileByteDance infraFewLimited
Raw ClineVS CodeClineNoneNone

How to Verify ​

  1. Inspect Taiwe → folder structure shows each layer.
  2. Run a multi-agent workflow → audit log shows routing decisions.
  3. Read the architecture doc → https://taiwe.cn/en/docs/architecture

Q1: Can I disable the Pro Agent layer and use raw Cline? ​

A: Yes — Taiwe has a "raw Cline mode" for advanced users.

Q2: Are the 12 Pro Agents the same as the skill directories? ​

A: No — Pro Agents orchestrate skills. The 9 skill directories map roughly to the 12 Pro Agents, with some overlap.

Q3: Can I add my own Pro Agent? ​

A: Yes — via MCP. Define the agent's tools and prompts; register with Taiwe.


References & Sources ​

  1. Taiwe Architecture Document v3.2, internal, 2026-08-15
  2. Cline GitHub: https://github.com/cline/cline

About Taiwe ​

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


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


Ready to try Taiwe? Visit taiwe.cn


TaiWe - 教师AI工作助手