# langchain-ai/open-swe SLOC report

> As of 2026-09-17 (commit 8bf9a081ed29), langchain-ai/open-swe contains 187,348 total lines: 154,660 code, 13,713 comments, 18,975 blank, across 1,021 files in 17 languages (top: Python 42.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

langchain-ai/open-swe has 154,660 source lines of code out of 187,348 total lines across 1,021 files, counted from the 8bf9a081ed2961cf631e2d323b9591e410d247d3 ref at commit 8bf9a081ed29 by the OctoCounts tokei engine on 2026-09-17. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving langchain-ai/open-swe to commit 8bf9a081ed29, 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 82.6% of all lines, comments represent 7.3%, and the repository averages 151 code lines per file. Python accounts for 42.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 388 | 76,822 | 66,353 | 953 | 9,516 |
| TSX | 211 | 40,541 | 37,396 | 725 | 2,420 |
| TypeScript | 158 | 28,068 | 25,012 | 1,023 | 2,033 |
| JSON | 16 | 12,397 | 12,394 | 0 | 3 |
| YAML | 5 | 11,835 | 9,370 | 31 | 2,434 |
| C Header | 30 | 8,915 | 2,018 | 6,065 | 832 |
| JavaScript | 6 | 1,184 | 1,090 | 35 | 59 |
| CSS | 3 | 699 | 566 | 67 | 66 |
| Shell | 3 | 196 | 157 | 13 | 26 |
| TOML | 2 | 153 | 113 | 22 | 18 |
| Makefile | 1 | 147 | 91 | 29 | 27 |
| Dockerfile | 2 | 53 | 36 | 4 | 13 |

Top language (Python 42.9%). Generated at 2026-09-17T06:53:51.818782554+00:00. Canonical report: https://octocounts.com/github/langchain-ai/open-swe

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/langchain-ai/open-swe/commit/8bf9a081ed2961cf631e2d323b9591e410d247d3?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does langchain-ai/open-swe have?

langchain-ai/open-swe has 187,348 total lines, including 154,660 code lines, 13,713 comment lines, and 18,975 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 8bf9a081ed29, 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 8bf9a081ed2961cf631e2d323b9591e410d247d3 at commit 8bf9a081ed29 on 2026-09-17T06:53:51.818782554+00:00.

## Similar repository reports

- [Blaizzy/mlx-audio](https://octocounts.com/github/Blaizzy/mlx-audio) — Python, 154,095 code lines
- [livekit/agents](https://octocounts.com/github/livekit/agents) — Python, 153,977 code lines
- [Osmantic/ODS](https://octocounts.com/github/Osmantic/ODS) — Python, 152,023 code lines
- [huggingface/text-generation-inference](https://octocounts.com/github/huggingface/text-generation-inference) — Python, 150,835 code lines
- [meta-pytorch/torchrec](https://octocounts.com/github/meta-pytorch/torchrec) — Python, 158,832 code lines
- [datawhalechina/hello-agents](https://octocounts.com/github/datawhalechina/hello-agents) — Python, 159,917 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)
- [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)
