Open-source Enola gives coding agents a codebase structure graph via MCP to catch architectural debt

yellow-llama1 · reddit · 2026-09-23

The author of Enola, an open-source tool, tackles a common failure mode of coding agents: changes that pass tests while introducing dependency cycles, broken layer boundaries, and unexpected dependencies.

Enola builds a deterministic graph of the codebase and exposes it to agents via MCP. The graph serves two purposes: giving the agent architectural context while it works, and diffing the structure before and after a change against defined rules to catch violations. The author is soliciting how others handle codebase context and architectural checks in their agent harnesses.

Original post →

More from coding & agent

coding & agent channel →