v5.6.7Gantry 5.6.7 has been released!Read announcement

Gantry 6 How we build it

Why Cartograph is the build engine for Gantry 6

We're building Gantry 6 with Cartograph, an agent-first library of reusable, tested code components. Here is why that matters.

The problem

AI-written code is hard to trust and costly to redo

AI agents write a lot of code, but it is often inconsistent and buggy, and the work is costly to do again. Each new project tends to start from scratch, so hardened logic is lost and quality varies from one site to the next.

How Cartograph fixes it

Tested components, checked before they land

Cartograph is Ben Teigland's agent-first library of reusable code widgets. Each widget includes source, tests, examples and metadata. Before it can be checked in, it must pass a validation pipeline. Agents then search and install widgets instead of rewriting the same logic from scratch. A CLI and an MCP server make that the default path for an agent.

  • Structure checks, so every widget is complete and self-contained.
  • Tests and a coverage floor, plus a runnable example.
  • A contamination scan for things like API keys and debug prints.
  • Versioning, so a widget can be reused with a clear history.

How Gantry 6 uses it

Planned: particles, kits and AI generators built from proven parts

We're building Gantry 6 with Cartograph. Planned: particles and kits will become tested Cartograph components, and Gantry 6's planned AI theme generator and particle generator will build from those proven parts first, writing new code only when nothing already fits.

Learn more about Cartograph

The Cartograph site explains the library, the validation pipeline and the CLI. The code is on GitHub.

Ben Teigland on why he built it (opens in a new tab)