Mega, Monorepo Infrastructure for the AI Agent Era by web3infra-foundation

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

gitmonoreporustp2pp2p-githacktoberfestdecentralisedbuck2googlepiperagentagent-infrastructure
Verdict 74/100 health $4.13/mo cheapest, hetzner 2/5 setup difficulty Last release 2 months ago

Self-host Mega, Monorepo Infrastructure for the AI Agent Era on hetzner CAX11 for $4.13/mo.

Health score
74 /100
6-dim composite
Self-hosts from
$4.13 /mo
hetzner · CAX11
Difficulty
2 /5
Docker + read README
GitHub stars
470
124 forks

About Mega, Monorepo Infrastructure for the AI Agent Era

From the project's README at github.com/web3infra-foundation/mega. Lightly cleaned for readability; for the full source see the upstream repo.

Mega is an open-source implementation of Google Piper, a Git-compatible monorepo engine built for AI-native engineering workflows. Written entirely in Rust, Mega is designed to manage petabyte-scale codebases while serving as the infrastructure backbone for AI coding agents. Why Mega?

AI coding agents are becoming first-class participants in software engineering. But today's version control systems were designed for human developers working in isolated branches, they lack the unified context, structured metadata, and programmatic interfaces that agents need to operate reliably at scale.

Monorepos solve the context problem. When an agent can see the entire codebase, dependencies, downstream consumers, build targets, and test coverage, it makes better decisions, produces fewer hallucinations, and delivers atomic cross-project changes in a single commit.

Mega brings Google-scale monorepo infrastructure to the open-source world, purpose-built for the agentic future. Mega + Libra: Version Control for Agents

Health score breakdown

6-dimension composite. See methodology for formula and weights.

activity
88
maturity
86
community
96
security
85
sustainability
65
adoption
25

Adoption signals

Real-world usage data, pulled from each registry. The bigger the numbers, the more battle-tested the project.

SignalValueSource
GitHub stars 470 github.com/web3infra-foundation/mega
GitHub forks 124 github.com/web3infra-foundation/mega
NPM downloads (last month) 382 mega

Release & maintenance

Is this project actively maintained, or about to die? Check the recency of last commit and last release.

Project age3.2 yearssince Mar 2023
Last commit2 days agoMay 5, 2026
Releases shipped16last: 2 months ago
Security policySECURITY.mddeclared by maintainers

Self-hosting cost across providers

Detected requirements: 4GB RAM, 40GB disk minimum. Cheapest plan per provider that meets the requirement.

ProviderPlanSpecsMonthly
hetzner CAX11 2c · 4GB · 40GB $4.13 USD Deploy →
vultr VC2 1c · 1GB · 25GB $5 USD Deploy →
linode Nanode 1GB 1c · 1GB · 25GB $5.12 USD Deploy →
digitalocean Basic Regular 1GB 1c · 1GB · 25GB $6 USD Deploy →

What people say on Hacker News

Ready to self-host Mega, Monorepo Infrastructure for the AI Agent Era?

Spin up a hetzner CAX11 (4GB RAM, 40GB disk) for $4.13/mo and follow the project's official install docs.

Data last refreshed May 7, 2026.

Similar open-source projects

Projects in our directory that replace the same SaaS or share topics with Mega, Monorepo Infrastructure for the AI Agent Era.

Frequently asked questions

Last verified . Data refreshes every 30 minutes.