langchain-dependencies

Guides package selection and version pinning for LangChain, LangGraph, and Deep Agents projects.

Updated May 1, 2026
One-click install
npx skills add https://github.com/ricardoo022/4dill --skill langchain-dependencies-ricardoo022
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: langchain-dependencies
Source: https://github.com/ricardoo022/4dill/tree/main/.gemini/skills/langchain-dependencies
Command: npx skills add https://github.com/ricardoo022/4dill --skill langchain-dependencies-ricardoo022

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up a LangChain project involves choosing among dozens of independently-versioned packages with different stability guarantees, and picking the wrong versions or import paths causes incompatibilities and broken installs. ## Core Features & Use Cases - Package Selection: Maps every LangChain ecosystem package (core, orchestration, model providers, vector stores, tools) to its role and minimum version for both Python and TypeScript. - Versioning Strategy: Explains which packages follow semver, which do not (langchain-community), and how to pin each safely. - Ready-Made Templates: Provides minimal requirements.txt and package.json templates for LangGraph and Deep Agents projects. - Use Case: When starting a new LangGraph agent project, use this Skill to generate a correct dependency set with langchain 1.0+, the right provider package, and a pinned langchain-community range. ## Quick Start Ask the AI to set up dependencies for a new LangGraph project using OpenAI and Tavily search with correct version constraints.

Frequently Asked Questions about langchain-dependencies

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up dependencies for a new LangChain project?▼

Install langchain>=1.0, langchain-core>=1.0, and langsmith>=0.3.0 as the base, then add langgraph or deepagents for orchestration plus your model provider package such as langchain-openai or langchain-anthropic.

LangGraph vs Deep Agents: which should I use?▼

Use LangGraph when you need fine-grained control over custom graphs, loops, and branching. Use Deep Agents when you want batteries-included planning, memory, and file context; it installs LangGraph as a transitive dependency.

What Python version does LangChain 1.0 require?▼

LangChain 1.0 requires Python 3.10 or higher; Python 3.9 and below are not supported. For TypeScript, Node.js 20 or higher is required.

Why does langchain-community break after upgrading?▼

langchain-community does not follow semantic versioning, so minor releases can contain breaking changes. Pin it to an exact minor series like >=0.4.0,<0.5.0, or switch to a dedicated integration package such as langchain-chroma.

Should I use langchain-community or dedicated integration packages?▼

Prefer dedicated integration packages like langchain-tavily, langchain-chroma, or langchain-pinecone when they exist. They are independently versioned, better tested, and more stable than the community package equivalents.

Why is @langchain/core missing in my monorepo install?▼

@langchain/core is a peer dependency and is not always hoisted automatically in yarn workspaces or monorepos. Always list it explicitly in your package.json dependencies alongside langchain and @langchain/langgraph.