# ag-ui-protocol/ag-ui SLOC report

> ag-ui-protocol/ag-ui: 396,689 code lines at commit 2330368a2a74, counted with tokei-15.0.0 on 2026-11-15. Saved result 9cb91c999b5921b3037835addfe3da10ae763fd762415f75b3b540862920a832.

ag-ui-protocol/ag-ui has 396,689 source lines of code out of 538,583 total lines across 2,939 files, counted with tokei from the main ref at commit 2330368a2a74 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving ag-ui-protocol/ag-ui to commit 2330368a2a74, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

ag-ui-protocol/ag-ui: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a large codebase by counted code lines. Code represents 73.7% of all lines, comments represent 16.5%, and the repository averages 135 code lines per file. TypeScript accounts for 28.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 611 | 145,363 | 111,964 | 23,882 | 9,517 |
| Python | 359 | 88,554 | 70,135 | 9,541 | 8,878 |
| JSON | 293 | 36,662 | 36,659 | 0 | 3 |
| YAML | 17 | 38,142 | 34,801 | 27 | 3,314 |
| Swift | 305 | 50,492 | 32,220 | 10,644 | 7,628 |
| Kotlin | 167 | 28,656 | 22,021 | 3,328 | 3,307 |
| C# | 249 | 30,744 | 21,910 | 5,291 | 3,543 |
| Go | 108 | 24,275 | 18,216 | 2,783 | 3,276 |
| Dart | 43 | 13,257 | 9,316 | 2,906 | 1,035 |
| TSX | 64 | 10,118 | 8,776 | 505 | 837 |
| Java | 107 | 7,287 | 4,108 | 2,294 | 885 |
| C++ | 21 | 5,172 | 4,063 | 276 | 833 |
| JavaScript | 33 | 4,453 | 3,889 | 350 | 214 |
| Ruby | 18 | 5,296 | 3,309 | 1,275 | 712 |
| Rust | 23 | 3,577 | 3,041 | 109 | 427 |
| Shell | 29 | 4,446 | 2,787 | 1,187 | 472 |
| XML | 62 | 3,041 | 2,514 | 259 | 268 |
| CSS | 15 | 2,081 | 1,717 | 111 | 253 |
| TOML | 40 | 1,884 | 1,448 | 231 | 205 |
| C Header | 22 | 2,093 | 1,286 | 384 | 423 |
| MSBuild | 46 | 1,111 | 874 | 44 | 193 |
| CMake | 9 | 718 | 472 | 134 | 112 |
| Batch | 8 | 573 | 440 | 4 | 129 |
| Protocol Buffers | 3 | 1,027 | 428 | 528 | 71 |
| PowerShell | 3 | 206 | 111 | 69 | 26 |
| Dockerfile | 3 | 129 | 52 | 53 | 24 |
| Xcode Config | 8 | 39 | 28 | 8 | 3 |
| Prolog | 2 | 33 | 26 | 0 | 7 |
| NuGet Config | 2 | 24 | 24 | 0 | 0 |
| Rakefile | 1 | 27 | 23 | 0 | 4 |
| HTML | 1 | 38 | 19 | 15 | 4 |
| INI | 1 | 14 | 12 | 2 | 0 |
| MDX | 33 | 1,218 | 0 | 901 | 317 |
| Markdown | 214 | 24,880 | 0 | 18,930 | 5,950 |
| Plain Text | 19 | 2,953 | 0 | 2,920 | 33 |

Top language: TypeScript 28.2%. Generated on November 15, 2026. Canonical report: https://octocounts.com/github/ag-ui-protocol/ag-ui/commit/2330368a2a74573902858867072406638ba3073d?reportId=9cb91c999b5921b3037835addfe3da10ae763fd762415f75b3b540862920a832&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/ag-ui-protocol/ag-ui/commit/2330368a2a74573902858867072406638ba3073d?reportId=9cb91c999b5921b3037835addfe3da10ae763fd762415f75b3b540862920a832&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 ag-ui-protocol/ag-ui have?

ag-ui-protocol/ag-ui has 396,689 lines of code, plus 88,991 comment lines and 52,903 blank lines, for 538,583 total lines at commit 2330368a2a74 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the ag-ui-protocol/ag-ui line count measured?

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

### What commit was counted for ag-ui-protocol/ag-ui?

This OctoCounts report was generated from main at commit 2330368a2a74 on November 15, 2026.

## Similar repository reports

- [jarmuine/claude-code](https://octocounts.com/github/jarmuine/claude-code) — TypeScript, 397,215 code lines
- [Gilbert09/talyn](https://octocounts.com/github/Gilbert09/talyn) — TypeScript, 392,751 code lines
- [withplumix/plumix](https://octocounts.com/github/withplumix/plumix) — TypeScript, 401,265 code lines
- [FlowiseAI/Flowise](https://octocounts.com/github/FlowiseAI/Flowise) — TypeScript, 391,608 code lines
- [tasferlabs/tasfer](https://octocounts.com/github/tasferlabs/tasfer) — TypeScript, 390,817 code lines
- [SableClient/sable-next](https://octocounts.com/github/SableClient/sable-next) — TypeScript, 403,165 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)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
