# langchain-ai/langgraph SLOC report

> langchain-ai/langgraph: 83,152 code lines at commit 02f2c2e6c992, counted with tokei-15.0.0 on 2026-11-16. Saved result 27619924151ef890a9df626a3170c5f76d7f2798709a3c5bf55a5c30a25ace53.

langchain-ai/langgraph has 83,152 source lines of code out of 98,389 total lines across 382 files, counted with tokei from the main ref at commit 02f2c2e6c992 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving langchain-ai/langgraph to commit 02f2c2e6c992, 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

langchain-ai/langgraph: 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 medium-sized codebase by counted code lines. Code represents 84.5% of all lines, comments represent 5.1%, and the repository averages 218 code lines per file. Python accounts for 90.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 262 | 87,417 | 75,589 | 3,151 | 8,677 |
| JSON | 24 | 3,160 | 3,158 | 0 | 2 |
| Jupyter Notebooks | 35 | 4,693 | 2,961 | 829 | 903 |
| TOML | 20 | 1,024 | 886 | 28 | 110 |
| Makefile | 10 | 555 | 379 | 65 | 111 |
| TypeScript | 5 | 231 | 81 | 137 | 13 |
| YAML | 1 | 99 | 68 | 23 | 8 |
| JavaScript | 1 | 18 | 18 | 0 | 0 |
| Dockerfile | 1 | 45 | 12 | 29 | 4 |
| Markdown | 16 | 1,137 | 0 | 751 | 386 |
| Plain Text | 7 | 10 | 0 | 10 | 0 |

Top language: Python 90.9%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/langchain-ai/langgraph/commit/02f2c2e6c992ffccce9e9129781fdd04f015c6fa?reportId=27619924151ef890a9df626a3170c5f76d7f2798709a3c5bf55a5c30a25ace53&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/langchain-ai/langgraph/commit/02f2c2e6c992ffccce9e9129781fdd04f015c6fa?reportId=27619924151ef890a9df626a3170c5f76d7f2798709a3c5bf55a5c30a25ace53&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 langchain-ai/langgraph have?

langchain-ai/langgraph has 83,152 lines of code, plus 5,023 comment lines and 10,214 blank lines, for 98,389 total lines at commit 02f2c2e6c992 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the langchain-ai/langgraph line count measured?

OctoCounts resolved the public GitHub repository to commit 02f2c2e6c992, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for langchain-ai/langgraph?

This OctoCounts report was generated from main at commit 02f2c2e6c992 on November 16, 2026.

## Similar repository reports

- [Erenest/-](https://octocounts.com/github/Erenest/-) — Python, 83,184 code lines
- [asgeirtj/system_prompts_leaks](https://octocounts.com/github/asgeirtj/system_prompts_leaks) — Python, 83,311 code lines
- [microsoft/UFO](https://octocounts.com/github/microsoft/UFO) — Python, 82,828 code lines
- [andrewyng/aisuite](https://octocounts.com/github/andrewyng/aisuite) — Python, 82,799 code lines
- [doronz88/pymobiledevice3](https://octocounts.com/github/doronz88/pymobiledevice3) — Python, 82,725 code lines
- [chenxinghang-a/scada-app](https://octocounts.com/github/chenxinghang-a/scada-app) — Python, 84,046 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)
- [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)
