← back to leaderboard

langchain-ai/langchainGitHub

https://github.com/langchain-ai/langchain
Stars:
147.6k
Language:
Python
Default branch:
master
Last scored:
6h ago
Overall

At a glance

Rank
#331 of 371
#52 of 57 Python repos
Checks passed
5 of 16
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

  • AGENTS.md / CLAUDE.md
  • CI configuration
  • License file
  • Pre-commit / git hooks
  • README

What it's missing

  • .aider.conf.yml
  • CONTRIBUTING guide
  • Cursor rules (.cursor/rules)
  • Dependency manifest
  • GEMINI.md

What to fix first

  1. 1
    Dependency manifest
    Commit a proper manifest (package.json, pyproject.toml, Cargo.toml, go.mod, etc.) plus a lockfile.
    +9.2 pts
  2. 2
    Linter / formatter config
    Configure a linter/formatter (ESLint+Prettier, Biome, Ruff, rustfmt+clippy, golangci-lint) and commit the config.
    +7.9 pts
  3. 3
    Type configuration
    Add 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 looks for different things in a repo, based on its own docs. Under each score are the three checks it cares about most.

Claude Code
58.9
GPT-5 Codex
58.7
Kimi CLI
58.0
Devin
57.5
Pi
56.3
OpenHands
50.8
Gemini CLI
48.5
Cursor
46.3
Aider
41.5

Similar repos

Scored for Claude Code. Same language and host as this repo, scoring near it.

All Python repos →

All checks

AGENTS.md / CLAUDE.md· 100% pass
Substantive (20351 chars)
AGENTS.md
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
27 GitHub Actions workflow(s)
.github/workflows
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
Reproducible dev env· 70% pass
Has .devcontainer/devcontainer.json
.devcontainer/devcontainer.json
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
LICENSE
Linter / formatter config· 0% pass
No linter/formatter config found
.openhands/setup.sh· 0% pass
No .openhands/setup.sh
Pre-commit / git hooks· 100% pass
Hook framework configured
.pre-commit-config.yaml
README· 100% pass
README detailed (5890 chars)
README.md
Manageable size· 50% pass
3088 files — large
Test suite· 70% pass
Test files detected (.github/scripts/test_get_min_versions.py)
.github/scripts/test_get_min_versions.py
Type configuration· 0% pass
No type config found

Add a badge to your README

Paste this at the top of the README. It shows the score, and links back to this page.

Agent friendly score for github/langchain-ai/langchain
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/langchain-ai/langchain.svg)](https://agentfriendlycode.com/repo/github/langchain-ai/langchain)

Check the score on every pull request

Add this file to your repo. On each pull request, it posts one comment showing how the score changed and why. It runs in your own CI, with no outside server involved.

# .github/workflows/agent-friendly.yml
name: Agent-friendly score diff

on:
  pull_request:
    branches: [master]

permissions:
  contents: read
  pull-requests: write

jobs:
  score-diff:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v7
        with:
          fetch-depth: 0
      - uses: hsnice16/agent-friendly-action@v0
        with:
          agents-badge-token: ${{ secrets.AGENTS_BADGE_TOKEN }}

Add AGENTS_BADGE_TOKENto the repo's secrets to turn the comment on. Without it, the action does nothing. Where do I add it?