# langchain-ai/open-swe SLOC report

> langchain-ai/open-swe: 362,596 code lines at commit 64dd120b6a2a, counted with tokei-15.0.0 on 2026-11-16. Saved result 312d3bd0335d8b9f511b3c2f156e596edbe28dd0ca2c78190202ff7e5d16050d.

langchain-ai/open-swe has 362,596 source lines of code out of 424,308 total lines across 2,354 files, counted with tokei from the main ref at commit 64dd120b6a2a on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving langchain-ai/open-swe to commit 64dd120b6a2a, 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/open-swe: 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 large codebase by counted code lines. Code represents 85.5% of all lines, comments represent 5.4%, and the repository averages 154 code lines per file. Python accounts for 45.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 967 | 190,413 | 164,366 | 3,490 | 22,557 |
| TSX | 444 | 90,303 | 83,991 | 1,883 | 4,429 |
| TypeScript | 402 | 71,133 | 61,758 | 4,281 | 5,094 |
| JSON | 34 | 31,573 | 31,570 | 0 | 3 |
| YAML | 5 | 19,221 | 15,572 | 7 | 3,642 |
| C Header | 30 | 8,915 | 2,018 | 6,065 | 832 |
| Jinja2 | 158 | 1,987 | 1,642 | 0 | 345 |
| JavaScript | 8 | 499 | 438 | 36 | 25 |
| CSS | 6 | 581 | 434 | 66 | 81 |
| TOML | 4 | 266 | 195 | 44 | 27 |
| Shell | 3 | 213 | 173 | 13 | 27 |
| Swift | 1 | 174 | 139 | 17 | 18 |
| Makefile | 1 | 185 | 114 | 38 | 33 |
| HTML | 5 | 100 | 100 | 0 | 0 |
| Dockerfile | 2 | 68 | 46 | 9 | 13 |
| SVG | 7 | 36 | 36 | 0 | 0 |
| Zig | 1 | 5 | 4 | 0 | 1 |
| Markdown | 274 | 8,540 | 0 | 6,796 | 1,744 |
| Plain Text | 2 | 96 | 0 | 78 | 18 |

Top language: Python 45.3%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/langchain-ai/open-swe/commit/64dd120b6a2aa7b5f13fef30f97a0e987523c2c6?reportId=312d3bd0335d8b9f511b3c2f156e596edbe28dd0ca2c78190202ff7e5d16050d&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/open-swe/commit/64dd120b6a2aa7b5f13fef30f97a0e987523c2c6?reportId=312d3bd0335d8b9f511b3c2f156e596edbe28dd0ca2c78190202ff7e5d16050d&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/open-swe have?

langchain-ai/open-swe has 362,596 lines of code, plus 22,823 comment lines and 38,889 blank lines, for 424,308 total lines at commit 64dd120b6a2a on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit 64dd120b6a2a, 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/open-swe?

This OctoCounts report was generated from main at commit 64dd120b6a2a on November 16, 2026.

## Similar repository reports

- [bennnnnn/recall](https://octocounts.com/github/bennnnnn/recall) — Python, 371,002 code lines
- [HKUDS/Vibe-Trading](https://octocounts.com/github/HKUDS/Vibe-Trading) — Python, 352,163 code lines
- [jax-ml/jax](https://octocounts.com/github/jax-ml/jax) — Python, 374,537 code lines
- [abrignoni/iLEAPP](https://octocounts.com/github/abrignoni/iLEAPP) — Python, 377,858 code lines
- [melodygaoyifan/crypto_trading](https://octocounts.com/github/melodygaoyifan/crypto_trading) — Python, 379,567 code lines
- [pydantic/pydantic-ai](https://octocounts.com/github/pydantic/pydantic-ai) — Python, 345,821 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)
