langchain-dependencies

Guides package selection, versioning, and installation for LangChain, LangGraph, and LangSmith projects.

Updated Jun 7, 2026
One-click install
npx skills add https://github.com/agnivon/viral_thread_generator --skill langchain-dependencies-agnivon
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: langchain-dependencies
Source: https://github.com/agnivon/viral_thread_generator/tree/main/.agents/skills/langchain-dependencies
Command: npx skills add https://github.com/agnivon/viral_thread_generator --skill langchain-dependencies-agnivon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up a LangChain project involves choosing between dozens of independently-versioned packages across Python and TypeScript, and picking the wrong versions or missing peer dependencies causes import errors and broken integrations. ## Core Features & Use Cases - Package Selection Guidance: Lists required core packages, orchestration options (LangGraph vs Deep Agents), model provider integrations, and tool/retrieval packages for both Python and TypeScript. - Versioning Policy: Explains which packages follow semver, why langchain-community must be pinned to a minor series, and safe upgrade strategies for each package group. - Common Mistake Fixes: Documents deprecated community import paths, missing @langchain/core peer dependencies, and unsupported Python/Node runtime versions. - Use Case: When scaffolding a new LangGraph agent in TypeScript, use this Skill to generate the correct package.json dependencies with @langchain/core explicitly listed and langsmith configured for tracing. ## Quick Start Ask the AI to list the correct dependencies and minimum versions for a new LangGraph project in Python or TypeScript.

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 LangGraph project?▼

Install langchain, langchain-core, langgraph, and langsmith at version 1.0 or higher, then add your model provider package such as langchain-openai or langchain-anthropic. For TypeScript, use @langchain/core, langchain, @langchain/langgraph, and langsmith.

LangGraph vs Deep Agents: which should I use?▼

Choose LangGraph when you need fine-grained graph control with custom workflows, loops, or branching. Choose Deep Agents when you want batteries-included planning, memory, and file context; it installs LangGraph as a transitive dependency.

Does LangChain 1.0 support Python 3.9 or older Node versions?▼

LangChain 1.0 requires Python 3.10 or higher and Node.js 20 or higher. Older runtimes are not officially supported, so verify your runtime version before installing.

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 when one exists.

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/langgraph.