[PR #3604] docs(js): add @betterdb/agent-cache LLM cache integration #3644

Open
opened 2026-06-05 18:23:47 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3604
Author: @KIvanow
Created: 4/16/2026
Status: 🔄 Open

Base: mainHead: add-betterdb-checkpointer


📝 Commits (3)

  • 2c13256 docs(js): add @betterdb/agent-cache LLM cache integration
  • f90c61c docs(js): expand BetterDB page with semantic cache and LangGraph checkpointer
  • 51375d3 Merge branch 'main' into add-betterdb-checkpointer

📊 Changes

3 files changed (+221 additions, -0 deletions)

View changed files

src/oss/javascript/integrations/llm_caching/betterdb.mdx (+206 -0)
📝 src/oss/javascript/integrations/llm_caching/index.mdx (+8 -0)
📝 src/oss/javascript/integrations/providers/all_providers.mdx (+7 -0)

📄 Description

Summary

Adds LangChain.js documentation for @betterdb/agent-cache, a multi-tier cache for AI agent workloads backed by Valkey or Redis.

This PR scope is limited to the LLM cache integration (BetterDBLlmCache → LangChain BaseCache). The LangGraph checkpointer piece is tracked separately in #3603 and will be a follow-up PR pending the structural questions raised there.

Changes

  1. New: src/oss/javascript/integrations/llm_caching/betterdb.mdx
    Integration page following the azure_cosmosdb_nosql.mdx template.

  2. Modified: src/oss/javascript/integrations/llm_caching/index.mdx
    Added a card for the new page inside the existing <Columns> block.

  3. Modified: src/oss/javascript/integrations/providers/all_providers.mdx
    Added a card in the "LLM caching" section.

Package info

Nav

No docs.json changes. The new page is discoverable via the index card, matching the pattern used by every other category under the JS "General integrations" group (each lists only the index, individual pages are reached from the index card grid).

Related

  • #3603 — tracking issue for the companion LangGraph checkpointer work.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/3604 **Author:** [@KIvanow](https://github.com/KIvanow) **Created:** 4/16/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `add-betterdb-checkpointer` --- ### 📝 Commits (3) - [`2c13256`](https://github.com/langchain-ai/docs/commit/2c1325625ed3da24e77feeff1c9dc6e6ac62909d) docs(js): add @betterdb/agent-cache LLM cache integration - [`f90c61c`](https://github.com/langchain-ai/docs/commit/f90c61c383edb0159aae569cce23ff88fbf3112f) docs(js): expand BetterDB page with semantic cache and LangGraph checkpointer - [`51375d3`](https://github.com/langchain-ai/docs/commit/51375d3c1f2e77cf5699557d4f69f60f187da7ac) Merge branch 'main' into add-betterdb-checkpointer ### 📊 Changes **3 files changed** (+221 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `src/oss/javascript/integrations/llm_caching/betterdb.mdx` (+206 -0) 📝 `src/oss/javascript/integrations/llm_caching/index.mdx` (+8 -0) 📝 `src/oss/javascript/integrations/providers/all_providers.mdx` (+7 -0) </details> ### 📄 Description ## Summary Adds LangChain.js documentation for `@betterdb/agent-cache`, a multi-tier cache for AI agent workloads backed by Valkey or Redis. This PR scope is limited to the LLM cache integration (`BetterDBLlmCache` → LangChain `BaseCache`). The LangGraph checkpointer piece is tracked separately in #3603 and will be a follow-up PR pending the structural questions raised there. ## Changes 1. **New**: `src/oss/javascript/integrations/llm_caching/betterdb.mdx` Integration page following the `azure_cosmosdb_nosql.mdx` template. 2. **Modified**: `src/oss/javascript/integrations/llm_caching/index.mdx` Added a card for the new page inside the existing `<Columns>` block. 3. **Modified**: `src/oss/javascript/integrations/providers/all_providers.mdx` Added a card in the "LLM caching" section. ## Package info - npm: https://www.npmjs.com/package/@betterdb/agent-cache - The package is JavaScript/TypeScript only, no Python equivalent. - Works on vanilla Valkey 7+, Redis 6.2+, and managed equivalents (ElastiCache, Memorystore, MemoryDB) with no module requirements. ## Nav No `docs.json` changes. The new page is discoverable via the index card, matching the pattern used by every other category under the JS "General integrations" group (each lists only the index, individual pages are reached from the index card grid). ## Related - #3603 — tracking issue for the companion LangGraph checkpointer work. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 18:23:47 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#3644