Memory Architecture & API Mapping
Four-layer memory model (L0-L3) mapped to Classic API endpoints for reading and writing.
The Four Layers
Layer
Name
Description
API Access
Layer-by-Layer API Mapping
L0: Raw Transcripts
from amigo_sdk import AmigoClient
with AmigoClient(
api_key="your-api-key",
api_key_id="your-api-key-id",
user_id="your-user-id",
organization_id="your-org-id"
) as client:
messages = client.conversation.get_messages(
conversation_id="conv_abc123"
)
for msg in messages:
print(f"[{msg.role}] {msg.content}")curl -s "https://api.amigo.ai/v1/${ORG_ID}/conversation/${CONVERSATION_ID}/messages/" \
-H "Authorization: Bearer ${API_KEY}"L1: Extracted Memories
L2: Episodic User Models
L3: Global User Model
Enriching the User Model
Knowing When Memories and Models Update
Practical Pattern: React to New Memories
Summary Table
What You Want to Do
API Endpoint
When Available
Last updated
Was this helpful?

