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

> ag-ui-protocol/ag-ui: 396,689 code lines at commit 79530a25f347, counted with tokei-15.0.0 on 2026-11-16. Saved result ee3663cb2df5cf22210a3e412c9638accc43224a315c46546e35884b8d4ede19.

ag-ui-protocol/ag-ui has 396,689 source lines of code out of 538,580 total lines across 2,939 files, counted with tokei from the main ref at commit 79530a25f347 on November 16, 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 79530a25f347, 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,366 | 111,964 | 23,885 | 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,874 | 0 | 18,931 | 5,943 |
| Plain Text | 19 | 2,953 | 0 | 2,920 | 33 |

Top language: TypeScript 28.2%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/ag-ui-protocol/ag-ui/commit/79530a25f3476d0abb93cb00761906fda757a2d5?reportId=ee3663cb2df5cf22210a3e412c9638accc43224a315c46546e35884b8d4ede19&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/79530a25f3476d0abb93cb00761906fda757a2d5?reportId=ee3663cb2df5cf22210a3e412c9638accc43224a315c46546e35884b8d4ede19&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,995 comment lines and 52,896 blank lines, for 538,580 total lines at commit 79530a25f347 on November 16, 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 79530a25f347, 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 79530a25f347 on November 16, 2026.

## Similar repository reports

- [withplumix/plumix](https://octocounts.com/github/withplumix/plumix) — TypeScript, 401,415 code lines
- [MemTensor/MemOS](https://octocounts.com/github/MemTensor/MemOS) — TypeScript, 409,004 code lines
- [Gilbert09/talyn](https://octocounts.com/github/Gilbert09/talyn) — TypeScript, 412,002 code lines
- [tanbiralam/claude-code](https://octocounts.com/github/tanbiralam/claude-code) — TypeScript, 397,665 code lines
- [jarmuine/claude-code](https://octocounts.com/github/jarmuine/claude-code) — TypeScript, 397,215 code lines
- [linear/linear](https://octocounts.com/github/linear/linear) — TypeScript, 414,482 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)
