# bojieli/ai-agent-book SLOC report

> As of 2026-09-30 (commit dbc046eb896a), bojieli/ai-agent-book contains 9,390,393 total lines: 8,864,123 code, 318,755 comments, 207,515 blank, across 8,032 files in 23 languages (top: JSON 94.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

bojieli/ai-agent-book has 8,864,123 source lines of code out of 9,390,393 total lines across 8,032 files, counted from the main ref at commit dbc046eb896a by the OctoCounts tokei engine on 2026-09-30. 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 dbc046eb896a, 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,107 | 8,401,101 | 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 |

Top language (JSON 94.8%). Generated at 2026-09-30T20:02:14.391073283+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/dbc046eb896ac4e39aa19c7774c8bf49583b89a6?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,390,393 total lines, including 8,864,123 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 dbc046eb896a, 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 dbc046eb896a on 2026-09-30T20:02:14.391073283+00:00.

## Similar repository reports

- [monkeytypegame/monkeytype](https://octocounts.com/github/monkeytypegame/monkeytype) — JSON, 7,504,423 code lines
- [botiverse/raft-source](https://octocounts.com/github/botiverse/raft-source) — JSON, 6,255,888 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,806,794 code lines
- [avifenesh/memra](https://octocounts.com/github/avifenesh/memra) — JSON, 14,758,115 code lines
- [lobehub/lobehub](https://octocounts.com/github/lobehub/lobehub) — JSON, 5,116,856 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)
