As of 2026-09-07 (commit da125a5a2a88), bojieli/ai-agent-book contains 8,542,011 total lines: 8,039,109 code, 298,063 comments, 204,839 blank, across 7,812 files in 24 languages (top: JSON 93.9%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving bojieli/ai-agent-book to commit da125a5a2a88, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.
This is a very large codebase by counted code lines. Code represents 94.1% of all lines, comments represent 3.5%, and the repository averages 1,029 code lines per file. JSON accounts for 93.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JSON | 2266 | 7550548 | 7550540 | 0 | 8 |
| Python | 1865 | 422036 | 346758 | 19864 | 55414 |
| SVG | 1676 | 93391 | 89065 | 1180 | 3146 |
| YAML | 79 | 30922 | 30502 | 135 | 285 |
| JavaScript | 40 | 6444 | 5210 | 622 | 612 |
| TSX | 33 | 5253 | 4540 | 208 | 505 |
| TeX | 27 | 4148 | 2990 | 833 | 325 |
| Shell | 48 | 3328 | 2419 | 494 | 415 |
| Lua | 29 | 2435 | 1847 | 309 | 279 |
| CSS | 11 | 1918 | 1531 | 160 | 227 |
| HTML | 28 | 993 | 977 | 2 | 14 |
| TOML | 21 | 941 | 709 | 161 | 71 |
Top language (JSON 93.9%). Generated at 2026-09-07T18:22:53.952928828+00:00.
bojieli/ai-agent-book has 8,542,011 total lines, including 8,039,109 code lines, 298,063 comment lines, and 204,839 blank lines.
OctoCounts resolved the public GitHub repository to commit da125a5a2a88, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from da125a5a2a88889edbacbb8dd200a28e765b96da at commit da125a5a2a88 on 2026-09-07T18:22:53.952928828+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: