Context Compilation Trilogy
Enterprise AI needs a full context stack, not just retrieval and longer windows. This research program starts with a foundational paper that introduces Context Compilation Theory, then continues with a three-paper trilogy that splits the stack into representation and semantics, runtime and lifecycle, and optimization and efficiency. Companion code and manuscripts live in the MemoryOS GitHub repo.
PDFs and DOIs on Zenodo · manuscripts and code on GitHub.
Step 1
Start with the foundational paper
Use the precursor theory paper for motivation, definitions, and the original framing of Context Compilation before moving into the trilogy.
Step 2
Read the trilogy in order
Paper 1: representation and semantics
Paper 2: runtime and lifecycle
Paper 3: optimization and efficiency
The detailed paper cards below are the canonical place to open the three trilogy papers, Zenodo records, and manuscript links.
Precursor theory paper
Toward a Theory of Context Compilation for Human-AI SystemsPrecursor theory paper. Start here for motivation and definitions, then read the trilogy hub for the full IR -> runtime -> quantization stack.
Companion repo
Manuscripts and code live in MemoryOS on the context-compilation-paper branch.
Trilogy papers
Read each paper directly on its research page, jump to Zenodo for the stable DOI artifact, or open the GitHub-readable manuscript in the companion repo.