This integration works with Claude’s built-in
memory tool type, introduced in the Anthropic API. It requires the context-management beta flag.Installation
Quick Start
Configuration
How It Works
Claude’s memory tool uses a file-system metaphor. Supermemory maps these operations to document storage:| Claude Command | Supermemory Action |
|---|---|
view | Search/retrieve documents |
create | Add new document |
str_replace | Update document content |
insert | Insert content at line |
delete | Delete document |
rename | Move document to new path |
Memory Path Structure
All memory paths must start with/memories/:
Commands Reference
View (Read/List)
Create
String Replace
Insert
Delete
Rename
Complete Example
Environment Variables
Next Steps
AI SDK Integration
Use with Vercel AI SDK for streamlined development
OpenAI SDK
Memory tools for OpenAI function calling