Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Rust
  3. Mega

Mega

Apache-2.0TypeScriptv0.1.0

An open-source Git-compatible monorepo engine built in Rust for managing petabyte-scale codebases and AI agent workflows.

Visit WebsiteGitHubGitHub
476 stars123 forks0 contributors

What is Mega?

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.

Target Audience

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.

Value Proposition

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.

Overview

Mega is an open-source implementation of Google Piper — a Git-compatible monorepo engine built for the AI Agent era.

Use Cases

Best For

  • Managing petabyte-scale codebases with Git-compatible monorepo infrastructure
  • Building AI-native engineering workflows where coding agents operate alongside human developers
  • Implementing trunk-based development with continuous integration for large-scale projects
  • Providing unified codebase context for AI agents to reduce hallucinations and improve decision-making
  • Enabling atomic cross-project changes in single commits across complex codebases
  • Mounting monorepo folders as local filesystems without checking out entire repositories using Scorpio FUSE

Not Ideal For

  • Small to medium-sized projects with isolated codebases that don't benefit from monorepo scaling
  • Teams not incorporating AI coding agents into their development workflow
  • Organizations with entrenched legacy build systems incompatible with Buck2
  • Projects requiring simple, out-of-the-box version control without additional infrastructure setup

Pros & Cons

Pros

Full Git Compatibility

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.

AI-Native Design

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.

Scalable Build Integration

Integrates Buck2 for declarative, reproducible builds, crucial for maintaining correctness in large, parallel monorepo environments, as detailed in the Buck2 Integration feature.

Efficient File Access

Uses Scorpio FUSE filesystem to mount monorepo folders locally without full checkouts, saving storage and improving access speed, as described in the Scorpio feature.

Cons

Complex Initial Setup

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.

Incomplete Feature Set

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.

Technology Lock-in

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.

Open Source Alternative To

Mega is an open-source alternative to the following products:

G
Google Piper

Google Piper is a text-to-speech system that generates natural-sounding speech from text, used in various Google products.

Frequently Asked Questions

Quick Stats

Stars476
Forks123
Contributors0
Open Issues0
Last commit1 day ago
CreatedSince 2023

Tags

#hacktoberfest#version-control#large-scale#build-system#ai-agents#fuse-filesystem#git#google#git-compatible#monorepo#rust#p2p

Built With

S
SQLite
R
Rust
F
FUSE

Links & Resources

Website

Included in

Rust56.6k
Auto-fetched 18 hours ago

Related Projects

clash-verge-revclash-verge-rev

A modern GUI client based on Tauri, designed to run in Windows, macOS and Linux for tailored proxy experience

Stars118,587
Forks8,631
Last commit21 hours ago
denodeno

A modern runtime for JavaScript and TypeScript.

Stars106,749
Forks6,062
Last commit19 hours ago
AlacrittyAlacritty

A cross-platform, OpenGL terminal emulator.

Stars64,079
Forks3,460
Last commit15 days ago
TypstTypst

A markup-based typesetting system that is powerful and easy to learn.

Stars53,571
Forks1,575
Last commit1 day ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub