microsoft/agent-governance-toolkit

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.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
Python12013228722619701698543917
JSON191573695736900
TypeScript211528134256256074644
Rust8934393307507112932
C#97235811706735063008
JavaScript6417438150466861706
Go65162151340910881718
YAML275162721340618411025
Open Policy Agent131145151060616012308
TOML7640863356323407
TSX4941873249557381
Jupyter Notebooks1834702053852565

Top language: Python 54.5%. Generated on .

Counting rules and retention

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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does microsoft/agent-governance-toolkit have?

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.

How was the microsoft/agent-governance-toolkit line count measured?

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.

What commit was counted for microsoft/agent-governance-toolkit?

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.