An open-source Git-compatible monorepo engine built in Rust for managing petabyte-scale codebases and AI agent workflows.
Mega is an open-source implementation of Google Piper, designed as a Git-compatible monorepo engine for managing petabyte-scale codebases. It provides the unified context, structured metadata, and programmatic interfaces that AI coding agents need to operate reliably at scale, while remaining fully compatible with Git workflows for human developers.
Engineering teams and organizations building large-scale, AI-native software development workflows where AI agents are first-class participants alongside human developers. It's particularly suited for projects requiring Google-scale monorepo infrastructure in open-source environments.
Developers choose Mega because it brings Google-scale monorepo infrastructure to open-source projects, purpose-built for the AI agent era with features like trunk-based development optimized for agents, full Git compatibility, and integration with modern build systems like Buck2. Its unique selling point is enabling versioned, attributable, and traceable agent actions from intent to merge.
Mega is an open-source implementation of Google Piper — a Git-compatible monorepo engine built for the AI Agent era.
Supports standard Git protocols for cloning, pulling, and pushing, ensuring seamless integration with existing developer tools and workflows, as highlighted in the Git Compatibility feature.
Optimized for AI agents with trunk-based development and structured metadata, reducing hallucinations and enabling traceable agent actions from intent to merge, as per the philosophy section.
Integrates Buck2 for declarative, reproducible builds, crucial for maintaining correctness in large, parallel monorepo environments, as detailed in the Buck2 Integration feature.
Uses Scorpio FUSE filesystem to mount monorepo folders locally without full checkouts, saving storage and improving access speed, as described in the Scorpio feature.
Requires installation of Buck2, cargo-buckal, and FUSE filesystem configuration, which can be daunting for teams without prior monorepo infrastructure experience, as seen in the Quick Start and Contributing sections.
Core AI-native features like IntentSpec and multi-agent DAG orchestration are listed in the roadmap but not yet implemented, limiting current capabilities for advanced agent workflows.
Heavy reliance on Buck2 and Libra may constrain flexibility, making it difficult to switch to alternative build systems or version control clients without significant rework.
Mega is an open-source alternative to the following products:
A modern GUI client based on Tauri, designed to run in Windows, macOS and Linux for tailored proxy experience
A modern runtime for JavaScript and TypeScript.
A cross-platform, OpenGL terminal emulator.
A markup-based typesetting system that is powerful and easy to learn.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.