Install & Compatibility
Where this runs
tested against v1.6.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.312s · 68.8MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 8.0s · import 0.290s · 77MB
71MB installed
● package 71MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
VERSION
✓ from langchain_core import VERSION
✗ from langchain_core import SomeClass
surface_langchain_beta_warnings
✓ from langchain_core import surface_langchain_beta_warnings
✗ from langchain_core import SomeClass
surface_langchain_deprecation_warnings
✓ from langchain_core import surface_langchain_deprecation_warnings
✗ from langchain_core import SomeClass
A basic example demonstrating how to initialize and use a class from langchain_core.
import os
from langchain_core import SomeClass
# Initialize the class with necessary parameters
some_instance = SomeClass(param1=os.environ.get('PARAM1'), param2=os.environ.get('PARAM2'))
# Use the instance to perform tasks
result = some_instance.perform_task()
print(result)
Upgrade
Version history
1.6.0latest on PyPI · released Aug 19, 2026
Audit
Dependencies
requestsrequiredHTTP library for making requests