# microsoft/agent-governance-toolkit SLOC report

> As of 2026-09-08 (commit 359a2332f57d), microsoft/agent-governance-toolkit contains 593,363 total lines: 460,519 code, 60,446 comments, 72,398 blank, across 2,982 files in 30 languages (top: Python 54.3%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving microsoft/agent-governance-toolkit to commit 359a2332f57d, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a large codebase by counted code lines. Code represents 77.6% of all lines, comments represent 10.2%, and the repository averages 154 code lines per file. Python accounts for 54.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 1,174 | 308,459 | 250,075 | 15,911 | 42,473 |
| JSON | 176 | 53,742 | 53,742 | 0 | 0 |
| TypeScript | 208 | 52,217 | 42,217 | 5,406 | 4,594 |
| Rust | 113 | 43,832 | 39,363 | 744 | 3,725 |
| C# | 87 | 20,464 | 14,825 | 3,072 | 2,567 |
| YAML | 270 | 15,916 | 13,084 | 1,813 | 1,019 |
| Go | 57 | 14,188 | 11,695 | 969 | 1,524 |
| JavaScript | 50 | 11,076 | 9,611 | 313 | 1,152 |
| Open Policy Agent | 119 | 12,402 | 8,981 | 1,403 | 2,018 |
| TSX | 49 | 4,187 | 3,249 | 557 | 381 |
| TOML | 73 | 3,885 | 3,198 | 303 | 384 |
| Jupyter Notebooks | 18 | 3,472 | 2,055 | 852 | 565 |

Top language (Python 54.3%). Generated at 2026-09-08T15:04:46.766664107+00:00. Canonical report: https://octocounts.com/github/microsoft/agent-governance-toolkit

## Report FAQ

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

microsoft/agent-governance-toolkit has 593,363 total lines, including 460,519 code lines, 60,446 comment lines, and 72,398 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 359a2332f57d, 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 359a2332f57d9000924baba269ed24e4e15ad8b0 at commit 359a2332f57d on 2026-09-08T15:04:46.766664107+00:00.

## Similar repository reports

- [sefcom/oxidizer](https://octocounts.com/github/sefcom/oxidizer) — Python, 457,905 code lines
- [OpenBB-finance/OpenBB](https://octocounts.com/github/OpenBB-finance/OpenBB) — Python, 450,806 code lines
- [DetachHead/basedpyright](https://octocounts.com/github/DetachHead/basedpyright) — Python, 470,732 code lines
- [raullenchai/Rapid-MLX](https://octocounts.com/github/raullenchai/Rapid-MLX) — Python, 449,160 code lines
- [sickn33/antigravity-awesome-skills](https://octocounts.com/github/sickn33/antigravity-awesome-skills) — Python, 448,257 code lines
- [marin-community/marin](https://octocounts.com/github/marin-community/marin) — Python, 446,834 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
