Discover and explore top open-source AI tools and projects—updated daily.
langchain-aiJS framework for building context-aware LLM apps
Top 2.9% on SourcePulse
LangChain.js is an open-source framework for building context-aware and reasoning applications powered by large language models (LLMs). It provides composable tools and off-the-shelf chains for developers to integrate LLMs with external data sources, enable autonomous agentic behavior, and manage model interactions.
How It Works
LangChain.js offers a modular architecture with core components for Model I/O (prompts, LLM interfaces), Retrieval (data augmentation), and Agents (autonomous decision-making). It emphasizes composability, allowing developers to combine these building blocks or use pre-built chains. LangGraph.js, a companion library, enables the creation of stateful, multi-actor applications by modeling execution flows as graphs, supporting complex agentic workflows with streaming and human-in-the-loop capabilities.
Quick Start & Requirements
npm install -S langchain or yarn add langchain or pnpm add langchainHighlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The project is a JavaScript/TypeScript port of the Python LangChain library, and while designed for seamless integration, direct feature parity or identical serialization behavior between the two may not always be guaranteed.
1 day ago
1 day
langchain-ai
langchain-ai