# bojieli/ai-agent-book SLOC report

> bojieli/ai-agent-book: 8,864,100 code lines at commit b789c97a8f3d, counted with tokei-14.0.0 on 2026-10-18. Saved result 4e3a29063de113e59a5cdf5041d1c019a1a442928ef0368243196839725784de.

bojieli/ai-agent-book has 8,864,100 source lines of code out of 9,390,370 total lines across 8,032 files, counted from the b789c97a8f3de5b405a6f6dfa8289208d679d0b8 ref at commit b789c97a8f3d by the OctoCounts tokei engine on 2026-10-18. 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 b789c97a8f3d, 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.4% of all lines, comments represent 3.4%, and the repository averages 1,104 code lines per file. JSON accounts for 94.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 2,512 | 8,401,084 | 8,401,078 | 0 | 6 |
| Python | 1,432 | 336,384 | 277,401 | 15,692 | 43,291 |
| SVG | 1,991 | 113,203 | 106,584 | 1,688 | 4,931 |
| YAML | 65 | 30,432 | 30,022 | 153 | 257 |
| JavaScript | 124 | 30,167 | 28,183 | 807 | 1,177 |
| CSS | 16 | 5,348 | 4,782 | 193 | 373 |
| TeX | 31 | 4,793 | 3,468 | 951 | 374 |
| Astro | 11 | 2,468 | 2,426 | 11 | 31 |
| Shell | 37 | 2,899 | 2,103 | 470 | 326 |
| TSX | 13 | 2,498 | 2,075 | 144 | 279 |
| Lua | 32 | 2,701 | 2,042 | 347 | 312 |
| TypeScript | 15 | 1,801 | 1,731 | 30 | 40 |
| HTML | 27 | 906 | 896 | 0 | 10 |
| TOML | 2 | 598 | 385 | 163 | 50 |
| JSX | 9 | 430 | 346 | 45 | 39 |
| Dockerfile | 8 | 500 | 322 | 101 | 77 |
| Jinja2 | 4 | 198 | 179 | 9 | 10 |
| SQL | 3 | 102 | 51 | 39 | 12 |
| INI | 3 | 12 | 12 | 0 | 0 |
| VB6/VBA | 1 | 13 | 12 | 0 | 1 |
| Autoconf | 1 | 2 | 2 | 0 | 0 |
| Markdown | 1,391 | 412,025 | 0 | 264,825 | 147,200 |
| Plain Text | 304 | 41,806 | 0 | 33,087 | 8,719 |

Top language (JSON 94.8%). Generated at 2026-10-18T07:27:58.169409125Z. Canonical report: https://octocounts.com/github/bojieli/ai-agent-book/commit/b789c97a8f3de5b405a6f6dfa8289208d679d0b8?reportId=4e3a29063de113e59a5cdf5041d1c019a1a442928ef0368243196839725784de&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/bojieli/ai-agent-book/commit/b789c97a8f3de5b405a6f6dfa8289208d679d0b8?reportId=4e3a29063de113e59a5cdf5041d1c019a1a442928ef0368243196839725784de&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

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

bojieli/ai-agent-book has 9,390,370 total lines, including 8,864,100 code lines, 318,755 comment lines, and 207,515 blank lines.

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

OctoCounts resolved the public GitHub repository to commit b789c97a8f3d, 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 b789c97a8f3de5b405a6f6dfa8289208d679d0b8 at commit b789c97a8f3d on 2026-10-18T07:27:58.169409125Z.

## Similar repository reports

- [foundryvtt/pf2e](https://octocounts.com/github/foundryvtt/pf2e) — JSON, 8,959,604 code lines
- [botiverse/raft-source](https://octocounts.com/github/botiverse/raft-source) — JSON, 8,335,219 code lines
- [monkeytypegame/monkeytype](https://octocounts.com/github/monkeytypegame/monkeytype) — JSON, 7,504,910 code lines
- [TheWeion/pf2e](https://octocounts.com/github/TheWeion/pf2e) — JSON, 6,511,968 code lines
- [google/fhir](https://octocounts.com/github/google/fhir) — JSON, 6,037,400 code lines
- [teamchong/pxpipe](https://octocounts.com/github/teamchong/pxpipe) — JSON, 5,818,266 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)
