This library uses YouTube API Services. Loading it requests thumbnails from Google; playing a video loads YouTube’s player. By continuing, you agree to the privacy notice and YouTube Terms of Service. See also the Google Privacy Policy.
Adding Memory to LangGraph Agents with Lakebase
In this video we expand on the LangGraph supervisor agent that we built and integrate Lakebase for both short and long term memory.
Video Resources
- Notion Page: https://tame-talon-a1b.notion.site/Adding-Memory-to-LangGraph-Agents-with-Lakebase-389386b8765c80f19a70d6e880e6928b
- Code Sample: https://github.com/RamVegiraju/langgraph-supervisor-dbx-apps/tree/main/part-2-memory
- LangGraph Supervisor (Previous Video): https://www.youtube.com/watch?v=FI8OcrLBI6Q
- Lakebase Memory Primer: https://www.youtube.com/watch?v=X5MwnW4Axhc&t=52s
- Memory P
In this video we explore how you can build a custom supervisor agent architecture utilizing LangGraph. In the next video in the series we expand on this by integrating Lakebase for memory.
Video Resources
- Notion Page (Video Notes): https://tame-talon-a1b.notion.site/Building-Supervisor-Agents-with-LangGraph-387386b8765c8024893ddfbce063de31
- Code Sample: https://github.com/RamVegiraju/langgraph-supervisor-dbx-apps/tree/main/part-1-local-supervisor
- LangGraph Primer: https://academy.langchain.com/courses/intro-to-langgraph
Timestamps
0:00 Introduction
3:10 LangChain vs LangGraph
7:10 Super
In this video we expand upon our previous video in terms of different memory concepts to understand, by seeing how Lakebase a serverless postgres engine can help build out some of these contracts.
CALLOUT
A quick call out I believe I misworded the pgvector portion slightly and didn’t want to be misleading. It’s a little different from AI Search which is a managed RAG solution where you can utilize an embeddings model and let it generate the embeddings for you. For pgvector you want to come with embeddings generated, which is where you can use the FM API to leverage the pre-hosted embeddings m
In this video we have a bit more of a theoretical discussion around the different types of Agentic memories to be aware of when designing your Agent.
Video Resources
- MemAlign (contains the arch diagram): https://www.databricks.com/blog/memalign-building-better-llm-judges-human-feedback-scalable-memory
- Memory Scaling for AI Agents: https://www.databricks.com/blog/memory-scaling-ai-agents
Timestamps
0:00 Introduction
1:05 Memory Importance
3:45 Short-term memory
6:00 Episodic memory
8:40 Semantic Memory
#agents #llms #generativeai #agentmemory