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 678070abf154 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-14 (commit 678070abf154), microsoft/agent-governance-toolkit contains 621,229 total lines: 480,331 code, 65,475 comments, 75,423 blank, across 3,081 files in 31 languages (top language: Python 54.5%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving microsoft/agent-governance-toolkit to commit 678070abf154, 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 |
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 678070abf154 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 678070abf154, 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 678070abf154 on November 14, 2026.
Play the growth animation for microsoft/agent-governance-toolkit on this page — 480,331 code lines across 31 languages, counted by tokei.