feat: add LangGraph and LangChain cookbook notebooks#17
Open
feat: add LangGraph and LangChain cookbook notebooks#17
Conversation
ea78761 to
def3ce3
Compare
- 06-langgraph-react-agent: ReAct agent with tools pattern + automatic memory nodes pattern - 07-langchain-memory: Single-turn chatbot with bind_tools() and manual tool execution loop - Both support Hindsight Cloud and self-hosted setups Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
def3ce3 to
9db3b58
Compare
- Add cross-reference from notebook 06 to 07 (and vice versa) - Add asyncio.sleep explanation comments - Fix "single-turn" wording in notebook 07 - Remove unused AIMessage import - Add OPENAI_API_KEY note to setup sections - Standardize Docker model to gpt-4o-mini across all notebooks Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Changed default from cloud URL to http://localhost:8888 so users following the Docker quick start don't accidentally hit cloud. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
06-langgraph-react-agent.ipynb— ReAct agent with tools pattern (agent-driven memory) + nodes pattern (automatic memory injection/storage)07-langchain-memory.ipynb— Plain LangChain chatbot usingbind_tools()with a manual tool execution loopTest plan
06-langgraph-react-agent.ipynbend-to-end with a local Hindsight instance07-langchain-memory.ipynbend-to-end with a local Hindsight instancesync-cookbookand verify both appear in the docs cookbook index🤖 Generated with Claude Code