Name | langchain-core JSON |
Version |
0.3.76
JSON |
| download |
home_page | None |
Summary | Building applications with LLMs through composability |
upload_time | 2025-09-10 14:49:39 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | MIT |
keywords |
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 🦜🍎️ LangChain Core
[](https://opensource.org/licenses/MIT)
[](https://pypistats.org/packages/langchain-core)
## Quick Install
```bash
pip install langchain-core
```
## What is it?
LangChain Core contains the base abstractions that power the 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.
For full documentation see the [API reference](https://python.langchain.com/api_reference/core/index.html).
## ⛰️ 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.
## 1️⃣ Core Interface: Runnables
The concept of a `Runnable` is central to LangChain Core – it is the interface that most LangChain Core components implement, giving them
- A common invocation interface (`invoke()`, `batch()`, `stream()`, etc.)
- Built-in utilities for retries, fallbacks, schemas and runtime configurability
- Easy deployment with [LangGraph](https://github.com/langchain-ai/langgraph)
For more check out the [`Runnable` docs](https://python.langchain.com/docs/concepts/runnables/). Examples of components that implement the interface include: Chat Models, Tools, Retrievers, and Output Parsers.
## 📕 Releases & Versioning
As `langchain-core` contains the base abstractions and runtime for the whole LangChain ecosystem, we will communicate any breaking changes with advance notice and version bumps. The exception for this is anything in `langchain_core.beta`. The reason for `langchain_core.beta` is that given the rate of change of the field, being able to move quickly is still a priority, and this module is our attempt to do so.
Minor version increases will occur for:
- Breaking changes for any public interfaces NOT in `langchain_core.beta`
Patch version increases will occur for:
- Bug fixes
- New features
- Any changes to private interfaces
- Any changes to `langchain_core.beta`
## 💁 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](https://python.langchain.com/docs/contributing/).
Raw data
{
"_id": null,
"home_page": null,
"name": "langchain-core",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/4f/4d/5e2ea7754ee0a1f524c412801c6ba9ad49318ecb58b0d524903c3d9efe0a/langchain_core-0.3.76.tar.gz",
"platform": null,
"description": "# \ud83e\udd9c\ud83c\udf4e\ufe0f LangChain Core\n\n[](https://opensource.org/licenses/MIT)\n[](https://pypistats.org/packages/langchain-core)\n\n## Quick Install\n\n```bash\npip install langchain-core\n```\n\n## What is it?\n\nLangChain Core contains the base abstractions that power the the LangChain ecosystem.\n\nThese abstractions are designed to be as modular and simple as possible.\n\nThe 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.\n\nFor full documentation see the [API reference](https://python.langchain.com/api_reference/core/index.html).\n\n## \u26f0\ufe0f Why build on top of LangChain Core?\n\nThe LangChain ecosystem is built on top of `langchain-core`. Some of the benefits:\n\n- **Modularity**: We've designed Core around abstractions that are independent of each other, and not tied to any specific model provider.\n- **Stability**: We are committed to a stable versioning scheme, and will communicate any breaking changes with advance notice and version bumps.\n- **Battle-tested**: Core components have the largest install base in the LLM ecosystem, and are used in production by many companies.\n\n## 1\ufe0f\u20e3 Core Interface: Runnables\n\nThe concept of a `Runnable` is central to LangChain Core \u2013 it is the interface that most LangChain Core components implement, giving them\n\n- A common invocation interface (`invoke()`, `batch()`, `stream()`, etc.)\n- Built-in utilities for retries, fallbacks, schemas and runtime configurability\n- Easy deployment with [LangGraph](https://github.com/langchain-ai/langgraph)\n\nFor more check out the [`Runnable` docs](https://python.langchain.com/docs/concepts/runnables/). Examples of components that implement the interface include: Chat Models, Tools, Retrievers, and Output Parsers.\n\n## \ud83d\udcd5 Releases & Versioning\n\nAs `langchain-core` contains the base abstractions and runtime for the whole LangChain ecosystem, we will communicate any breaking changes with advance notice and version bumps. The exception for this is anything in `langchain_core.beta`. The reason for `langchain_core.beta` is that given the rate of change of the field, being able to move quickly is still a priority, and this module is our attempt to do so.\n\nMinor version increases will occur for:\n\n- Breaking changes for any public interfaces NOT in `langchain_core.beta`\n\nPatch version increases will occur for:\n\n- Bug fixes\n- New features\n- Any changes to private interfaces\n- Any changes to `langchain_core.beta`\n\n## \ud83d\udc81 Contributing\n\nAs 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.\n\nFor detailed information on how to contribute, see the [Contributing Guide](https://python.langchain.com/docs/contributing/).\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Building applications with LLMs through composability",
"version": "0.3.76",
"project_urls": {
"Release Notes": "https://github.com/langchain-ai/langchain/releases?q=tag%3A%22langchain-core%3D%3D0%22&expanded=true",
"Source Code": "https://github.com/langchain-ai/langchain/tree/master/libs/core",
"repository": "https://github.com/langchain-ai/langchain"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "77b5501c0ffcb09c734457ceaa86bc7b1dd37b6a261147bd653add03b838aacb",
"md5": "ef43ea8f29c3b80e4f504c6349faf9e1",
"sha256": "46e0eb48c7ac532432d51f8ca1ece1804c82afe9ae3dcf027b867edadf82b3ec"
},
"downloads": -1,
"filename": "langchain_core-0.3.76-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ef43ea8f29c3b80e4f504c6349faf9e1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 447508,
"upload_time": "2025-09-10T14:49:38",
"upload_time_iso_8601": "2025-09-10T14:49:38.179072Z",
"url": "https://files.pythonhosted.org/packages/77/b5/501c0ffcb09c734457ceaa86bc7b1dd37b6a261147bd653add03b838aacb/langchain_core-0.3.76-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "4f4d5e2ea7754ee0a1f524c412801c6ba9ad49318ecb58b0d524903c3d9efe0a",
"md5": "c3758005a43c730bb09941f9240a1be0",
"sha256": "71136a122dd1abae2c289c5809d035cf12b5f2bb682d8a4c1078cd94feae7419"
},
"downloads": -1,
"filename": "langchain_core-0.3.76.tar.gz",
"has_sig": false,
"md5_digest": "c3758005a43c730bb09941f9240a1be0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 573568,
"upload_time": "2025-09-10T14:49:39",
"upload_time_iso_8601": "2025-09-10T14:49:39.863353Z",
"url": "https://files.pythonhosted.org/packages/4f/4d/5e2ea7754ee0a1f524c412801c6ba9ad49318ecb58b0d524903c3d9efe0a/langchain_core-0.3.76.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-10 14:49:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "langchain-ai",
"github_project": "langchain",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "langchain-core"
}