Litho (deepwiki-rs): generate C4 architecture docs from code, ADRs and SQL schemas

techNmak · x · 2026-09-12

techNmak highlights Litho (deepwiki-rs), an open-source tool that reads your code, ADRs, PDFs, SQL schemas and API specs to generate architecture docs. It scans the codebase, extracts structure, comments and dependencies, then uses AI to infer component boundaries, responsibilities, relationships and data flow — outputting C4-style docs and Mermaid diagrams instead of a giant README. Notably, you can mount external knowledge sources (Markdown, PDF, SQL, YAML/JSON): an ADR next to its code, an OpenAPI spec feeding the API view, database files feeding the schema view, with Litho routing knowledge categories to different analysis agents. SQL projects are parsed separately, extracting tables, columns, keys, views and stored procedures.

Original post →

More from coding & agent

coding & agent channel →