iCreatAI News
Skip to content
Trending storyUpdating

Statistics on AI frameworks imported by PyPI projects: LangChain ranks first

1 reports1 sources6 hr agoUpdated

Understand this story

AI overview

py-code.org analyzed import records in the latest versions of 354,763 PyPI projects, ranking 25 AI Agent frameworks by "how many published Python projects import the framework in their code": LangChain ranks first with 6,779 projects, LangGraph with 2,417, followed by Pydantic AI with 1,203, CrewAI with 1,184, and LlamaIndex with 1,111. The analysis excludes the frameworks' own add-on packages (such as the many langchain-* integration packages) and counts only projects built on top of the frameworks. The index includes all projects that published a release between November 13, 2025 and November 13, 2026, plus the 60,000 most-downloaded projects (even if their latest release is older). Therefore, projects that have not published a release since November 13, 2025 are counted only if they are among the top 60,000 by downloads; frameworks whose users have stopped releasing versions will be underestimated.

AI overview based on source reports · Updated 6 hr ago

Coverage timeline

Follow the coverage to explore different perspectives.

Nov 18
  1. Hacker News AI
    The most used AI agent frameworks in PyPI (Python) projects

    An analysis of imports in the latest releases of 354,763 PyPI projects finds LangChain imported by 6,779 projects and LangGraph by 2,417, followed by Pydantic AI (1,203), CrewAI (1,184) and LlamaIndex (1,111), with the Claude Agent SDK (973) and OpenAI Agents SDK (840) next. Of the 14,659 projects importing the OpenAI or Anthropic SDK, 11,655 (79.5%) import none of the 25 agent frameworks counted. Many alternatives are used alongside LangChain rather than instead of it: 1,814 of the 2,417 LangGraph projects also import LangChain, as do 820 LlamaIndex projects and 846 CrewAI projects.

Activity for this story

Current comparable activity
9
Peak comparable activity
10Nov 18 04:00
Change in the past 24 hours
–

Trends compare the same fully observed participants, which may cover fewer participants than current activity. Move the pointer or tap the chart to inspect hourly activity; use the left and right arrow keys with a keyboard.