Memory
Core Concepts
Short-Term Memory (Conversation History)
Session 1: user 1
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Role Content
human "What's the weather like in Hanoi today?"
assistant "Currently 28Β°C, partly cloudy in Hanoi."
human "What about tomorrow?"
assistant "Tomorrow: 31Β°C, sunny with light winds."Long-Term Memory (Semantic Facts)
Type
Description
Best For
Data Model
Concept
Description
Lifetime
Namespace Template
Setup β Create Memory Store
Portal
Create a Memory Store
List Memory Stores

Get Memory Store Details

Delete a Memory Store

RESTful API
Create a Memory Store
List Memory Stores
Get Memory Store Details
Delete a Memory Store
SDK
Create a Memory Store
List Memory Stores
Get Memory Store Details
Delete a Memory Store
Step 2 β Use Memory in Your Agent
Approach
When to use
Approach A: Agentic Frameworks (LangGraph / LangChain)
Short-Term Memory β LangGraph Checkpointer
Long-Term Memory β Tool-Based Approach
Full Example: LangGraph Agent with Both Memory Types
Approach B: Direct SDK / REST API
Short-Term Memory
Long-Term Memory
Reference: Browse and Manage Memory Data
List Actors
Browse Memory Records
Memory Service Limits
Parameter
Value
Notes
Troubleshooting
Error
Cause
Fix
Last updated

