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:Memory Path Structure
All memory paths must start with/memories/:
Paths are normalized for storage:
/memories/preferences is stored as --memories--preferences.Commands Reference
View (Read/List)
Create
String Replace
Insert
Delete
Rename
Complete Example
Environment Variables
Comparison with Other Approaches
Next Steps
AI SDK Integration
Use with Vercel AI SDK for streamlined development
OpenAI SDK
Memory tools for OpenAI function calling