# HKUDS/RAG-Anything SLOC report

> As of 2026-11-23 (commit 73465392dc06), HKUDS/RAG-Anything contains 29,914 total lines: 23,762 code, 2,474 comments, 3,678 blank, across 60 files in 8 languages (top language: Python 99.1%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

Source: [HKUDS/RAG-Anything on GitHub](https://github.com/HKUDS/RAG-Anything) · counted commit [73465392dc06](https://github.com/HKUDS/RAG-Anything/tree/73465392dc06bf982c7369b8ac467dc3c16bba47)

HKUDS/RAG-Anything has 23,762 source lines of code out of 29,914 total lines across 60 files, counted with tokei from the main ref at commit 73465392dc06 on November 23, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving HKUDS/RAG-Anything to commit 73465392dc06, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

HKUDS/RAG-Anything: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 79.4% of all lines, comments represent 8.3%, and the repository averages 396 code lines per file. Python accounts for 99.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 51 | 28,224 | 23,557 | 1,435 | 3,232 |
| TOML | 1 | 107 | 90 | 8 | 9 |
| Dockerfile | 1 | 91 | 57 | 20 | 14 |
| YAML | 1 | 37 | 32 | 4 | 1 |
| Shell | 1 | 21 | 15 | 3 | 3 |
| Autoconf | 1 | 11 | 11 | 0 | 0 |
| Markdown | 3 | 1,397 | 0 | 978 | 419 |
| Plain Text | 1 | 26 | 0 | 26 | 0 |

Top language: Python 99.1%. Generated on November 23, 2026. Canonical report: https://octocounts.com/github/HKUDS/RAG-Anything

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/HKUDS/RAG-Anything/commit/73465392dc06bf982c7369b8ac467dc3c16bba47?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=faf1ee3d98d70d06a6b726aefd2e6b98de29b9d4cf8cfc6a154492659d43554a).

## Report FAQ

### How many lines of code does HKUDS/RAG-Anything have?

HKUDS/RAG-Anything has 23,762 lines of code, plus 2,474 comment lines and 3,678 blank lines, for 29,914 total lines at commit 73465392dc06 on November 23, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the HKUDS/RAG-Anything line count measured?

OctoCounts resolved the public GitHub repository to commit 73465392dc06, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for HKUDS/RAG-Anything?

This OctoCounts report was generated from main at commit 73465392dc06 on November 23, 2026.

## Similar repository reports

- [yutori-ai/yutori-sdk-python](https://octocounts.com/github/yutori-ai/yutori-sdk-python) — Python, 23,749 code lines
- [microsoft/quicksand](https://octocounts.com/github/microsoft/quicksand) — Python, 23,804 code lines
- [alephpiece/MV2DFusion](https://octocounts.com/github/alephpiece/MV2DFusion) — Python, 23,600 code lines
- [3b1b/manim](https://octocounts.com/github/3b1b/manim) — Python, 23,952 code lines
- [dotslashsimran/simcraft](https://octocounts.com/github/dotslashsimran/simcraft) — Python, 23,991 code lines
- [makeentropy/JMKstudio-Project-0-pool-0-DataSet-0](https://octocounts.com/github/makeentropy/JMKstudio-Project-0-pool-0-DataSet-0) — Python, 24,021 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
