Pythie
CategoriesTrending
An open index of Python tools.Pythie’s IndexLegal noticePrivacyData: PyPI (package metadata; download statistics under CC BY 4.0, via ClickHouse), deps.dev (CC BY 4.0), GitHub, OSV.

langchain

1.5.2ActivePythie’s Index: 88

Building applications with LLMs through composability

Actively maintained. Last release 11 days ago, commits in 26 of the last 26 weeks. A safe choice.

LLMs & Generative AI
$pip install langchain
langchain-ai/langchainHomepageDocsPyPI

🦜️🔗 LangChain

PyPI - Version PyPI - License PyPI - Downloads Twitter

Looking for the JS/TS version? Check out LangChain.js.

To help you ship LangChain apps to production faster, check out LangSmith. LangSmith is a unified developer platform for building, testing, and monitoring LLM applications.

Quick Install

uv add langchain

🤔 What is this?

LangChain is the easiest way to start building agents and applications powered by LLMs. With under 10 lines of code, you can connect to OpenAI, Anthropic, Google, and more. LangChain provides a pre-built agent architecture and model integrations to help you get started quickly and seamlessly incorporate LLMs into your agents and applications.

We recommend you use LangChain if you want to quickly build agents and autonomous applications. Use LangGraph, our low-level agent orchestration framework and runtime, when you have more advanced needs that require a combination of deterministic and agentic workflows, heavy customization, and carefully controlled latency.

LangChain agents are built on top of LangGraph in order to provide durable execution, streaming, human-in-the-loop, persistence, and more. (You do not need to know LangGraph for basic LangChain agent usage.)

📖 Documentation

For full documentation, see the API reference. For conceptual guides, tutorials, and examples on using LangChain, see the LangChain Docs. You can also chat with the docs using Chat LangChain.

📕 Releases & Versioning

See our Releases and Versioning policies.

💁 Contributing

As an open-source project in a rapidly developing field, we are extremely open to contributions, whether it be in the form of a new feature, improved infrastructure, or better documentation.

For detailed information on how to contribute, see the Contributing Guide.

Resources

  • LangChain Academy — comprehensive, free courses on LangChain libraries and products, made by the LangChain team
  • Code of Conduct — community guidelines and standards

Popularity

Downloads / month
156.5M
GitHub stars
150.1K
Downloads, last 7 days
36.9M-2%
Stars, last 7 days
–
Direct dependents
2.6K
All dependents
3.2K

Pythie’s Index

How it works
88

Healthy

Maintenance, out of 100

  • Recent release

    last release 10 days ago

  • Commit activity

    26/26 weeks with commits

  • Release cadence

    62 releases in 12 months

  • Issues & PRs handled

    no data

  • Contributor spread

    10 authors in last 100 commits

  • OpenSSF Scorecard

    5.9/10

Commits, last 26 weeks1221

Releases

Latest
1.5.2
Released
Nov 18, 2026
Releases, 12 months
62
First release
Oct 25, 2022

Compatibility

Requires Python
<4.0.0,>=3.11.0
Tested on
3.11 · 3.12 · 3.13 · 3.14
License
MIT (Permissive)

Keywords

aianthropicgeminilangchainllmopenaipythonagentsai-agentschatgptenterpriseframeworkgenerative-aimultiagentopen-sourcepydanticragdeepagentslanggraphtypescript

Alternatives

Use instead of langchain: tools that do the same job, closest first.

Compare with strands-agents →Compare with stirrup →Compare with agno →Compare all 4 →

  • strands-agents1.68.0ActivePythie’s Index: 89

    A model-driven approach to building AI agents in just a few lines of code

    LLMs & Generative AI9.3K38.5M/moReleased Nov 27, 2026
  • stirrup0.2.2ActivePythie’s Index: 73

    The lightweight foundation for building agents

    LLMs & Generative AI7421.2M/moReleased Nov 20, 2026
  • agno3.2.1ActivePythie’s Index: 86

    The programming language for agentic software.

    LLMs & Generative AIWeb Frameworks43.3K2.6M/moReleased Nov 17, 2026
  • haystack-ai3.5.0ActivePythie’s Index: 93

    LLM framework to build customizable, production-ready LLM applications. Connect components (models, vector DBs, file converters) to pipelines or agents that can interact with your data.

    LLMs & Generative AIText & NLP27.1K756K/moReleased Nov 28, 2026
  • langfun0.1.1ActivePythie’s Index: 79

    Langfun: Language as Functions.

    LLMs & Generative AI92162.1K/moReleased Nov 28, 2026
  • pydantic-ai2.77.0ActivePythie’s Index: 86

    AI Agent Framework, the Pydantic way

    LLMs & Generative AIMachine Learning21.4K7M/moReleased Nov 28, 2026

Works well with

Use together with langchain: extensions, drivers, servers and companion tools.

  • mem0aiPythie’s Index: 89Long-term memory for AI Agents2.3M downloads/mo
  • langgraphPythie’s Index: 85Building stateful, multi-actor applications with LLMs61.5M downloads/mo
  • langchain-mcp-adaptersPythie’s Index: 16Make Anthropic Model Context Protocol (MCP) tools compatible with LangChain and LangGraph agents.6.9M downloads/mo
  • langchain-communityPythie’s Index: 10Community contributed LangChain integrations.29.4M downloads/mo
  • deepagentsPythie’s Index: 87Production-ready, extensible agent harness with a built-in filesystem and context management, sub-agent delegation, skills, and long-term memory.9.9M downloads/mo
  • opentelemetry-instrumentation-langchainPythie’s Index: 82OpenTelemetry Langchain instrumentation4.4M downloads/mo

Same project

Also published from langchain-ai/langchain.

  • langchain-coreBuilding applications with LLMs through composability
  • langchain-openaiAn integration package connecting OpenAI and LangChain
  • langchain-text-splittersLangChain text splitting utilities
  • langchain-anthropicIntegration package connecting Claude (Anthropic) APIs and LangChain
  • langchain-classicBuilding applications with LLMs through composability
  • langchain-ollamaAn integration package connecting Ollama and LangChain
  • langchain-groqAn integration package connecting Groq and LangChain
  • langchain-mistralaiAn integration package connecting Mistral and LangChain
  • langchain-testsStandard tests for LangChain implementations
  • langchain-xaiAn integration package connecting xAI and LangChain
  • langchain-qdrantAn integration package connecting Qdrant and LangChain
  • langchain-huggingfaceAn integration package connecting Hugging Face and LangChain.
  • langchain-fireworksAn integration package connecting Fireworks and LangChain
  • langchain-chromaAn integration package connecting Chroma and LangChain.
  • langchain-openrouterAn integration package connecting OpenRouter and LangChain