langchain-ai/langchain
The agent engineering platform.
Star History
Momentum
+3.7K
STARS · LAST 30 DAYS
123
PER DAY
#11
MOST-STARRED Python
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +861 | +3.7K | +11.1K |
| Per day | 123 | 123 | 123 |
| Forks gained | +123 | +493 | +1.2K |
langchain gained 3.7K stars in the last 30 days, about 123 a day, and now has 147.2K. It is about 4 years old and has averaged roughly 36.8K stars a year. It ranks #11 among Python repositories and #37 across all languages on GitHubRepo.
Trending Record
6
DAYS ON TRENDING
#37
BEST RANK
Sep 23, 2026
FIRST APPEARANCE
Active
STATUS TODAY
langchain has maintained a continuous presence across global trending indexes, peaking at #37. Below is the 30-day activity profile:
💡 Overview
langchain is an open-source project written in Python: The agent engineering platform.
Engineered for speed, consistency, and developer ease, it solves common hurdles in agents, ai, ai-agents. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
⚡ Key Features
Optimized execution pipeline written in Python for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ pip install langchain
⚙ System Requirements
Platforms
- • macOS
- • Linux
- • Windows
Runtime & Dependencies
Python >= 3.9, pip, virtualenv
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
🧠 How It Works
langchain coordinates its core functionality through a modular Python pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
🎯 Production Use Cases
Autonomous AI Agents
Orchestrate intelligent workflows and tool-calling routines with langchain.
Model Inference & Prompting
Integrate fast, local or cloud-hosted generative AI models directly into production code.
Context Memory & RAG
Augment language models with dynamic vector retrieval and structured project memory.
Developer Productivity
Automate repetitive engineering tasks, code generation, and test creation using AI agents.
🚀 Getting Started
Install langchain using your package manager: `pip install langchain`
Initialize your project workspace or configuration file for langchain.
Import langchain into your codebase or invoke it directly from your terminal.
Execute your test suite or run `langchain --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 Who Should Use This
Developers and engineering teams building with Python, seeking reliable, tested, and actively maintained tooling for production workloads.
🏆 Nearby in the Rankings
langchain-ai/langchain is currently ranked #37 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #32 | twbs/bootstrap | MDX | ★ 174.9K | Compare ↗ |
| #33 | huggingface/transformers | Python | ★ 166.7K | Compare ↗ |
| #34 | AUTOMATIC1111/stable-diffusion-webui | Python | ★ 165.1K | Compare ↗ |
| #35 | langflow-ai/langflow | Python | ★ 155.3K | Compare ↗ |
| #36 | clash-verge-rev/clash-verge-rev | Rust | ★ 147.6K | Compare ↗ |
| #37 | langchain-ai/langchain This Project | Python | ★ 147.2K | |
| #38 | DietrichGebert/ponytail | JavaScript | ★ 146.9K | Compare ↗ |
| #39 | x1xhlol/system-prompts-and-models-of-ai-tools | — | ★ 143.9K | Compare ↗ |
| #40 | yangshun/tech-interview-handbook | TypeScript | ★ 143K | Compare ↗ |
| #41 | ytdl-org/youtube-dl | Python | ★ 141.4K | Compare ↗ |
| #42 | Shubhamsaboo/awesome-llm-apps | Python | ★ 139.8K | Compare ↗ |
Frequently Asked Questions
What does langchain do? +
The agent engineering platform.
What language is langchain written in? +
The primary language is Python. Topics include: agents, ai, ai-agents, anthropic, chatgpt.
Is langchain actively maintained? +
Yes, the last recorded push was on Sep 27, 2026 with 568 open issues being tracked.
How many stars does langchain have? +
langchain has 147,158 stars and 24,631 forks on GitHub.
How does langchain rank among GitHub repositories? +
With 147,158 stars, langchain-ai/langchain is ranked #37 globally across all repositories tracked on GitHubRepo and #11 among Python projects.
What license is langchain distributed under? +
The repository reports a MIT license. Always verify the repository LICENSE file for legal terms.