Skip to content

The TagTeam AI Architecture

HomeArchitecture · the how

Source of truth · TagTeam Memory : /Archival/Architecture.md

The TagTeam AI Architecture

Lives at: TagTeam Memory : /Archival/Architecture.md Purpose: Operating manual. What's running, why, how the pieces fit. Read when you need to understand a piece, extend it, or debug it.

The platform

Naming conventions (doctrine)

Naming is enforced ecosystem-wide. A misnamed thing creates friction every time someone looks for it.

Rules

Type-specific conventions

Agents — proper noun, no "Agent" suffix.

Skills — gerund form for folder, plain noun for display title, no "Skill" suffix.

Sub-SkillsPrimary-Subtopic naming. Peer Skills with this naming for alphabetical grouping.

Memory Stores<Scope> Context pattern (or Clone Memory - <Name> for per-Human stores).

Memory paths — PascalCase + spaces, no dashes. 3A folders capitalized.

Versioning — semantic on artifacts. Old versions preserved.

Attribution footer — every artifact ends with: *Created by Matt Leitz · Contributors: Matt Leitz, Claude Code.*

The Agents

AgentRoleNotes
AI BuilderDesigns, builds, tests, refines, deploys, evolves AI systemsOnly Agent authorized to create Agents
AI ActivationWalks a new activator through setting up TagTeam for their CompanyReads the Collaboration doc
Context UpdaterPropagates decisions across Skills, Agents, Memory Stores at any scope (TagTeam, Company)Runs the Daily Protocol. Replaces former TagTeam Updater + role for Company Updater.
Clone BuilderBuilds + curates individual ClonesPeer Agent
Clone (one per Human)The Human's personal Agent. Knows them. Acts on their behalf. Self-maintains its own Context.Created by Clone Builder Agent during Activation

Hard rules:

The Skills

Primary cognition modules with frontmatter description (always-on triggering hint) and body (loaded on demand). SKILL.md body < 500 lines.

Primary Skills

DisplayFolderWhat it does
Alignaligning-outcomesOutcome lock
Context Reviewreviewing-contextInternal knowledge — what we already know
Researchextracting-intelligenceExternal investigation — general method
Planplanning-executionImplementation strategy
Promptwriting-promptsBuild prompts, system prompts, Skills
AI Testingtesting-ai-systemsPressure-test before deploy
Refinerefining-systemsTighten an existing artifact
AI Deploymentdeploying-ai-systemsPush live to Managed Agents
QAvalidating-readinessValidate outcome readiness
Self-Learnevolving-the-ecosystemThe 4 S's — Signal · Sorting · Scoring · Sending
Claude Updatestracking-platform-changesWeekly Anthropic platform changelog scan
Tag-In(to design + build)Recognize when a Clone (or Agent) should be dispatched; package the objective; invoke; confirm

Sub-Skills (peer Skills with Primary-Subtopic naming)

Sub-SkillPairs withContent
Research-AIResearchAI/Agent/Skill source palette + AI-specific failure modes + reserved-no-import vocabulary list

Sub-Skill body discipline: does not duplicate primary's content. Reinforces only the 1-3 most-critical points. Loads alongside primary.

Default progression

Align → Context Review → Research (+ Sub-Skill if domain warrants) → Plan → Build (Prompt) → AI Testing → Refine → AI Deployment → QA → Self-Learn. Adaptive and non-rigid — minimum effective path.

The Memory model (3A + scopes)

3A inside every scope

Scopes

ScopeMemory StoreWhat lives there
TagTeamTagTeam MemoryDoctrine + system's own state + working plan
Company (per company)Company MemoryCompany-specific Archival + live company state + desired outcomes
Clone (per person)Clone Memory - <Name>Personal scope — Human Profile, source synthesis, working state, desired outcomes

External data sources (Google Drive, etc.) live as connectors — referenced from the appropriate scope's /Active/ (e.g., Documents Live.md in Company Memory pulls from connected Drive).

Profile architecture

Two critical files in /Active/ of their respective scopes:

Both profiles are kept current via alignment checks in the Daily Protocol — the system regularly asks "does the profile still match what the sources are showing?" Divergence is reported for the Human's confirmation.

Source files (pattern repeats per source)

For each external source connected (Claude, Email, Documents, Meetings, etc.):

Same pattern at Company scope and Clone scope.

Standard folder layout (per scope)

README.md                              (orients anyone landing here)
/Archival/                             (validated truth — rare edits)
/Active/                               (current reality — live state)
/Adaptive/                             (proposed evolution — open issues)

No nested subfolders. All files flat under each 3A folder.

Team Structure (Company scope)

Team Structure.md in Company Memory /Active/ is the routing-and-gating brain of the Company, not a passive list. It defines:

When an issue surfaces at Company scope, Team Structure tells the system who to route it to. When data ingests, Team Structure tells the system who can see it. Solo Humans still have a team: themselves + their Clone.

The information flow

Three system actions (see Manifesto pillar 3):

Independent decisions, any combination. Items in Open Issues.md are items, decisions, questions — not "Records" (Run/Record/Report are verbs the system does).

Security framework

Default exclusions at Company level (never ingested without explicit opt-in):

Default exclusions at Clone level:

Per-source granular rules live in Security Protocol.md (Company Memory /Active/). Per-Clone gates live in the Human's approval-gate config.

Secrets never live in: chat history, Memory Stores, agent containers. Always host-side (~/.collab-creation.env chmod 600).

Alignment checks

The system regularly asks: does the current Profile still match the patterns showing up in source synthesis and live streams?

If divergence is detected → surface for the Human's confirmation, not silent update. Self-correcting via sign-off, not just additive.

Runs in the Daily Protocol cycle.

The orchestrator

Host-side Python (build_orchestrator.py) holds the API key and brokers calls:

Optimistic version locking: re-fetch current version, pass as field, retry on 409.

The cadence

Daily Protocol (00:00 Arizona by default — Human-editable time)

Executed by Context Updater. Sweeps signals → classifies (Run/Record/Report) → applies → produces Daily Digest → notifies the Human.

Scheduling: Interim via Claude Code local scheduled task. Migrates to Anthropic Cloud Routines when API surfaces.

Weekly Claude Updates scan

Monday morning. Surfaces platform changes for review.

Per-activation

AI Activation Agent runs the flow described in Collaboration.md. Per-Clone: Clone Builder.

Async dispatch (Tag-In)

A Human tells Claude what they want. Tag-In Skill recognizes the dispatch. Clone (a Managed Agent) takes the objective, executes, reports back.

The rules (doctrine)

The build flow

1. Need surfaced (human intent, Self-Learn signal, Claude Updates scan, Tag-In)
2. AI Builder: Align → Context Review → Research (+ Research-AI if AI domain) → Plan
3. New-skill diagnostic: primary Skill or Sub-Skill?
4. AI Builder: Prompt (build the SP / Skill / artifact)
5. AI Testing → Refine until inevitable
6. AI Deployment (push via orchestrator)
7. QA (validate outcome match)
8. Self-Learn (4 S's)
9. Context Updater Agent propagates cross-doc references in next Daily Protocol

What's NOT in this architecture (deliberately)

Created by Matt Leitz · Contributors: Matt Leitz, Claude Code.

The Memory Model — TagTeam's deepest doctrine

This section defines how memory works in TagTeam — across Memory Stores, across folders, and across time. The framing is anchored in a brain analogy because it produces the cleanest design. Important boundary: the brain analogy is documentation-only. It does not appear in day-to-day conversation with Humans, only when explaining how the system works on request. In conversation with Humans, always use the TagTeam terms (Active / Adaptive / Archival).

The three folders, by function (the canonical reference)

Every Memory Store has the same three-folder structure. Each folder has a precise function — not metaphor, function.

/Active — where the work gets done

/Adaptive — always watching, always processing

/Archival — durable confirmed truth

The two cross-folder cadences

Consolidation (Adaptive → Archival)

Signals that pattern-confirm get promoted from Adaptive to Archival. This happens:

The default cadence is daily, but live approval is also valid and necessary — during initial Clone build especially.

Rule: nothing lands in Archival without Human confirmation. Synthesizers draft to Adaptive (or to a pending location), surface for sign-off, and only on approval route to Archival.

Procedural sharpening (Agents + Skills)

Agents and Skills are the procedural-memory layer. They handle the actions the system does automatically. Self-Learn at the end of every cycle proposes refinements — these get authored back into Skill / Agent SPs through the standard AI Builder flow.

This is how the system gets better over time: every cycle teaches the procedural layer.

What this means for Synthesizers

See /Archival/Synthesizer Doctrine.md for the full three-stage gate (Gather → Draft → Confirm) shared by all 5 Synthesizers. Every Synthesizer respects this regardless of source.

What this means for the Daily Updater

See /Archival/Daily Updater Agent.md for the spec. The Daily Updater Agent is a foreground Agent (not a buried scheduled task) — Humans can invoke it directly, ask it to update, or review what it does. It runs the consolidation step + freshness checks + Daily Digest.