Add Hindsight Claude Agent SDK memory integration#699
Open
DK09876 wants to merge 1 commit into
Open
Conversation
Author
|
Friendly bump on this — it adds a Hindsight + Claude Agent SDK memory integration cookbook. Happy to make any changes if a maintainer has feedback. Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a
third_party/Hindsight/cookbook showing how to give a Claude Agent SDK agent long-term memory that persists across sessions, using Hindsight (open-source, MIT) via thehindsight-claude-agent-sdkpackage.The notebook demonstrates both integration patterns:
hindsight_retain/hindsight_recall/hindsight_reflect, called explicitly by the agent.UserPromptSubmit) and the result retained afterward (Stop), with no explicit tool calls — so knowledge compounds across sessions.Changes
third_party/Hindsight/claude_agent_sdk_memory.ipynb— the cookbook (passesscripts/validate_notebooks.py)third_party/Hindsight/README.md— directory front page (mirrors existingthird_party/*READMEs)registry.yaml— entry, categories[Integrations, Claude Agent SDK]authors.yaml— author entryThe notebook requires a running Hindsight instance (Docker one-liner included, or free Hindsight Cloud) and the Claude Code CLI, so cells aren't executed in CI — consistent with other
third_party/integrations (MongoDB, Pinecone, VoyageAI) that need external accounts/keys. Happy to adjust framing or scope.