Code Ownership
Ownership is measured by how many commits each author made to each file of code in the current tree, its tests included, and to the same file under the names it had before. Documentation, vendored and generated files are left out. It highlights bus-factor risk (files only one person has ever touched) and where knowledge is concentrated. The bus factor is the smallest number of people who are, between them, primary owner of more than half of the files.
- Files Tracked
- 2,950
- of code in the current tree
- Bus Factor
- 3
- 3 authors are primary owner of 1,606 of 2,950 files
- Single-Owner Files
- 478
- 16.2% of tracked files
- Contributors
- 1,889
- authors who changed files
Bus factor risk — single-owner files
Files only one author has ever changed, grouped by that author: if they left, no one else would have worked on them. The more a file has changed, the more knowledge is at risk. Mason Daugherty is the only one to have changed 98 of the 478.
| Owner | Files | Commits | Bar | Most-changed |
|---|---|---|---|---|
| Mason Daugherty | 98 | 195 | .github/workflows/require_issue_link.ymllibs/partners/openrouter/Makefile.github/workflows/_refresh_model_profiles.ymland 95 more | |
| ccurme | 61 | 71 | libs/core/tests/unit_tests/callbacks/test_usage_callback.pylibs/core/langchain_core/_security/__init__.pylibs/langchain_v1/langchain/agents/middleware/tool_error.pyand 58 more | |
| Sydney Runkle | 45 | 47 | libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_structured_output_retry.pylibs/partners/perplexity/tests/unit_tests/test_chat_models_standard.pylibs/core/tests/benchmarks/__init__.pyand 42 more | |
| Eugene Yurtsev | 39 | 46 | libs/langchain/tests/unit_tests/_api/test_importing.pylibs/langchain_v1/tests/unit_tests/embeddings/test_imports.pylibs/core/tests/unit_tests/rate_limiters/test_in_memory_rate_limiter.pyand 36 more | |
| Bagatur | 31 | 31 | libs/core/tests/integration_tests/__init__.pylibs/core/tests/unit_tests/callbacks/__init__.pylibs/core/tests/unit_tests/documents/__init__.pyand 28 more | |
| Harrison Chase | 30 | 43 | libs/core/tests/unit_tests/prompts/__init__.pylibs/langchain/tests/__init__.pylibs/langchain/tests/integration_tests/__init__.pyand 27 more | |
| Erick Friis | 29 | 32 | libs/partners/nomic/tests/integration_tests/test_embeddings.pylibs/partners/openai/.gitignorelibs/standard-tests/langchain_tests/py.typedand 26 more | |
| Hunter Lovell | 26 | 28 | libs/partners/typesafe/langchain_typesafe/client.pylibs/partners/typesafe/langchain_typesafe/experimental/middleware/__init__.pylibs/core/langchain_core/output_parsers/_refusal.pyand 23 more | |
| Naomi Pentrel | 23 | 23 | openwiki/.claims/agent-execution.jsonopenwiki/.claims/agent-factory.jsonopenwiki/.claims/architecture.jsonand 20 more | |
| Anush | 9 | 11 | libs/partners/qdrant/tests/integration_tests/conftest.pylibs/partners/qdrant/tests/integration_tests/fastembed/test_fastembed_sparse.pylibs/partners/qdrant/.gitignoreand 6 more | |
| 35 other owners | 87 | 89 |
The 100 most-changed of 478 single-owner files
| File | Sole owner | Commits |
|---|---|---|
| .github/workflows/require_issue_link.yml | Mason Daugherty | 18 |
| libs/partners/openrouter/Makefile | Mason Daugherty | 8 |
| .github/workflows/pr_labeler.yml | Mason Daugherty | 7 |
| .github/workflows/_refresh_model_profiles.yml | Mason Daugherty | 7 |
| .github/workflows/close_unchecked_issues.yml | Mason Daugherty | 6 |
| .github/workflows/pr_labeler_backfill.yml | Mason Daugherty | 6 |
| .github/workflows/reopen_on_assignment.yml | Mason Daugherty | 5 |
| .github/workflows/tag-external-issues.yml | Mason Daugherty | 5 |
| libs/partners/openrouter/langchain_openrouter/data/_profiles.py | Mason Daugherty | 5 |
| .vscode/settings.json | Mason Daugherty | 5 |
| libs/partners/openai/tests/unit_tests/chat_models/test_prompt_cache_key.py | Mason Daugherty | 3 |
| .github/workflows/check_release_deps.yml | Mason Daugherty | 3 |
| .github/workflows/remove_waiting_on_author.yml | Mason Daugherty | 3 |
| .github/scripts/pr-labeler.js | Mason Daugherty | 3 |
| libs/core/tests/unit_tests/callbacks/test_usage_callback.py | ccurme | 3 |
| libs/langchain_v1/tests/unit_tests/embeddings/test_imports.py | Eugene Yurtsev | 3 |
| libs/langchain/tests/unit_tests/_api/test_importing.py | Eugene Yurtsev | 3 |
| libs/core/tests/unit_tests/prompts/__init__.py | Harrison Chase | 3 |
| libs/partners/nomic/langchain_nomic/_version.py | Mason Daugherty | 2 |
| libs/partners/chroma/langchain_chroma/_version.py | Mason Daugherty | 2 |
| libs/partners/qdrant/langchain_qdrant/_version.py | Mason Daugherty | 2 |
| libs/partners/exa/langchain_exa/_version.py | Mason Daugherty | 2 |
| libs/partners/ollama/langchain_ollama/_version.py | Mason Daugherty | 2 |
| .github/workflows/pr_lint_trailer.yml | Mason Daugherty | 2 |
| libs/partners/openai/tests/integration_tests/chat_models/test_codex.py | Mason Daugherty | 2 |
| libs/partners/openai/tests/integration_tests/chat_models/test_codex_standard.py | Mason Daugherty | 2 |
| .github/workflows/bump_uv_pin.yml | Mason Daugherty | 2 |
| .github/workflows/check_versions.yml | Mason Daugherty | 2 |
| libs/model-profiles/langchain_model_profiles/_summary.py | Mason Daugherty | 2 |
| libs/model-profiles/tests/unit_tests/test_summary.py | Mason Daugherty | 2 |
| libs/partners/fireworks/tests/integration_tests/_rate_limiter.py | Mason Daugherty | 2 |
| libs/partners/mistralai/tests/integration_tests/_rate_limiter.py | Mason Daugherty | 2 |
| libs/partners/openrouter/langchain_openrouter/__init__.py | Mason Daugherty | 2 |
| libs/partners/openrouter/tests/unit_tests/test_imports.py | Mason Daugherty | 2 |
| libs/partners/openrouter/tests/integration_tests/test_standard.py | Mason Daugherty | 2 |
| libs/partners/openrouter/tests/unit_tests/test_standard.py | Mason Daugherty | 2 |
| .github/scripts/test_release_options.py | Mason Daugherty | 2 |
| .github/workflows/_test_vcr.yml | Mason Daugherty | 2 |
| .mcp.json | Mason Daugherty | 2 |
| .vscode/extensions.json | Mason Daugherty | 2 |
| libs/core/tests/unit_tests/messages/block_translators/test_registration.py | Mason Daugherty | 2 |
| libs/partners/exa/tests/unit_tests/test_standard.py | Mason Daugherty | 2 |
| libs/partners/nomic/tests/unit_tests/test_standard.py | Mason Daugherty | 2 |
| libs/partners/qdrant/tests/unit_tests/test_standard.py | Mason Daugherty | 2 |
| .markdownlint.json | Mason Daugherty | 2 |
| libs/partners/typesafe/langchain_typesafe/client.py | Hunter Lovell | 2 |
| libs/partners/typesafe/langchain_typesafe/experimental/middleware/__init__.py | Hunter Lovell | 2 |
| libs/partners/openai/langchain_openai/decisions/__init__.py | ccurme | 2 |
| libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_model_router.py | ccurme | 2 |
| libs/partners/anthropic/tests/unit_tests/test_compat.py | ccurme | 2 |
| libs/langchain_v1/langchain/agents/middleware/tool_error.py | ccurme | 2 |
| libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_error.py | ccurme | 2 |
| libs/partners/fireworks/langchain_fireworks/_compat.py | ccurme | 2 |
| libs/core/langchain_core/_security/__init__.py | ccurme | 2 |
| libs/model-profiles/langchain_model_profiles/__init__.py | ccurme | 2 |
| libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_structured_output_retry.py | Sydney Runkle | 2 |
| libs/partners/perplexity/tests/unit_tests/test_chat_models_standard.py | Sydney Runkle | 2 |
| libs/langchain_v1/tests/benchmarks/test_create_agent.py | Eugene Yurtsev | 2 |
| libs/langchain/langchain_classic/tools/ainetwork/__init__.py | Eugene Yurtsev | 2 |
| libs/core/tests/unit_tests/rate_limiters/test_in_memory_rate_limiter.py | Eugene Yurtsev | 2 |
| libs/langchain_v1/langchain/agents/middleware/internal_call_transformer.py | Nishitha M | 2 |
| libs/langchain_v1/langchain/agents/_subagent_transformer.py | Nick Hollon | 2 |
| libs/partners/qdrant/tests/integration_tests/conftest.py | Anush | 2 |
| libs/partners/qdrant/tests/integration_tests/fastembed/test_fastembed_sparse.py | Anush | 2 |
| libs/langchain/tests/__init__.py | Harrison Chase | 2 |
| libs/langchain/tests/integration_tests/__init__.py | Harrison Chase | 2 |
| libs/langchain/tests/integration_tests/cache/__init__.py | Harrison Chase | 2 |
| libs/langchain/tests/integration_tests/chains/__init__.py | Harrison Chase | 2 |
| libs/langchain/tests/integration_tests/examples/hello.msg | Harrison Chase | 2 |
| libs/langchain/tests/integration_tests/memory/__init__.py | Harrison Chase | 2 |
| libs/langchain/tests/unit_tests/agents/__init__.py | Harrison Chase | 2 |
| libs/langchain/tests/unit_tests/chains/__init__.py | Harrison Chase | 2 |
| libs/langchain/tests/unit_tests/data/prompts/prompt_extra_args.json | Harrison Chase | 2 |
| libs/langchain/tests/unit_tests/data/prompts/prompt_missing_args.json | Harrison Chase | 2 |
| libs/langchain/tests/unit_tests/data/prompts/simple_prompt.json | Harrison Chase | 2 |
| libs/standard-tests/langchain_tests/py.typed | Erick Friis | 2 |
| libs/partners/openai/.gitignore | Erick Friis | 2 |
| libs/partners/nomic/tests/integration_tests/test_embeddings.py | Erick Friis | 2 |
| .robin/settings.json | Mason Daugherty | 1 |
| libs/partners/openai/scripts/record_codex_cassettes.sh | Mason Daugherty | 1 |
| libs/core/tests/unit_tests/_api/test_warning_suppression.py | Mason Daugherty | 1 |
| libs/langchain/tests/unit_tests/_api/test_warning_suppression.py | Mason Daugherty | 1 |
| libs/partners/fireworks/langchain_fireworks/middleware/__init__.py | Mason Daugherty | 1 |
| libs/partners/fireworks/langchain_fireworks/middleware/prompt_caching.py | Mason Daugherty | 1 |
| libs/partners/fireworks/tests/unit_tests/middleware/__init__.py | Mason Daugherty | 1 |
| libs/partners/fireworks/tests/unit_tests/middleware/test_prompt_caching.py | Mason Daugherty | 1 |
| libs/core/tests/unit_tests/test_tools_postponed_annotations.py | Mason Daugherty | 1 |
| libs/core/tests/unit_tests/runnables/conftest.py | Mason Daugherty | 1 |
| libs/partners/chroma/scripts/check_version.py | Mason Daugherty | 1 |
| libs/partners/exa/scripts/check_version.py | Mason Daugherty | 1 |
| libs/partners/nomic/scripts/check_version.py | Mason Daugherty | 1 |
| libs/partners/qdrant/scripts/check_version.py | Mason Daugherty | 1 |
| libs/partners/deepseek/scripts/check_version.py | Mason Daugherty | 1 |
| libs/partners/deepseek/tests/unit_tests/test_imports.py | Mason Daugherty | 1 |
| libs/partners/fireworks/scripts/check_version.py | Mason Daugherty | 1 |
| libs/partners/groq/scripts/check_version.py | Mason Daugherty | 1 |
| libs/partners/huggingface/scripts/check_version.py | Mason Daugherty | 1 |
| libs/partners/mistralai/scripts/check_version.py | Mason Daugherty | 1 |
| libs/partners/ollama/scripts/check_version.py | Mason Daugherty | 1 |
| libs/partners/openai/scripts/check_version.py | Mason Daugherty | 1 |
Ownership by author
Primary owner = the author with the most commits to a file. Solely owned = files only that author has touched.
| Author | Files owned | Solely owned | Files touched |
|---|---|---|---|
| Harrison Chase | 682 | 30 | 1,526 |
| Mason Daugherty | 475 | 98 | 1,215 |
| Eugene Yurtsev | 449 | 39 | 1,833 |
| Christophe Bornet | 329 | 8 | 1,074 |
| ccurme | 169 | 61 | 526 |
| Bagatur | 135 | 31 | 1,652 |
| Sydney Runkle | 99 | 45 | 574 |
| Leonid Ganeline | 92 | 0 | 895 |
| Erick Friis | 59 | 29 | 537 |
| William FH | 48 | 5 | 277 |
| Nuno Campos | 38 | 2 | 588 |
| Hunter Lovell | 36 | 26 | 109 |
| Naomi Pentrel | 25 | 23 | 26 |
| Zander Chase | 23 | 0 | 203 |
| Matt Robinson | 13 | 0 | 22 |
| Nick Hollon | 12 | 3 | 73 |
| Anush | 12 | 9 | 42 |
| Yufei (Benny) Chen | 11 | 6 | 20 |
| killind-dev | 10 | 4 | 16 |
| Vadym Barda | 9 | 4 | 39 |
| Jofthomas | 8 | 6 | 21 |
| Kesku | 8 | 7 | 15 |
| Leonid Kuligin | 6 | 1 | 45 |
| Sai Annam | 6 | 3 | 31 |
| Thushanth Bengre | 6 | 2 | 21 |
Most shared files
Files touched by the most people — shared code where changes are most likely to need coordination.
| File | Contributors | Primary owner | Owner share |
|---|---|---|---|
| libs/langchain/pyproject.toml | 83 | Bagatur | 39.9% |
| libs/partners/openai/langchain_openai/chat_models/base.py | 81 | ccurme | 32.1% |
| libs/langchain/langchain_classic/document_loaders/__init__.py | 63 | Harrison Chase | 31.1% |
| libs/langchain/langchain_classic/llms/__init__.py | 62 | Harrison Chase | 19.4% |
| libs/text-splitters/tests/unit_tests/test_text_splitters.py | 59 | Harrison Chase | 11.8% |
| libs/langchain/langchain_classic/llms/openai.py | 57 | Harrison Chase | 30.8% |
| libs/langchain/langchain_classic/vectorstores/__init__.py | 52 | Harrison Chase | 24.4% |
| libs/langchain/langchain_classic/text_splitter.py | 46 | Harrison Chase | 23.0% |
| libs/partners/anthropic/langchain_anthropic/chat_models.py | 45 | ccurme | 29.1% |
| libs/partners/openai/tests/unit_tests/chat_models/test_base.py | 43 | ccurme | 35.8% |
| libs/langchain/langchain_classic/vectorstores/chroma.py | 43 | Harrison Chase | 17.1% |
| libs/langchain/langchain_classic/embeddings/openai.py | 40 | Harrison Chase | 25.0% |
| libs/langchain/langchain_classic/retrievers/self_query/base.py | 39 | Christophe Bornet | 16.5% |
| libs/core/tests/unit_tests/test_tools.py | 38 | Christophe Bornet | 27.5% |
| libs/langchain/langchain_classic/agents/agent.py | 38 | Harrison Chase | 29.2% |
| libs/langchain/langchain_classic/chat_models/openai.py | 38 | Harrison Chase | 27.8% |
| libs/langchain/langchain_classic/agents/load_tools.py | 37 | Harrison Chase | 21.8% |
| libs/langchain/langchain_classic/embeddings/__init__.py | 37 | Harrison Chase | 22.9% |
| libs/langchain/langchain_classic/vectorstores/faiss.py | 37 | Harrison Chase | 29.2% |
| libs/core/langchain_core/runnables/base.py | 36 | Christophe Bornet | 21.9% |
How LangChain compares with other open source AI and machine learning projects →
How LangChain ranks among open source AI and machine learning projects by AI-assisted commits →
Generate this report for your own repository with gitstats-action · All Gallery reports
The smallest workflow
Publishes the report to GitHub Pages on every push to main: turn on Pages for the gh-pages branch.
# .github/workflows/gitstats.yml
name: GitStats Report
on:
push:
branches: [main]
permissions:
contents: write
jobs:
gitstats:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: shenxianpeng/gitstats-action@v1
with:
deploy-to-pages: true