cortexdb-langchain
LangChain integration for CortexDB long-term memory.
LLM provider note (audit BLK-2): the canonical quickstart uses
from langchain_openai import ChatOpenAIfor the example agent. CortexDB itself is LLM-agnostic — the LangChain example just needs some model to drive the agent. Swap with one line:# OpenAI (default in the docs) from langchain_openai import ChatOpenAI llm = ChatOpenAI(model="gpt-4o") # Anthropic from langchain_anthropic import ChatAnthropic llm = ChatAnthropic(model="claude-sonnet-4-6") # Google from langchain_google_genai import ChatGoogleGenerativeAI llm = ChatGoogleGenerativeAI(model="gemini-1.5-pro") # Local / Ollama (no API key) from langchain_community.chat_models import ChatOllama llm = ChatOllama(model="llama3.1")Nothing in
cortexdb-langchainreadsOPENAI_API_KEY. The retriever and memory classes only talk to the CortexDB v1 surface.
Install
pip install cortexdb-langchain
API base URL
The SDK and integration default to https://api-v1.cortexdb.ai (audit FRI-8).
Override with CORTEXDB_API_URL if you self-host.
Metadata
Release files for cortexdb-langchain 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cortexdb_langchain-0.1.0.tar.gz | 7.5 kB | Without provenance | Details for cortexdb_langchain-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cortexdb_langchain-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for cortexdb_langchain-0.1.0-py3-none-any.whl |
Total release size: 13.8 kB
Release files / cortexdb_langchain-0.1.0.tar.gz
| Download URL | cortexdb_langchain-0.1.0.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d20395a38e11a103b8d3012fc7e162fabf3f827b5f2f61e50252c67c075723ec
|
|
BLAKE2b-256 checksum How to use checksums |
2bc5dc7b14c8048fcbcda2f785d5b872e9326e020449ecc6b7476652a42017a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|
Release files / cortexdb_langchain-0.1.0-py3-none-any.whl
| Download URL | cortexdb_langchain-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4dcd19e099d2a788d9df51a31c16d11e408c0c5ba69b4d9360e145e46ad09e9c
|
|
BLAKE2b-256 checksum How to use checksums |
3b6a054464756e2b9766279a8dd0c0353ba196eb1c9223508d46705e756b8281
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|
Security for cortexdb-langchain 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.