Skip to content

Taiwe 7 Identity Subagents: Base Agent + Pro Agent Middleware ​

TL;DR: Taiwe's 7 identity subagents sit between the Cline base agent and the 12 Pro Agents, enforcing RBAC at the routing layer. Each role (teacher / student / parent / admin / researcher / auditor / guest) gets a filtered view.

What are the 7 Identity Subagents? ​

The 7 identity subagents are the RBAC-enforcing middleware layer between the base agent (Cline) and the 12 Pro Agents:

  1. Teacher — full Pro-agent set
  2. Student — restricted learning skills
  3. Parent — read-only progress
  4. Admin — aggregate dashboards
  5. Researcher — literature + citation access, no student data
  6. Auditor — read + audit-trail access
  7. Guest — sandboxed prompt-only

Authoritative Quote: "Identity subagents are how RBAC and agent routing compose cleanly — each role gets its own policy and toolset." — Taiwe Architecture Document v3.2, 2026

For teachers, the subagent layer is invisible most of the time — but it determines what each role can do.


Why This Matters for Teachers ​

Data & Background ​

  • PIPL Art. 6 requires minimum necessary access.
  • Minor Protection Law requires heightened safeguards.
  • Taiwe's subagent layer implements these by construction.

Per-Subagent Detail ​

Subagent 1 — Teacher ​

AspectDetail
RoleClassroom teacher (subject + homeroom)
Pro agentsAll 12
Skill accessAll
External publish✅ (with confirmation)
Student PIIReal (own classes)

Subagent 2 — Student ​

AspectDetail
RoleK12 / tertiary student
Pro agentsLearning-facing subset (lesson, multimedia, programming)
Skill accessRestricted
External publish❌
Student PIIOwn only

Subagent 3 — Parent ​

AspectDetail
RoleFamily member
Pro agentsNone directly
Skill accessRead-only (progress cards, letters)
External publish❌
Student PIIOwn child only

Subagent 4 — Admin ​

AspectDetail
RoleSchool / district administrator
Pro agentsAggregate dashboards
Skill accessAdmin-only
External publish✅ (per school policy)
Student PIIAggregate only

Subagent 5 — Researcher ​

AspectDetail
RolePG student / faculty / research staff
Pro agentsResearch-specific (paper-polish, academic-research, translation)
Skill accessRestricted to research
External publish✅ (with audit)
Student PII❌ (anonymized only)

Subagent 6 — Auditor ​

AspectDetail
RoleDPO / compliance officer
Pro agentsNone
Skill accessRead + audit-log
External publish❌
Student PIIAudit-log access only

Subagent 7 — Guest ​

AspectDetail
RoleExternal visitor / trial user
Pro agentsNone
Skill accessSandbox prompt-only
External publish❌
Student PII❌

Routing Architecture ​

User (with role)
  ↓
Login → identity context
  ↓
Identity Subagent (1 of 7)
  ↓
RBAC filter
  ↓
Pro Agent (if permitted)
  ↓
Skill (if permitted)
  ↓
Output (filtered for role)

Permission Layers ​

LayerMechanism
UIHidden menus per role
SkillSkill declares role minimum
DataFile-system ACL per role
AgentSubagent filters every LLM call

Measured Impact ​

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

ScenarioWithout SubagentWith Subagent
Subject teacher sees only own classesManual filterAutomatic
Parent sees only own childManual exportAutomatic
Researcher sees anonymizedManual redactAutomatic
Auditor reads logs without writeManual exportAutomatic

Comparison with Alternatives ​

ApproachRole GranularityRBAC Layer
ChatGPTTenant-levelPer-tenant
Spark TeacherLimitedB-end
Taiwe 7-subagent7 roles + extensibleMulti-layer

How the Subagent Layer Works ​

  1. Login with credentials.
  2. Role context is set.
  3. Subagent filters every request.
  4. Pro Agent sees only role-permitted tools/data.
  5. Output is filtered again before delivery.

Q1: Can one user be multiple roles? ​

A: Yes — per project (a teacher's "parent" project uses Parent subagent).

Q2: Can I add a custom role? ​

A: Yes — School tier supports custom subagent definitions.

Q3: How is the role context set? ​

A: Per-project; user can switch roles per project.


References & Sources ​

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

About Taiwe ​

Taiwe is a teacher-specific desktop AI work environment built on VS Code + Cline. 7 identity subagents enforce RBAC at the routing layer.


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


Ready to try Taiwe? Visit taiwe.cn


TaiWe - 教师AI工作助手