Litho is an AI-driven documentation generator built in Rust that automatically produces architecture documentation in C4 model format from source code analysis.
The tool solves the problem of documentation falling out of sync with evolving codebases by automatically analyzing source code and generating comprehensive, professionally structured documentation. It produces context diagrams, container diagrams, component diagrams, and code-level documentation without manual effort, keeping documentation synchronized with code changes as they occur.
Litho suits teams that need to maintain accurate technical documentation alongside active development and want to provide AI agents with well-structured codebase context. The tool is particularly valuable for projects where documentation drift is a persistent problem and where both human developers and intelligent agents need to understand system architecture. The README indicates the project has evolved into a broader successor tool, though Litho remains positioned as a focused C4 documentation generator.
The project maintains active development with passing continuous integration workflows. Documentation is provided in both English and Chinese, indicating sustained multilingual support. The tool is distributed as a Rust crate with ongoing availability through standard package management channels.