# bojieli/ai-agent-book SLOC report

> As of 2026-09-13 (commit 902bfee81789), bojieli/ai-agent-book contains 9,344,220 total lines: 8,827,064 code, 313,804 comments, 203,352 blank, across 7,869 files in 22 languages (top: JSON 95.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

bojieli/ai-agent-book has 8,827,064 source lines of code out of 9,344,220 total lines across 7,869 files, counted from the main ref at commit 902bfee81789 by the OctoCounts tokei engine on 2026-09-13. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving bojieli/ai-agent-book to commit 902bfee81789, 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.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 94.5% of all lines, comments represent 3.4%, and the repository averages 1,122 code lines per file. JSON accounts for 95.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 2,492 | 8,390,265 | 8,390,259 | 0 | 6 |
| Python | 1,428 | 335,599 | 276,783 | 15,650 | 43,166 |
| SVG | 1,982 | 113,187 | 106,569 | 1,688 | 4,930 |
| YAML | 65 | 30,423 | 30,020 | 146 | 257 |
| JavaScript | 44 | 10,559 | 9,245 | 673 | 641 |
| TeX | 31 | 4,793 | 3,468 | 951 | 374 |
| CSS | 13 | 2,816 | 2,290 | 172 | 354 |
| Shell | 37 | 2,899 | 2,103 | 470 | 326 |
| TSX | 13 | 2,498 | 2,075 | 144 | 279 |
| Lua | 32 | 2,701 | 2,042 | 347 | 312 |
| HTML | 27 | 906 | 896 | 0 | 10 |
| TOML | 2 | 598 | 385 | 163 | 50 |

Top language (JSON 95.1%). Generated at 2026-09-13T12:25:36.013376413+00:00. Canonical report: https://octocounts.com/github/bojieli/ai-agent-book

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/bojieli/ai-agent-book/commit/902bfee8178910a9057869e9bcfdd2948799196b?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).

## Report FAQ

### How many lines of code does bojieli/ai-agent-book have?

bojieli/ai-agent-book has 9,344,220 total lines, including 8,827,064 code lines, 313,804 comment lines, and 203,352 blank lines.

### How was the bojieli/ai-agent-book line count measured?

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

### What commit was counted for bojieli/ai-agent-book?

This OctoCounts report was generated from main at commit 902bfee81789 on 2026-09-13T12:25:36.013376413+00:00.

## Similar repository reports

- [avifenesh/memra](https://octocounts.com/github/avifenesh/memra) — JSON, 7,702,231 code lines
- [monkeytypegame/monkeytype](https://octocounts.com/github/monkeytypegame/monkeytype) — JSON, 7,412,535 code lines
- [google/fhir](https://octocounts.com/github/google/fhir) — JSON, 6,037,330 code lines
- [teamchong/pxpipe](https://octocounts.com/github/teamchong/pxpipe) — JSON, 5,800,247 code lines
- [paperclipai/paperclip](https://octocounts.com/github/paperclipai/paperclip) — JSON, 5,440,213 code lines
- [meshery/meshery](https://octocounts.com/github/meshery/meshery) — JSON, 4,708,063 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)
- [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)
