Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Mega is an open-source implementation of Google Piper — a Git-compatible monorepo engine built for the AI Agent era.
| Date | Stars |
|---|---|
| 2026-07-31 | 495 |
| 2026-08-06 | 495 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
5.0
growth rate 0.00%/day
# Mega — Monorepo Infrastructure for the AI Agent Era Mega is an open-source implementation of [Google Piper](https://cacm.acm.org/magazines/2016/7/204032-why-google-stores-billions-of-lines-of-code-in-a-single-repository/fulltext) — 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 Mega works together with [**Libra**](https://github.com/web3infra-foundation/libra), our Rust-based, Git-compatible client with SQLite-backed storage, to provide a complete version control workflow where AI agents are tracked, attributable contributors: - **Mega** (server-side) — The centralized monorepo engine. Manages code at scale with full codebase context, trunk-based development, and fine-grained access control. Provides the global visibility that agents need for dependency analysis, impact assessment, and cross-project reasoning. - **Libra** (agent-side) — A lightweight, embeddable Git client optimized for programmatic access. Agents use Libra to clone, commit, and push with structured metadata and intent tracking — no shell-out to `git` required. Together, they enable a new paradigm: **from intent to merge, every agent action is versioned, attributed, and traceable.** ## Features ### Git Compatible Mega offers full Git protocol support with a monorepo. Clone or pull any folder in the monorepo into your local filesystem as a standard Git repository, and seamlessly push changes back. Both human developers and AI agents interact through the same familiar Git interface. ### Trunk-Based Development Large-scale codebases thrive on trunk-based development — a single source of truth, continuous integration, and short-lived branches. This model is especially critical for AI agents, which benefit from always operating against the latest, consistent state of the codebase. Learn more at [Trunk-Based Development](https://trunkbaseddevelopment.com/). ### Conventional Commits Mega supports [Conventional Commits](https://www.conventionalcommits.org/), enabling both humans and agents to produce structured, machine-readable commit messages that power automated changelogs, semantic versioning, and audit trails. ### Scorpio — FUSE Filesystem for Monorepo [Scorpio](https://github.com/web3infra-foundation/scorpiofs) is a FUSE filesystem that mounts any monorepo folder as a local filesystem. Developers and agents work with their codebase as if it were local, while Mega handles the scale underneath — no need to check out the entire repository. ### Buck2 Integration Mega integrates [Buck2](https://buck2.build/) as its default build system. Developed by Meta in Rust, Buck2 enables declarative, reproducible, and highly parallelized builds — essential for maintaining build correctness across a monorepo that both humans and agents contribute to simultaneously. ## Roadmap Mega is evolving toward deeper AI-native capabilities: - **IntentSpec** — A structured, machine-readable intent contract that drives agent task execution with security policies and provenance binding. - **Multi-Agent DAG Orchestration** — Pipeline architecture for coordin
Excerpt of 7,155 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:1012ebde644f4a1d, topic:ai-agents, desc:ai agent