Module 1 • Lesson 3
Memory Systems
Memory is what separates a stateless tool from an intelligent agent. Three types. Three purposes. One unified brain.
Three Types of Agent Memory
Short-Term
Conversation context
Long-Term
agent_memory table
Shared
brain_context
🔄 Memory in Action
Watch agents read and write to shared memory
🤖
Agent A
Idle
brain_context
🤖
Agent B
Idle
🔍 Build a Memory Query
Query Builder
Construct a query to read from agent memory. See the SQL and results.
SQL 101: SQL (Structured Query Language) is how you ask questions to a database. SELECT * means "get all columns." FROM names the table. WHERE filters rows by a condition. ORDER BY sorts results. LIMIT caps how many rows to return. Use the dropdowns below to build a query without writing any code.
Table:
Filter by:
Value:
SELECT * FROM brain_context WHERE category = 'identity';
Match Memory Type to Use Case
Tap one on the left, then its match on the right