langchain-dependencies
LangChain ecosystem package versions, dependencies, and installation guidance for Python and TypeScript.
- Start all new projects on LangChain 1.0 LTS; version 0.3 is legacy maintenance-only. Always install
langchain-coreexplicitly alongside other packages. - Choose one orchestration layer: LangGraph for fine-grained graph control, or Deep Agents for batteries-included planning and memory.
- Pin
langchain-communityconservatively to exact minor versions (e.g.,>=0.4.0,<0.5.0) since it does not follow semantic versioning; prefer dedicated integration packages likelangchain-chromaorlangchain-tavilywhen available. - Requires Python 3.10+ or Node.js 20+; model providers, vector stores, and tools are installed separately so you only pull in what you use.
- Keep dedicated integration packages (Tavily, Chroma, Pinecone, etc.) at latest versions for compatibility fixes; use provided minimal templates to scaffold new projects.
Key principles:
- LangChain 1.0 is the current LTS release. Always start new projects on 1.0+. LangChain 0.3 is legacy maintenance-only — do not use it for new work.
- langchain-core is the shared foundation: always install it explicitly alongside any other package.
- langchain-community (Python only) does NOT follow semantic versioning; pin it conservatively.
- LangGraph vs Deep Agents: choose one orchestration approach based on your use case — they are alternatives, not a required stack (see Framework Choice below).
- Provider integrations (model, vector store, tools) are installed separately so you only pull in what you use.
Environment Requirements
More from langchain-ai/langchain-skills
deep-agents-memory
INVOKE THIS SKILL when your Deep Agent needs memory, persistence, or filesystem access. Covers StateBackend (ephemeral), StoreBackend (persistent), FilesystemMiddleware, and CompositeBackend for routing.
8.2Klanggraph-fundamentals
INVOKE THIS SKILL when writing ANY LangGraph code. Covers StateGraph, state schemas, nodes, edges, Command, Send, invoke, streaming, and error handling.
7.6Klangchain-fundamentals
Create LangChain agents with create_agent, define tools, and use middleware for human-in-the-loop and error handling.
7.3Klanggraph-persistence
INVOKE THIS SKILL when your LangGraph needs to persist state, remember conversations, travel through history, or configure subgraph checkpointer scoping. Covers checkpointers, thread_id, time travel, Store, and subgraph persistence modes.
7.1Klangchain-rag
INVOKE THIS SKILL when building ANY retrieval-augmented generation (RAG) system. Covers document loaders, RecursiveCharacterTextSplitter, embeddings (OpenAI), and vector stores (Chroma, FAISS, Pinecone).
7.1Klanggraph-human-in-the-loop
INVOKE THIS SKILL when implementing human-in-the-loop patterns, pausing for approval, or handling errors in LangGraph. Covers interrupt(), Command(resume=...), approval/validation workflows, and the 4-tier error handling strategy.
6.9K