architecture.md
docs/architecture.md
Architecture
<!-- translations:start -->
한국어 · 中文 · 日本語 · Русский · Español · Français · Deutsch
<!-- translations:end --> Tesserae is a context engine. It reconstructs a self-improving knowledge base from your project and hands it to agents as ready-to-use context. It runs on three pillars: (1) session monitoring — watch live agent/work sessions and capture findings as they happen; (2) autonomous, proactive knowledge ingestion — a pipeline + supervisor loop that pulls in and re-extracts knowledge continuously, improving the base rather than waiting to be told; (3) on-demand docs/context — user-requested artifacts compiled from that same base. The typed graph, the markdown vault, and the static site are projections of the knowledge base; the engine is the loop that keeps them fresh and feeds agents.
Underneath, Tesserae turns a directory of source material into a controlled, typed knowledge graph and projects that graph through a durable markdown wiki layer into a static, AI-friendly website. The April 2026 redesign reorganised the projection side around a Karpathy three-layer model: raw evidence stays raw, a typed graph governs ontology, and a markdown wiki layer sits between the graph and any rendered output. The static site is a renderer of that wiki layer rather than a direct dump of the graph, with the controlled ontology in