Skip to content

LangGraph notebook: replace BaseStore with memory_instructions#36

Draft
DK09876 wants to merge 4 commits into
mainfrom
dk/langgraph-basestore-cookbook
Draft

LangGraph notebook: replace BaseStore with memory_instructions#36
DK09876 wants to merge 4 commits into
mainfrom
dk/langgraph-basestore-cookbook

Conversation

@DK09876

@DK09876 DK09876 commented May 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replace BaseStore pattern (Pattern 3) with memory_instructions() pattern
  • Add "Which pattern should I use?" decision table to help users pick the right approach
  • Update intro, cleanup, and takeaways to reflect the three current patterns: tools, nodes, memory_instructions

Companion to vectorize-io/hindsight#1673 which removes HindsightStore from the integration.

Test plan

  • Run notebook end-to-end against a live Hindsight instance

🤖 Generated with Claude Code

DK09876 and others added 3 commits May 19, 2026 10:54
Extends 06-langgraph-react-agent.ipynb with Pattern 3 demonstrating
HindsightStore as a LangGraph BaseStore: aput, semantic asearch,
and store-backed graph with dependency injection.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace Pattern 3 (BaseStore) with Memory Instructions pattern
- Add "Which pattern should I use?" decision table
- Update intro, cleanup, and takeaways

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…lish)

V2 audit found gpt-4o-mini's tool-choice variance leaving cells 7+8
showing 'I don't have any information' even though the prior cell stored
exactly the asked-about info. Same fix template the Claude SDK cookbook
(commit d92ccab) used: prepend explicit recall directives so the model
doesn't have to choose.

Integration code unchanged.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant