What is the Code Genome Project
The world's code has a genome, and this is where it's sequenced, stored, and navigable.
Enterprise software consists of up to 90% third-party and open source components, stitched together in different ways for business functionality. This software is the basis of the Code Genome Project.
The goal: understand codebases broadly, across open source and enterprise, and share deterministic recipes that advance them. It's all open to developers and their agents alike through code search and a remote MCP server.
Sequencing
Sequencing the code genome
Each repository is compiled into a Lossless Semantic Tree: the types, methods, and relationships that define how code behaves. Compiler-accurate, lossless, polyglot*. Each tree holds every signal the compiler sees in a single repository; the project lines them up side by side, so the entire open source ecosystem reads as one corpus. It's the substrate everything else is built on.
Searching
Searching the code genome
Explore the sequenced code of thousands of open source repositories. Search the way a compiler sees code — by type, symbol, and call site, not just strings. Find how any API, annotation, or pattern appears across thousands of repositories in milliseconds. Powered by Moderne's Trigrep search, the code genome is open to explore.
Search the corpus →
Splicing
Splicing the code genome
OpenRewrite recipes rewrite the genome: 10,000+ deterministic programs that transform code precisely and repeatably — whether you're migrating a framework, patching a CVE, or enforcing a standard, the same way every time. Recipes are stored in the project and built to extend, so developers and their agents can adapt a recipe or write a new one.
Browse recipes →
Surfacing to AI
Surfacing the code genome to AI
A remote MCP server opens the Code Genome to coding agents. They can find any method or type, see how it's really used, and compare versions — all resolved through the type system, not text. Connect in one click.
Connect your agent →
* Today the Code Genome Project sequences the Java ecosystem; it's expanding to the full breadth of languages the LST supports, including Python, C#, JavaScript/TypeScript, Scala, and more.