microsoft/agent-governance-toolkit has 480,331 source lines of code out of 621,229 total lines across 3,081 files, counted with tokei from the main ref at commit 5bcf1daa98f1 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
microsoft/agent-governance-toolkit: 480,331 code lines at commit 5bcf1daa98f1, counted with tokei-15.0.0 on 2026-11-16. Saved result 8b50d778286c213b42066ddeb1aa19eca88d7569eb7f41f707de457e91dfa4c7.
OctoCounts produced this report by resolving microsoft/agent-governance-toolkit to commit 5bcf1daa98f1, 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.
This is a large codebase by counted code lines. Code represents 77.3% of all lines, comments represent 10.5%, and the repository averages 156 code lines per file. Python accounts for 54.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 1201 | 322872 | 261970 | 16985 | 43917 |
| JSON | 191 | 57369 | 57369 | 0 | 0 |
| TypeScript | 211 | 52813 | 42562 | 5607 | 4644 |
| Rust | 89 | 34393 | 30750 | 711 | 2932 |
| C# | 97 | 23581 | 17067 | 3506 | 3008 |
| JavaScript | 64 | 17438 | 15046 | 686 | 1706 |
| Go | 65 | 16215 | 13409 | 1088 | 1718 |
| YAML | 275 | 16272 | 13406 | 1841 | 1025 |
| Open Policy Agent | 131 | 14515 | 10606 | 1601 | 2308 |
| TOML | 76 | 4086 | 3356 | 323 | 407 |
| TSX | 49 | 4187 | 3249 | 557 | 381 |
| Jupyter Notebooks | 18 | 3470 | 2053 | 852 | 565 |
| Kotlin | 13 | 2559 | 1900 | 305 | 354 |
| Shell | 26 | 2389 | 1875 | 267 | 247 |
| HCL | 6 | 1340 | 1055 | 77 | 208 |
| PowerShell | 11 | 1121 | 900 | 118 | 103 |
| CSS | 3 | 745 | 611 | 24 | 110 |
| MSBuild | 21 | 505 | 446 | 8 | 51 |
| Dockerfile | 19 | 832 | 383 | 255 | 194 |
| SVG | 6 | 489 | 365 | 66 | 58 |
| Protocol Buffers | 2 | 785 | 360 | 247 | 178 |
| Bicep | 3 | 455 | 339 | 73 | 43 |
| XML | 4 | 484 | 329 | 105 | 50 |
| Visual Studio Solution | 2 | 301 | 299 | 0 | 2 |
| Pan | 4 | 230 | 209 | 0 | 21 |
| HTML | 5 | 227 | 203 | 7 | 17 |
| BASH | 1 | 204 | 154 | 18 | 32 |
| Autoconf | 4 | 45 | 38 | 4 | 3 |
| Batch | 4 | 25 | 22 | 0 | 3 |
| Markdown | 406 | 40696 | 0 | 29630 | 11066 |
| Plain Text | 74 | 586 | 0 | 514 | 72 |
Top language: Python 54.5%. Generated on .
microsoft/agent-governance-toolkit: 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.
microsoft/agent-governance-toolkit has 480,331 lines of code, plus 65,475 comment lines and 75,423 blank lines, for 621,229 total lines at commit 5bcf1daa98f1 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 5bcf1daa98f1, 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 5bcf1daa98f1 on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for microsoft/agent-governance-toolkit on this page — 480,331 code lines across 31 languages, counted by tokei.