Generated from source
Architecture, conventions, and flow walkthroughs written from your default branch, every claim linked to the file it came from.
Code documentation generator
Connect a repo. Moxie generates source-cited docs on the architecture, conventions, and flows already in your code, keeps them current on every merge, and serves the same context to AI agents over MCP.
What you get
Architecture, conventions, and flow walkthroughs written from your default branch, every claim linked to the file it came from.
How services, modules, and data flow fit together, with Mermaid diagrams for the paths that span files.
The patterns your repo already enforces - test runner, error contract, folder layout - pulled into an AGENTS-style reference.
Generated pages and your hand-written Markdown indexed together and searchable from a single place.
Every merge re-checks the affected pages for drift, thin coverage, and undocumented surface.
Cursor, Claude Code, and Codex pull the same conventions, docs, and open gaps before the first edit.
How it works
Install the app on the repos you want documented. Read access to code and metadata; nothing is written without a pull request.
Moxie plans an outline, then writes each page in its own pass against current source. Minutes for most repos.
Browse the workspace, search across generated and hand-written docs, and send a teammate a link.
Every merge re-checks the touched pages. Friday Cleanup batches fixes into one docs-only PR on Pro and Team.
What gets written
Moxie writes structural documentation - how the system is put together and why - not a generated entry for every function. These are the pages people open in their first week and keep open after.
How the codebase splits into services and modules, what each one owns, and where the boundaries sit.
The request path, the job pipeline, the auth handshake - traced through every file they touch, with a diagram.
The rules the code enforces in practice: naming, test commands, error handling, and where new code is expected to go.
Route handlers, exported helpers, and public types, each with its signature and where it is called from.
The install and run sequence, derived from the scripts and config that exist today rather than a year-old README.
What lives where, so search has somewhere to land and agents stop guessing at paths.
How generation works
Generation is not a single prompt over the whole repo. Moxie builds an outline sized to the codebase, then writes each page on its own so detail never gets spread thin - and grades its own output before you see it.
Moxie reads the default branch: source, config, existing Markdown, and commit history.
It decides which pages the codebase warrants and how they nest, scaled to the size of each subsystem.
Every page gets its own generation pass against the real files it describes.
Each section links the source path it came from, so a reader - or a reviewer - can check it.
A thin-docs check catches any page too light for the code it covers before it reaches the workspace.
After the first index
A one-time doc dump is stale within a sprint. What makes generated docs worth trusting is what keeps them true afterward.
Moxie re-indexes the surface a pull request touches when it merges, compares the new code against the pages that cite it, and records anything that no longer matches. Between Cleanup PRs every finding is already visible in the workspace and posted to the relevant GitHub pull request as an advisory check.
At a glance
Hosted doc platforms and symbol extractors solve different halves of the problem. Moxie generates the structural layer and couples it to the merge.
Hosted doc platforms
Symbol extractors
Moxie
Hosted doc platforms
Symbol extractors
Moxie
Hosted doc platforms
Symbol extractors
Moxie
Hosted doc platforms
Symbol extractors
Moxie
Hosted doc platforms
Symbol extractors
Moxie
| Hosted doc platforms | Symbol extractors | Moxie | |
|---|---|---|---|
| Source of content | You write every page by hand | Signatures and doc comments | Architecture and flows, cited to source |
| Keeps up with code | Only when someone edits it | Symbol list regenerates; prose does not | Re-checked on every merge |
| Reading level | Whatever the author had time for | One entry per symbol | Structural - how the system fits together |
| Undocumented code | Invisible | Listed but unexplained | Flagged as a gap |
| Feeds AI agents | Copy and paste | No | Same index, over MCP |
Get started
Connect a repository and the first index shows you the architecture, conventions, and flows already in your code - plus what is undocumented. 14-day trial, no charge today.