# ContextCompress

- **Event:** [Google I/O Hackathon](https://cerebralvalley.ai/e/google-io-hackathon)
- **When:** Sat, May 23 at 9:00 AM – 10:00 PM (PDT)
- **Where:** Shack15, San Francisco, CA
- **Team:** [Dennis Dmitry Vengerov](https://cerebralvalley.ai/u/Dennisvengerov)
- **GitHub:** https://github.com/dennisvengerov/dennis-cvhackathon
- **Demo video:** https://youtu.be/lgOPUApn88k
- **Gallery:** https://cerebralvalley.ai/e/google-io-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/google-io-hackathon/hackathon/gallery/147

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

---

Markdown version of https://cerebralvalley.ai/e/google-io-hackathon/hackathon/gallery/147. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
