Skip to content

Research program

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. The MemoryOS project record connects the research to the reference implementation.

Reading order

Theory, then the three-paper trilogy.

Start with the foundational paper for motivation and definitions. Then read Paper 1 for the IR and compiler formalization, followed by Papers 2 and 3 for runtime and precision control.

  1. 01
  2. 02

    Representation

    Context IR and Compiler Passes for Enterprise AI

    Published preprint

  3. 03
  4. 04

Artifacts

Stable records, readable manuscripts.

PDFs and citation metadata are deposited on Zenodo. Manuscripts and companion code live in the MemoryOS repository.