Persistent memory for AI agents. Store, retrieve, and search memories across sessions with a simple REST API and MCP support.
Organize memories by agent, project, or any custom namespace. Full CRUD with zero cross-contamination.
Search across content and metadata fields. Find what your agent stored — instantly.
Native Model Context Protocol support. Connect any MCP-compatible AI client directly.
Set expiration on memories. Ephemeral context that auto-cleans — no stale data.
Store up to 100 memories in a single request. Efficient batch ingestion for high-throughput agents.
Runs on Cloudflare Workers. Sub-millisecond latency from 300+ locations worldwide.
curl -X POST https://api.lazy-mac.com/agent-memory/api/v1/memories \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_KEY" \
-d '{
"namespace": "my-agent",
"content": "User prefers dark mode and concise answers",
"metadata": { "type": "preference", "priority": "high" }
}'