repowiserepowise
Sign in
langchain-ai/langchain
OverviewDocsArchitectureKnowledge GraphFilesCode HealthRefactoring

People & History

CommitsContributorsDecisions
ChatPro
Stats
repowiserepowise
ExplorePricingDocs
Sign inIndex repoIndex your repo free
repowiselangchain-ai/langchain

langchain-ai / langchain

The agent engineering platform.

Python142,871github.com/langchain-ai/langchain
Indexed atcdca311·5h ago·Up to date with upstream
Open dashboardChat with repo

Code health

6.4out of 10Fair

langchain-ai/langchain scores 6.4 out of 10 on defect risk, which Repowise rates Fair. Maintainability scores 7.4 out of 10. Static performance risk scores 10.0 out of 10. The three are scored separately and never blended into a single number. 111 of 2,723 files are git hotspots, the places where changes and bug fixes concentrate.

Full health report
Defect risk6.4/10 · Fair
Maintainability7.4/10 · Good
Performance risk10.0/10 · Excellent
Files
2.7k
Symbols
19k
Modules
108
Doc pages
2.0k
Dead exports
23

Where the risk concentrates

All 111 hotspots

Ranked by prior bug fixes and change frequency, mined from the full git history rather than from the code alone.

FileChurnPrior fixesMaintainersCommits 90d
base.pylibs/partners/openai/langchain_openai/chat_models99.8th %ile24bug magnet4013
test_chat_models.pylibs/partners/anthropic/tests/unit_tests99.9th %ile20bug magnet2117

Read more about langchain-ai/langchain

  • OverviewFiles, symbols, languages, packages, git intelligence
  • ArchitectureDependency graph, layered architecture, symbol index, and third-party dependencies
  • Code healthPer-file health scores, hotspots, test coverage, dead code, and refactoring targets
  • AI explanationsProModule-by-module documentation generated from source

Add a badge to your README

Both badges are public, cached, and update on their own after every index. Nothing to install.

Repowise badge

Links to this page. Adding it also re-indexes the repo every week.

Repowise badge: explore code
[![repowise](https://api.repowise.dev/badge/wiki/langchain-ai/langchain.svg)](https://repowise.dev/repo/langchain-ai/langchain)

Code health badge

Average health across every file, straight from the latest index.

Code health badge showing the average health score out of 10
[![Code health](https://api.repowise.dev/badge/health/langchain-ai/langchain.svg)](https://repowise.dev/repo/langchain-ai/langchain)

How langchain-ai/langchain works

The agent engineering platform. This page is an auto-generated, always-fresh map of the langchain-ai/langchain repository, written primarily in Python. Repowise indexes the source, parses every symbol, computes a dependency graph, scores per-file code health from complexity, duplication, test coverage and churn, mines git history for hotspots and ownership, and lifts the resulting architectural decisions into a wiki you can read or query through MCP.

The codebase has 2,723 source files, 18,801 symbols, and 8 languages, organised into 108 modules, led by python, yaml, json. Static analysis leaves 5,228 open findings across the three health dimensions.

Use the links above to open the interactive dashboards, or connect this repo to your editor via the Repowise MCP server for grounded answers inside Claude, Cursor, or VS Code.

chat_models.pylibs/partners/anthropic/langchain_anthropic99.9th %ile19bug magnet2211
test_base.pylibs/partners/openai/tests/unit_tests/chat_models99.8th %ile17bug magnet2615
base.pylibs/core/langchain_core/runnables99.7th %ile378
_profiles.pylibs/partners/openai/langchain_openai/data99.7th %ile369
  • CommitsChange-risk ranked history with AI-agent provenance and hotspots
  • ContributorsBus-factor, per-file maintainer maps, and human/agent collaboration
  • DecisionsArchitectural decisions extracted from commits and PRs
  • Chat with this repoSign inProAsk grounded questions over the indexed code
  • Curated