This will help you get started with Astra DB key-value stores. For detailed documentation of allDocumentation Index
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
Use this file to discover all available pages before exploring further.
AstraDBByteStore features and configurations head to the API reference.
Overview
DataStax Astra DB is a serverless
AI-ready database built on Apache Cassandra® and made conveniently available
through an easy-to-use JSON API.
Integration details
| Class | Package | Local | JS support | Downloads | Version |
|---|---|---|---|---|---|
AstraDBByteStore | langchain-astradb | ❌ | ❌ |
Setup
To create anAstraDBByteStore byte store, you’ll need to create a DataStax account.
Credentials
After signing up, set the following credentials:Installation
The LangChain AstraDB integration lives in thelangchain-astradb package:
Instantiation
Now we can instantiate our byte store:Usage
You can set data under keys like this using themset method:
mdelete method:
AstraDBByteStore anywhere you’d use other ByteStores.
API reference
For detailed documentation of allAstraDBByteStore features and configurations, head to the API reference
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

