$npx skillfedfor your agent

langchain-core

Building applications with LLMs through composability

Worth itPyPI Python ModulesReleased Aug 2026176.0M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — langchain_core-1.5.4-py3-none-any.whl
v1.5.4 · released 2026-08-11 · Python <4.0.0,>=3.10.0 · 9 runtime deps: jsonpatch, langchain-protocol, langsmith, packaging, pydantic, pyyaml, tenacity, typing-extensions

Yes. LangChain Core is the canonical foundation for LLM application development in Python, with production-grade stability, active maintenance, low install friction, and a permissive MIT license. Install it if you are building any LLM application that benefits from modular abstractions and ecosystem interoperability. No known security vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later (supports up to 3.14).
  • Low friction install with a recent release (3 days old) and active maintenance.
  • Depends on well-established libraries like pydantic, tenacity, and langsmith.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial use, modification, and distribution with minimal restrictions—standard permissive terms suitable for most production and proprietary projects.

last release 2026-08-11 (3 days) · last repo commit 2026-08-14 · 144,195 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 176,017,959 downloads/mo, #239 on PyPI

Verify before relying

pip install langchain-core

from langchain_core.runnables import Runnable
from langchain_core.language_model import BaseLanguageModel

# Use abstractions to compose LLM applications
  • Whether the package is suitable for specific LLM providers or if additional provider packages are required.
  • Performance characteristics and latency overhead of the abstraction layer in production workloads.
  • Compatibility guarantees with third-party LangChain ecosystem extensions.
Same gist for agents: .md · .json

What it is and what it does

LangChain Core is the foundational library for the LangChain ecosystem, providing stable, modular abstractions for building applications with large language models. It defines core interfaces like Runnable, BaseLanguageModel, and other composable components that any LLM provider can implement, allowing applications built on these abstractions to work across different providers without tight coupling.

The library is designed around modularity and simplicity—each abstraction is independent and not tied to any specific model provider. It handles common patterns in LLM application development: chaining operations, managing prompts, handling retries via tenacity, and serialization via pydantic and YAML. The package is production-stable, actively maintained with releases every few days, and used at scale by many companies. It requires Python 3.10 or later and depends on well-tested libraries like pydantic, langsmith, and packaging.

Use it for

  • Build modular LLM chains that work across multiple model providers without rewriting application logic.
  • Define reusable agent and tool abstractions that can be plugged into different LangChain ecosystem packages.
  • Create composable prompt templates and runnable workflows that serialize and deserialize consistently.
  • Implement retry logic and error handling for LLM API calls using built-in tenacity integration.
  • Develop production LLM applications with a stable, versioned foundation committed to backward compatibility.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

LangChain Core is the canonical foundation for LLM application development in Python, with production-grade stability, active maintenance, low install friction, and a permissive MIT license. Install it if you are building any LLM application that benefits from modular abstractions and ecosystem interoperability. No known security vulnerabilities.

Install

langchain-core on PyPI

Before you install

Low friction install with a recent release (3 days old) and active maintenance. Depends on well-established libraries like pydantic, tenacity, and langsmith. The project has substantial production adoption and a large install base.

Requires Python 3.10 or later (supports up to 3.14).

License in practice

MIT license permits commercial use, modification, and distribution with minimal restrictions—standard permissive terms suitable for most production and proprietary projects.

Quickstart

pip install langchain-core

from langchain_core.runnables import Runnable
from langchain_core.language_model import BaseLanguageModel

# Use abstractions to compose LLM applications

Verify before relying

  • Whether the package is suitable for specific LLM providers or if additional provider packages are required.
  • Performance characteristics and latency overhead of the abstraction layer in production workloads.
  • Compatibility guarantees with third-party LangChain ecosystem extensions.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0.0,>=3.10.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
9 packages
jsonpatchlangchain-protocollangsmithpackagingpydanticpyyamltenacitytyping-extensionsuuid-utils
MaintenanceActively maintained 3 days since the last release
Last repo commit
First released
Downloads176,017,959 / month, #239 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Software Development :: Libraries :: Python Modules

Evidence: langchain_core-1.5.4-py3-none-any.whl

Tags

Capabilities
llm application frameworklanguage model chainslangchain abstractionscomposable ai componentsllm orchestration libraryagent frameworkprompt management
Topics
llm-frameworkcomposable-abstractionsproduction-ready

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “language model chains”

  • langchain-coreLangChain Core provides the foundational abstractions and interfaces…
  • langchainLangChain provides a framework for building agents and LLM-powered…
  • langchain-fireworksIntegrates Fireworks.ai language models with LangChain, enabling you…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also langchain · langchain-cli · langchain-experimental · langchain-openai · langchain-classic · langchainplus-sdk · langserve · langchain-community · langchain-mistralai · langgraph

Further reading