[PR #2957] [MERGED] feat: improve long-term memory docs and discoverability #3039

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/2957
Author: @npentrel
Created: 3/6/2026
Status: Merged
Merged: 3/18/2026
Merged by: @npentrel

Base: mainHead: open-swe/4ac2e594-9545-d401-760e-5bfd7515ad9b


📝 Commits (10+)

📊 Changes

35 files changed (+1584 additions, -310 deletions)

View changed files

📝 .github/workflows/test-code-samples.yml (+37 -0)
📝 pyproject.toml (+2 -0)
scripts/filter_broken_links_by_file.py (+33 -0)
📝 scripts/test_code_samples.py (+4 -0)
src/code-samples/conftest.py (+128 -0)
src/code-samples/langchain/long-term-memory-create-agent-inmemory.py (+21 -0)
src/code-samples/langchain/long-term-memory-create-agent-inmemory.ts (+23 -0)
src/code-samples/langchain/long-term-memory-create-agent-postgres.py (+30 -0)
src/code-samples/langchain/long-term-memory-create-agent-postgres.ts (+24 -0)
src/code-samples/langchain/long-term-memory-read-tool-inmemory.py (+65 -0)
src/code-samples/langchain/long-term-memory-read-tool-inmemory.ts (+85 -0)
src/code-samples/langchain/long-term-memory-read-tool-postgres.py (+57 -0)
src/code-samples/langchain/long-term-memory-read-tool-postgres.ts (+93 -0)
src/code-samples/langchain/long-term-memory-storage-inmemory.py (+50 -0)
src/code-samples/langchain/long-term-memory-storage-inmemory.ts (+66 -0)
src/code-samples/langchain/long-term-memory-storage-postgres.py (+58 -0)
src/code-samples/langchain/long-term-memory-storage-postgres.ts (+90 -0)
src/code-samples/langchain/long-term-memory-write-tool-inmemory.py (+67 -0)
src/code-samples/langchain/long-term-memory-write-tool-inmemory.ts (+88 -0)
src/code-samples/langchain/long-term-memory-write-tool-postgres.py (+69 -0)

...and 15 more files

📄 Description

Description

Improves the long-term memory documentation and its discoverability from the short-term memory page.

Also made the code snippets testable and added more


🔄 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/2957 **Author:** [@npentrel](https://github.com/npentrel) **Created:** 3/6/2026 **Status:** ✅ Merged **Merged:** 3/18/2026 **Merged by:** [@npentrel](https://github.com/npentrel) **Base:** `main` ← **Head:** `open-swe/4ac2e594-9545-d401-760e-5bfd7515ad9b` --- ### 📝 Commits (10+) - [`bad4d4f`](https://github.com/langchain-ai/docs/commit/bad4d4f12de4711f0b467ad062691f38f2096b86) Improve long-term memory docs with setup guidance and cross-link from short-term memory page - [`277b9d1`](https://github.com/langchain-ai/docs/commit/277b9d15574be60333584f40108311dd646cf158) add tabs - [`fc9f70f`](https://github.com/langchain-ai/docs/commit/fc9f70fdc7ed9ca09bd6afdea65f1a59ef2ac6e8) make code samples testable - [`f8247b5`](https://github.com/langchain-ai/docs/commit/f8247b5a33224ae212a03dc2126eebd756ac3531) update - [`da3e616`](https://github.com/langchain-ai/docs/commit/da3e616023082b947c81cbe3159f0ab16efc8bc6) fix tests - [`5807da0`](https://github.com/langchain-ai/docs/commit/5807da052f9ad84c3d04d58aa4b52db593fa2d5a) update - [`d27e2ec`](https://github.com/langchain-ai/docs/commit/d27e2ec98c5cd2e340be7b1960025793607cbf90) -am - [`2b49b99`](https://github.com/langchain-ai/docs/commit/2b49b99b0909dae1dd598bad463df4542af6231c) update - [`7d249a3`](https://github.com/langchain-ai/docs/commit/7d249a3eff575638e72074eee0416c6eba38eed6) cr - [`f921f59`](https://github.com/langchain-ai/docs/commit/f921f59e9f02dffaefdc85dc4c42f32e2e1ec657) cr ### 📊 Changes **35 files changed** (+1584 additions, -310 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/test-code-samples.yml` (+37 -0) 📝 `pyproject.toml` (+2 -0) ➕ `scripts/filter_broken_links_by_file.py` (+33 -0) 📝 `scripts/test_code_samples.py` (+4 -0) ➕ `src/code-samples/conftest.py` (+128 -0) ➕ `src/code-samples/langchain/long-term-memory-create-agent-inmemory.py` (+21 -0) ➕ `src/code-samples/langchain/long-term-memory-create-agent-inmemory.ts` (+23 -0) ➕ `src/code-samples/langchain/long-term-memory-create-agent-postgres.py` (+30 -0) ➕ `src/code-samples/langchain/long-term-memory-create-agent-postgres.ts` (+24 -0) ➕ `src/code-samples/langchain/long-term-memory-read-tool-inmemory.py` (+65 -0) ➕ `src/code-samples/langchain/long-term-memory-read-tool-inmemory.ts` (+85 -0) ➕ `src/code-samples/langchain/long-term-memory-read-tool-postgres.py` (+57 -0) ➕ `src/code-samples/langchain/long-term-memory-read-tool-postgres.ts` (+93 -0) ➕ `src/code-samples/langchain/long-term-memory-storage-inmemory.py` (+50 -0) ➕ `src/code-samples/langchain/long-term-memory-storage-inmemory.ts` (+66 -0) ➕ `src/code-samples/langchain/long-term-memory-storage-postgres.py` (+58 -0) ➕ `src/code-samples/langchain/long-term-memory-storage-postgres.ts` (+90 -0) ➕ `src/code-samples/langchain/long-term-memory-write-tool-inmemory.py` (+67 -0) ➕ `src/code-samples/langchain/long-term-memory-write-tool-inmemory.ts` (+88 -0) ➕ `src/code-samples/langchain/long-term-memory-write-tool-postgres.py` (+69 -0) _...and 15 more files_ </details> ### 📄 Description ## Description Improves the long-term memory documentation and its discoverability from the short-term memory page. Also made the code snippets testable and added more --- <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:20:54 -04:00
yindo closed this issue 2026-06-05 18:20:54 -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#3039