langchain-classic
Building applications with LLMs through composability
Decision gist · record as of 2026-08-14
Yes, but only if you are maintaining or migrating existing LangChain code. If starting a new project, use the main langchain package instead. The package is actively maintained, has no known vulnerabilities, and carries a permissive MIT license. Install friction is low and dependencies are stable.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later (up to <4.0.0).
- Intended for code that already depends on older LangChain APIs; new projects should use the main langchain package.
- Low friction install with a pure-Python wheel.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions—suitable for most production deployments.
last release 2026-06-10 (65 days) · last repo commit 2026-08-14 · 144,196 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 22,006,060 downloads/mo, #986 on PyPI
Alternatives
Verify before relying
pip install langchain-classic
from langchain_classic import chains
from langchain_classic.indexes import VectorstoreIndexCreator- Whether this package is necessary for new projects or only for migrating legacy code.
- Specific deprecation timeline and migration path for features in this package.
What it is and what it does
LangChain Classic is a compatibility layer that bundles legacy LangChain chains, re-exports from langchain-community, the indexing API, and deprecated functionality. It exists to support older LangChain applications that have not yet migrated to the current langchain package structure. The package depends on langchain-core, langchain-text-splitters, langsmith, pydantic, pyyaml, requests, sqlalchemy, and async-timeout, making it a bridge between older code and modern LangChain infrastructure.
Most new projects should use the main langchain package instead. This package is intended for teams maintaining existing LangChain applications or gradually migrating legacy code. It is actively maintained and supports Python 3.10 through 3.13.
Use it for
- Migrating older LangChain applications to a newer codebase without rewriting all chain definitions.
- Accessing community integrations and indexing APIs that have been moved or deprecated in the main package.
- Running legacy LangChain code in production while planning a longer-term upgrade path.
- Testing and monitoring legacy LangChain applications with LangSmith integration.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, but only if you are maintaining or migrating existing LangChain code.
If starting a new project, use the main langchain package instead. The package is actively maintained, has no known vulnerabilities, and carries a permissive MIT license. Install friction is low and dependencies are stable.
Install
langchain-classic on PyPI
Before you install
Low friction install with a pure-Python wheel. Active maintenance as of 65 days ago with a large community (144196 stars). Supports current Python versions (3.10–3.13).
Requires Python 3.10 or later (up to <4.0.0). Intended for code that already depends on older LangChain APIs; new projects should use the main langchain package.
License in practice
MIT license permits commercial and private use with minimal restrictions—suitable for most production deployments.
Quickstart
pip install langchain-classic
from langchain_classic import chains
from langchain_classic.indexes import VectorstoreIndexCreator
Verify before relying
- Whether this package is necessary for new projects or only for migrating legacy code.
- Specific deprecation timeline and migration path for features in this package.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0.0,>=3.10.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 8 packagesasync-timeoutlangchain-corelangchain-text-splitterslangsmithpydanticpyyamlrequestssqlalchemy |
| Maintenance | Actively maintained 65 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 22,006,060 / month, #986 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None 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.13Topic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Software Development :: Libraries :: Python Modules |
Evidence: langchain_classic-1.0.8-py3-none-any.whl
Tags
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 › “langchain legacy chains”
- langchain-classicProvides legacy LangChain chains, community integrations, indexing…
- openinference-instrumentation-langchainAuto-instruments LangChain applications to generate…
- langserveLangServe deploys LangChain runnables and chains as REST APIs with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
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.
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.
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.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
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…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also langchain-community · langchain-core · langchain-openai · langchain-google-community · langchain-ollama · langchain · langchain-deepseek · langchain-xai · langserve · langchain-databricks