LangChain
A Python framework for building agents and LLM-powered applications from interoperable components, with a standard interface for models, embeddings, vector stores and integrations.
LangChain is a framework for building LLM applications and agents. It chains together interoperable components and third-party integrations behind standard interfaces for chat models, embeddings, vector stores and retrievers, so models and providers can be swapped.
It is part of a wider ecosystem: Deep Agents for agents with planning, subagents and file system use; LangGraph for low-level agent orchestration; and LangSmith for evaluation, observability, debugging and deployment. A JavaScript and TypeScript version, LangChain.js, is also available.
LangChain installs as a Python package and is MIT licensed.