Repository navigation
Litho (deepwiki-rs) v0.9.12
A first public release of deepwiki-rs: an automated, CLI-first system for generating high‑fidelity architecture documentation from source code using multi‑agent pipelines and LLM-assisted semantic analysis.
Document reference: Litho Overview
Highlights
- Automated end-to-end pipeline that turns code, configs and docs into structured artifacts (System Context, Domain Modules, Workflows, Component diagrams) and Markdown outputs.
- Rust-native CLI tool focusing on reproducible, auditable document generation with strong caching to reduce LLM cost.
- Multi-agent, pluginable architecture for language processors and LLM providers — designed for extensibility and CI/CD integration.
- Supports 10+ mainstream programming languages via a pluginized
LanguageProcessorapproach.
Key Features
- Automatic generation of System Context, Domain Module, Workflow, Container and Component views in Markdown + Mermaid.
- Multi-language static analysis (Rust, Python, Java, JavaScript/TypeScript, Vue, React, Svelte, Kotlin, ...).
- LLM integration with provider abstraction and ReAct multi‑round reasoning; model failover and token cost monitoring.
- Prompt-hash based persistent caching to avoid repeated LLM calls and lower costs.
- Shared
Memorycontext for agent-to-agent data passing, producing reproducible outputs and enabling auditability. - Outputs are plain Markdown + Mermaid for easy version control and integration into documentation sites (MkDocs, Docusaurus, etc).
What's included in this release
- CLI entry and configuration:
cli.rs,config.rs - Memory & foundation:
memory/,utils/ - Preprocessing:
preprocess/(file scanning, language parsing, code analyzers) - Research / analysis agents:
research/(SystemContextResearcher, DomainModulesDetector, etc.) - Document composition:
compose/(Overview, Architecture, Workflow, KeyModules editors) - Output plumbing:
outlet/(DiskOutlet, SummaryGenerator) - LLM client abstraction:
llm/client/ - Prompt cache:
cache/
Supported integrations
- LLM providers (via abstraction): Moonshot, Mistral, OpenAI/Anthropic/Gemini-style providers can be configured through
llm/client/. - Outputs are plain Markdown + Mermaid diagrams, suitable for Git-based versioning and downstream documentation pipelines (CI/CD, static site generators).