Skip to Main Content

ContextCompress

Built at Google I/O Hackathon · May 23, 2026 · San Francisco, CA

ContextCompress — Demo video

Context Compiler is a compiler layer for coding agents and managed agents that turns a raw code repository into a compact, graph-structured execution manifest. Instead of dumping an entire codebase into an LLM prompt, it parses the repo with Python ASTs, extracts functions/classes/imports/calls/routes/line ranges, and produces a compressed manifest that acts like a map of the codebase. Gemini then enriches the important nodes with semantic cards, routes the task to the exact relevant files, generates a targeted patch, applies it to a safe copied sandbox, and validates the result. It cut token use by 46% in our demo while keeping all important code information and structure intact

Team