As of 2026-07-20 (commit e3a5b8994b30), huggingface/smolagents contains 20,297 total lines: 15,869 code, 1,724 comments, 2,704 blank, across 63 files in 7 languages (top: Python 91.1%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving huggingface/smolagents to commit e3a5b8994b30, 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 medium-sized codebase by counted code lines. Code represents 78.2% of all lines, comments represent 8.5%, and the repository averages 252 code lines per file. Python accounts for 91.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 43 | 17603 | 14462 | 939 | 2202 |
| YAML | 3 | 812 | 708 | 19 | 85 |
| Jupyter Notebooks | 3 | 741 | 554 | 53 | 134 |
| TOML | 2 | 157 | 135 | 11 | 11 |
| Makefile | 1 | 17 | 10 | 3 | 4 |
| Markdown | 9 | 924 | 0 | 656 | 268 |
| Plain Text | 2 | 43 | 0 | 43 | 0 |
Top language (Python 91.1%). Generated at 2026-07-20T15:17:02.059075718+00:00.
huggingface/smolagents has 20,297 total lines, including 15,869 code lines, 1,724 comment lines, and 2,704 blank lines.
OctoCounts resolved the public GitHub repository to commit e3a5b8994b30, 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 main at commit e3a5b8994b30 on 2026-07-20T15:17:02.059075718+00:00.