Skip to main content

Building applications with LLMs through composability

Project description

🦜🍎️ LangChain Core

PyPI - Version PyPI - License PyPI - Downloads Twitter

Looking for the JS/TS version? Check out LangChain.js.

To help you ship LangChain apps to production faster, check out LangSmith. LangSmith is a unified developer platform for building, testing, and monitoring LLM applications.

Quick Install

pip install langchain-core

🤔 What is this?

LangChain Core contains the base abstractions that power the LangChain ecosystem.

These abstractions are designed to be as modular and simple as possible.

The benefit of having these abstractions is that any provider can implement the required interface and then easily be used in the rest of the LangChain ecosystem.

⛰️ Why build on top of LangChain Core?

The LangChain ecosystem is built on top of langchain-core. Some of the benefits:

  • Modularity: We've designed Core around abstractions that are independent of each other, and not tied to any specific model provider.
  • Stability: We are committed to a stable versioning scheme, and will communicate any breaking changes with advance notice and version bumps.
  • Battle-tested: Core components have the largest install base in the LLM ecosystem, and are used in production by many companies.

📖 Documentation

For full documentation, see the API reference. For conceptual guides, tutorials, and examples on using LangChain, see the LangChain Docs. You can also chat with the docs using Chat LangChain.

📕 Releases & Versioning

See our Releases and Versioning policies.

💁 Contributing

As an open-source project in a rapidly developing field, we are extremely open to contributions, whether it be in the form of a new feature, improved infrastructure, or better documentation.

For detailed information on how to contribute, see the Contributing Guide.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_core-1.2.21.tar.gz (841.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

langchain_core-1.2.21-py3-none-any.whl (505.8 kB view details)

Uploaded Python 3

File details

Details for the file langchain_core-1.2.21.tar.gz.

File metadata

  • Download URL: langchain_core-1.2.21.tar.gz
  • Upload date:
  • Size: 841.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for langchain_core-1.2.21.tar.gz
Algorithm Hash digest
SHA256 1a121d13976dc0908d5a8222262810ea483a4cf2b05006bdba75df5b11b554b3
MD5 d3b5a5bd457fb41d56151acff47e43a7
BLAKE2b-256 8be4135ef5bbb5b97bdf15f777b86d7fba2ef8a162723ae96b3c7c1add9891a9

See more details on using hashes here.

File details

Details for the file langchain_core-1.2.21-py3-none-any.whl.

File metadata

  • Download URL: langchain_core-1.2.21-py3-none-any.whl
  • Upload date:
  • Size: 505.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for langchain_core-1.2.21-py3-none-any.whl
Algorithm Hash digest
SHA256 486cb405e2ecb0c407cb5fb5379ed0f919eb4b8a868b60cc8c3c15a3dfb560a7
MD5 ace9c8d3e43839bb2d98c98117417287
BLAKE2b-256 5daef7591e57d4c6b64b521f9832fc471070902718c59bf135401f3b90a3f7ef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page