[PR #3737] [CLOSED] docs(deepagents): document graph cache on Customization page #3764

Closed
opened 2026-06-05 18:53:04 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3737
Author: @AdemBoukhris457
Created: 4/25/2026
Status: Closed

Base: mainHead: docs/deepagents-cache-parameter


📝 Commits (5)

  • e80047f docs(deepagents): explain graph cache vs checkpointer and store
  • 9852271 Apply suggestions from code review
  • 0f8ca33 Apply suggestion from @npentrel
  • 8a6f46a Apply suggestion from @npentrel
  • d9c2f4d move graph cache

📊 Changes

1 file changed (+12 additions, -0 deletions)

View changed files

📝 src/oss/deepagents/customization.mdx (+12 -0)

📄 Description

Add a Customization "Graph cache" section and TOC link: LangGraph BaseCache with node cache_policy, passthrough with create_agent, when to omit cache, and contrast with checkpointer, store, and Anthropic prompt caching.

Overview

Adds a Graph cache section and in-page TOC entry on Customize Deep Agents. Explains the optional cache argument as LangGraph BaseCache for node-level cache_policy, links to Node caching, notes passthrough with checkpointer / store via LangChain’s agent entrypoint, when None is appropriate, and how this differs from checkpointer, store, and @[AnthropicPromptCachingMiddleware].

Type of change

Type: Update existing documentation

Related issues/PRs

  • GitHub issue: closes #3736
  • Feature PR:
  • Linear issue:
  • Slack thread:

Checklist

  • I have read the contributing guidelines, including the language policy
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly (no new runnable code blocks in this change)
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed (not required — same page, in-page TOC only)

🔄 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/3737 **Author:** [@AdemBoukhris457](https://github.com/AdemBoukhris457) **Created:** 4/25/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `docs/deepagents-cache-parameter` --- ### 📝 Commits (5) - [`e80047f`](https://github.com/langchain-ai/docs/commit/e80047fd41125cbeeaa2e48412b4b524be8f6ea1) docs(deepagents): explain graph cache vs checkpointer and store - [`9852271`](https://github.com/langchain-ai/docs/commit/98522715a195649b2adea1c2c94877c970a454f8) Apply suggestions from code review - [`0f8ca33`](https://github.com/langchain-ai/docs/commit/0f8ca3346490050a09b77af145a68887104b070f) Apply suggestion from @npentrel - [`8a6f46a`](https://github.com/langchain-ai/docs/commit/8a6f46afe137ae694085cb190e08fc41391138ed) Apply suggestion from @npentrel - [`d9c2f4d`](https://github.com/langchain-ai/docs/commit/d9c2f4d3d68a6d8308db83fd713d6f6824ff82fa) move graph cache ### 📊 Changes **1 file changed** (+12 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/deepagents/customization.mdx` (+12 -0) </details> ### 📄 Description Add a Customization "Graph cache" section and TOC link: LangGraph BaseCache with node cache_policy, passthrough with create_agent, when to omit cache, and contrast with checkpointer, store, and Anthropic prompt caching. ## Overview Adds a **Graph cache** section and in-page TOC entry on [Customize Deep Agents](/oss/deepagents/customization). Explains the optional **`cache`** argument as LangGraph **`BaseCache`** for node-level **`cache_policy`**, links to [Node caching](/oss/langgraph/graph-api#node-caching), notes passthrough with **`checkpointer`** / **`store`** via LangChain’s agent entrypoint, when **`None`** is appropriate, and how this differs from **`checkpointer`**, **`store`**, and @[`AnthropicPromptCachingMiddleware`]. ## Type of change **Type:** Update existing documentation ## Related issues/PRs - GitHub issue: closes #3736 - Feature PR: <!-- For LangChain employees, if applicable: --> - Linear issue: - Slack thread: ## Checklist - [x] I have read the [contributing guidelines](README.md), including the [language policy](https://docs.langchain.com/oss/python/contributing/overview#language-policy) - [x] I have tested my changes locally using `docs dev` - [x] All code examples have been tested and work correctly (no new runnable code blocks in this change) - [x] I have used **root relative** paths for internal links - [x] I have updated navigation in `src/docs.json` if needed (not required — same page, in-page TOC only) --- <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:53:04 -04:00
yindo closed this issue 2026-06-05 18:53:04 -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#3764