langchain-ai/langchain
GitHubThe agent engineering platform.
- Stars:
- 149k
- Language:
- Python
- Default branch:
- master
- Last scored:
50.7
Overall
At a glance
- Rank
- #357 of 401
- #53 of 56 Python repos
- Checks passed
- 5 of 17
- Full list below
- Best set up for
- Claude Code
- Score 58.9
- Needs most work for
- Aider
- Biggest fix: .aider.conf.yml (+14.1 pts)
What it has
What it's missing
What to fix first
Showing fixes for Claude Code
- 1Dependency manifestCommit a proper manifest (package.json, pyproject.toml, Cargo.toml, go.mod, etc.) plus a lockfile.+9.2 pts
- 2Linter / formatter configConfigure a linter/formatter (ESLint+Prettier, Biome, Ruff, rustfmt+clippy, golangci-lint) and commit the config.+7.9 pts
- 3Type configurationAdd a type config (tsconfig.json for JS/TS, mypy.ini or pyrightconfig.json for Python). Rust/Go/JVM/Scala/Swift/C#/OCaml/Haskell/Zig are typed by default.+7.9 pts
Score for each AI agent
Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →
Does langchain-ai/langchain have agent instructions?
An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.
- AGENTS.md / CLAUDE.md
AGENTS.md(new tab) · 20,351 characters- Agent-specific files
- None: no GEMINI.md, .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
- Repos that have one
- 29 of 56 Python repos · 221 of 401 repos on the leaderboard · See examples →
All 17 checks · 5 passed
✗
Skills (.agents/skills)· 0% pass
No .agents/skills/<name>/SKILL.md
✓
✗
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
✓
✗
CONTRIBUTING guide· 0% pass
No CONTRIBUTING file
✗
Cursor rules (.cursor/rules)· 0% pass
No .cursor/rules/*.mdc or .cursorrules
✗
Dependency manifest· 0% pass
No dependency manifest found
~
✗
GEMINI.md· 0% pass
No GEMINI.md at repo root
✓
✗
Linter / formatter config· 0% pass
No linter/formatter config found
✗
.openhands/setup.sh· 0% pass
No .openhands/setup.sh
✓
~
Manageable size· 50% pass
3144 files — large
~
Test suite· 70% pass
Test files detected (.github/scripts/test_check_diff.py)
✗
Type configuration· 0% pass
No type config found
How langchain-ai/langchain compares
- vs leaderboard average
- 16.1 pts below
- Average 66.8
- vs Python average
- 20.3 pts below
- Average 71.0
- Stars among Python repos
- #5 of 56
Missing here, and how many repos have it
- Dependency manifest · passed by 92% of leaderboard repos, 89% of Python repos
- CONTRIBUTING guide · passed by 86% of leaderboard repos, 88% of Python repos
- Type configuration · passed by 68% of leaderboard repos, 57% of Python repos
Passes checks most repos miss
- Pre-commit / git hooks · only 29% of repos pass it
One fix for the most agents: Linter / formatter config would raise the score for all 9 agents, by up to 14.1 points.
Similar repos
Same language and host as this repo, closest in overall score.
- openai/whisper58.9Python · 111.9k ★
- mkdocs/mkdocs56.4Python · 22.5k ★
- Python · 165.2k ★
- numpy/numpy53.1Python · 33.3k ★
- Python · 38.4k ★
- Python · 187.9k ★
Same topics, any language
Repos tagged with the same GitHub topics, most shared first.
- TanStack/ai69.2TypeScript · AI agents, anthropic, gemini, generative ai, LLM, OpenAI
- Python · AI agents, chatgpt, generative ai, LLM, multiagent
- vercel/ai67.7TypeScript · anthropic, gemini, generative ai, LLM, OpenAI
- simstudioai/sim76.4TypeScript · AI agents, anthropic, gemini, OpenAI, rag
- BerriAI/litellm85.2Python · anthropic, langchain, LLM, OpenAI
- Aider-AI/aider63.2Python · anthropic, chatgpt, gemini, OpenAI
Add a badge to your README
Paste this at the top of the README. It shows the score, and links back to this page.
[](https://agentfriendlycode.com/repo/github/langchain-ai/langchain)Check the score on every pull request
A GitHub Action posts one comment per pull request with how the score changed and why.