Maiao is a command line tool that implements Gerrit-style code review workflows on top of modern code hosts. It creates one pull or merge request per commit and automatically stacks them with the right dependencies, according to the project's GitHub repository.

The tool works across GitHub, GitLab, Gitea, Forgejo, Codeberg and Bitbucket Cloud, auto-detecting which provider a repository uses from its remote URL. It tracks each change with a Gerrit-style Change-ID commit hook, handles fixups with git commit --fixup, and automatically rebases the remaining stack once a pull request merges.

The project is a community fork; the repository notes the original version, maintained by Adevinta, is no longer actively developed. Maiao is released under the MIT license.

Stacked, single-purpose pull requests are a workflow large engineering orgs have used for years to keep reviews small, but the tooling has mostly been custom or tied to a single host. A provider-agnostic, open source version lowers the bar for smaller teams to adopt the same discipline.

For teams stuck reviewing sprawling pull requests, Maiao is a concrete way to force smaller, more reviewable units without switching code hosts.