Skip to content

Architecture Diagrams

Visual reference for BaseCoat's architecture, memory model, and process flows.

All diagrams are authored in Excalidraw — an open-source whiteboarding tool. Open any .excalidraw file directly at aka.ms/excalidraw (drag-and-drop or use File → Open).


Architecture

Diagram Description
execution-hierarchy.excalidraw 5-layer execution stack from user intent to output
multi-agent-orchestration.excalidraw LangGraph StateGraph fan-out/fan-in pattern
asset-taxonomy.excalidraw Four primitive asset types: agents, skills, instructions, prompts

Memory Model

Diagram Description
memory-lookup-hierarchy.excalidraw L0–L4 memory layer lookup and retrieval cost
two-tier-memory-model.excalidraw Personal vs shared memory tiers
memory-promotion-flow.excalidraw Pattern promotion and demotion ladder

Process Flows

Diagram Description
intent-routing.excalidraw Fast-path vs deep-reasoning routing decision
turn-budget-protocol.excalidraw Token budget enforcement and graceful degradation
agentic-workflow-lifecycle.excalidraw PR trigger → filter → agent → buffer → safe output
bootstrap-flow.excalidraw 4-phase bootstrap script: repo, memory, secrets, validation

Viewing diagrams

Excalidraw files open natively in VS Code with the Excalidraw extension, or in the browser at aka.ms/excalidraw. To embed a diagram in a doc, export it as SVG from Excalidraw and place the file in docs/diagrams/, then reference it with standard Markdown image syntax.

Inline architecture diagrams

The Architecture Overview page contains live Mermaid diagrams that render directly in the docs site — no download required.