Stop Making AI Agents Grind Through Huge Codebases — I Built a Deterministic Wiki Build System for Them A developer has released repowiki, an MIT-licensed, PyPI-published open-source tool that handles the deterministic orchestration of generating repository wikis so that coding agents such as Claude Code, Codex, and OpenCode can supply the intelligence. The CLI contains no model calls and only depends on pyyaml, offering commands to plan per-page tasks, atomically claim work for parallel agents, validate and auto-repair output, and package an offline single-file site. The author argues this split addresses the walls agents hit on large codebases and keeps wikis versioned, reviewable, and CI-gated inside the repo. Joining an unfamiliar codebase, what you want isn't more code — it's a wiki that explains how the thing actually works: which modules exist, where the boundaries are, how a request travels from entry to egress. The instinct for the past two years has been to throw a coding agent at it: "read this repo and write me docs." On small repos that works great. On big ones you hit three walls immediately: And if the goal isn't "read it once" but a long-lived wiki for the whole team , add a fourth problem: code changes daily, docs never catch up, and three months later nobody trusts them. This post introduces the open-source tool I built for this problem: repowiki on PyPI, MIT licensed . It contains zero intelligence of its own — no model APIs, no network calls. It does exactly one thing: take over the deterministic parts of "generate a wiki for this repo," so that any agent Claude Code, Codex, OpenCode, or you yourself can work on top of it safely, in parallel. The design trade-off in one line: The agent supplies the intelligence; repowiki supplies the reliability. I tried all three routes before writing any code. Each has its own lock: Cloud AI wiki services DeepWiki and friends : the prettiest output, but your code has to leave your machine — an instant veto for companies with confidentiality requirements. You pay per use, and the output format and hosting are a black box. A wiki that lives on someone else's cloud isn't in your git: no version history, no diff, nothing to discuss in code review. IDE / tool built-ins Qoder Repo Wiki, ZCode Repository Wiki, etc. : nice, but locked to one tool's ecosystem. Generation is billed in credits, and the wiki lives in the tool's own directory or platform — it can't enter CI, has no version history, and doesn't survive switching tools. There are size limits too Qoder caps at 10k files per project . Two teammates on different IDEs means two divergent wikis. Just letting an agent read the repo : that's the three walls above. Worse, every developer pays the comprehension cost again in every session — conclusions live in a conversation, can't be reviewed, can't be updated incrementally. After all three, I kept coming back to the same missing piece: a deterministic orchestration layer . Who splits the tasks, who claimed which one, is the output acceptable, what happens after a crash? None of that needs intelligence. It needs determinism. The intelligence is already solved — pick any agent CLI. Nobody was handling the reliability part, so I built that. repowiki is "a build system that generates a structured wiki for any repository." The pipeline is a set of deterministic CLI commands: plan scan the repo, split it into per-page tasks, write the task catalog next --claim a worker atomically claims the next task no fights under concurrency check programmatic validation; anchors/line numbers/H1/paths auto-repaired, only semantic defects get rejected finalize assemble metadata overview page, wiki-overview, llms.txt index site package a single-file offline site ~5 MB self-contained HTML The intelligent work — reading code, writing pages — belongs entirely to the driving agent. The CLI contains no model calls and its only runtime dependency is pyyaml . Three direct consequences of this split: