shihwesley/mercator-ai

4 stars · Last commit 2026-02-23

Merkle-enhanced codebase mapping for AI agents. O(1) change detection, zero-token staleness prevention.

README preview

# Mercator AI

Merkle-enhanced codebase mapping for AI agents. Maps codebases of any size using parallel subagents, with O(1) change detection and zero-token staleness prevention.

> Built upon [Bootoshi's Cartographer](https://github.com/kingbootoshi/cartographer), enhanced with Merkle tree change detection, post-commit hooks, and a map-first exploration protocol.

## Table of Contents

- [What's Different from Cartographer?](#whats-different-from-cartographer)
- [Install](#install)
- [Usage](#usage)
- [How It Works](#how-it-works)
- [Scanner CLI](#scanner-cli)
- [Map-First Exploration Protocol](#map-first-exploration-protocol)
- [Merkle Tree](#merkle-tree)
- [Output Structure](#output-structure)
- [Updating](#updating)
- [Attribution](#attribution)
- [License](#license)

View full repository on GitHub →