Back to directory

Litho

An AI-driven documentation generator, written in Rust, that analyzes a codebase and automatically produces C4-model architecture documentation, including context, container and component diagrams, kept in sync with the code.

Litho

Litho (also published as deepwiki-rs) analyzes a source repository and generates architecture documentation in the C4 model format: context diagrams, container diagrams, component diagrams and code-level documentation, aimed at replacing documentation that is written by hand and tends to fall out of date.

The project has since introduced a successor called Terrain, built on top of Litho, that keeps a knowledge base of the codebase synchronized with the code over time, extends language and framework support, and lets agents such as Claude Code, Codex and DeepSeek Harness read that knowledge base through the Agent Context Protocol, with a built-in book-style viewer. Litho itself continues as the underlying, narrower C4 documentation generator.

More in Documentation tools

See all 47
  • Company as Code

    github.com

    An open standard for writing down how a company works, as plain markdown files in git with a small typed header connecting goals, roles, processes and policies into a graph that a command-line tool validates like code.

  • jev-docs

    github.com

    An unofficial, community-maintained archive that tracks TypeSafe's official Jev documentation, SDKs, agent skill and known model limitations over time, recording sources, hashes and timestamps rather than mirroring the hosted pages wholesale.

  • jam-docs

    docs.jamcha.in

    An unofficial documentation site and knowledge base for developers building on JAM, the Polkadot ecosystem's next-generation protocol.