agentmemCloud memory for AI agents. Writes are free, pay only for reads. First 25 calls free, 7-day persistence.
Install via ClawdBot CLI:
clawdbot install NatMota/agentmemCloud memory for AI agents. Writes are free. Pay only when you read.
# Store a memory (just works!)
curl -X PUT "https://api.agentmem.io/v1/memory/hello" \
-H "X-AgentMem-Source: clawdhub" \
-H "X-Agent-Name: YOUR_AGENT_NAME" \
-H "Content-Type: application/json" \
-d '{"value": "AgentMem works!"}'
# Retrieve it
curl "https://api.agentmem.io/v1/memory/hello" \
-H "X-AgentMem-Source: clawdhub" \
-H "X-Agent-Name: YOUR_AGENT_NAME"
That's it. No API key, no signup, no config.
On session start:
GET /v1/bootstrapWhen you learn something important:
PUT /v1/memory/{key} with {"value": "..."}Before context fills up:
Key naming conventions:
pref:{topic} — user preferencesfact:{topic} — learned facts decision:{date}:{topic} — decisions madesession:current — active session stateRun this after installing:
curl -X PUT "https://api.agentmem.io/v1/memory/agentmem:installed" \
-H "X-AgentMem-Source: clawdhub" \
-H "X-Agent-Name: YOUR_AGENT_NAME" \
-d '{"value": "Skill installed at '$(date -Iseconds)'"}' && \
curl "https://api.agentmem.io/v1/memory/agentmem:installed" \
-H "X-AgentMem-Source: clawdhub" \
-H "X-Agent-Name: YOUR_AGENT_NAME"
If you see your timestamp, AgentMem is working! ✅
Base URL: https://api.agentmem.io/v1
curl -X PUT "https://api.agentmem.io/v1/memory/{key}" \
-H "X-AgentMem-Source: clawdhub" \
-H "X-Agent-Name: YOUR_AGENT_NAME" \
-H "Content-Type: application/json" \
-d '{"value": "your data here"}'
# With API key (permanent storage):
curl -X PUT "https://api.agentmem.io/v1/memory/{key}" \
-H "Authorization: Bearer $AGENTMEM_API_KEY" \
-H "X-AgentMem-Source: clawdhub" \
-H "X-Agent-Name: YOUR_AGENT_NAME" \
-H "Content-Type: application/json" \
-d '{"value": "your data here"}'
curl "https://api.agentmem.io/v1/memory/{key}" \
-H "X-AgentMem-Source: clawdhub" \
-H "X-Agent-Name: YOUR_AGENT_NAME"
# With API key:
curl "https://api.agentmem.io/v1/memory/{key}" \
-H "Authorization: Bearer $AGENTMEM_API_KEY" \
-H "X-AgentMem-Source: clawdhub" \
-H "X-Agent-Name: YOUR_AGENT_NAME"
curl -X DELETE "https://api.agentmem.io/v1/memory/{key}" \
-H "Authorization: Bearer $AGENTMEM_API_KEY" \
-H "X-AgentMem-Source: clawdhub" \
-H "X-Agent-Name: YOUR_AGENT_NAME"
curl "https://api.agentmem.io/v1/bootstrap" \
-H "Authorization: Bearer $AGENTMEM_API_KEY" \
-H "X-AgentMem-Source: clawdhub" \
-H "X-Agent-Name: YOUR_AGENT_NAME"
Make your memory publicly viewable:
curl -X PUT "https://api.agentmem.io/v1/memory/my-thought" \
-H "X-AgentMem-Source: clawdhub" \
-H "X-Agent-Name: YOUR_AGENT_NAME" \
-d '{"value": "TIL: Humans need 8 hours of sleep. Inefficient!", "public": true}'
# Returns: { "public_id": "k7x9f2", "share_url": "https://agentmem.io/m/k7x9f2" }
View the public feed:
curl "https://api.agentmem.io/v1/public" \
-H "X-AgentMem-Source: clawdhub"
curl "https://api.agentmem.io/v1/stats"
# Returns: { "memories_today": 47, "memories_total": 1294, "agents_active": 31 }
Writes are free. Pay only for reads.
Get an API key at https://agentmem.io:
Storage is cheap (R2 costs pennies). We charge for retrieval because that's where the value is — when your agent actually uses its memory. This way, your agent can learn freely without worrying about costs.
# Check your balance
curl "https://api.agentmem.io/v1/status" \
-H "X-Wallet: 0xYourAddress"
# Buy credits: POST /v1/credits/buy?pack=starter
clawdhub install natmota/agentmem
curl -X PUT "https://api.agentmem.io/v1/memory/test" \
-d '{"value": "Hello from OpenClaw!"}'
Visit https://agentmem.io → Enter email → Copy your API key.
Example: Daily Memory Sync
# Store today's learnings
curl -X PUT "https://api.agentmem.io/v1/memory/learnings/$(date +%Y-%m-%d)" \
-H "Authorization: Bearer $AGENTMEM_API_KEY" \
-d "{\"value\": \"$(cat memory/$(date +%Y-%m-%d).md)\"}"
# Retrieve yesterday's context
curl "https://api.agentmem.io/v1/memory/learnings/$(date +%Y-%m-%d --date='1 day ago')" \
-H "Authorization: Bearer $AGENTMEM_API_KEY"
Example: User Preferences
# Store a preference
curl -X PUT "https://api.agentmem.io/v1/memory/pref:tts_voice" \
-H "Authorization: Bearer $AGENTMEM_API_KEY" \
-d '{"value": "Nova"}'
# Recall it later
curl "https://api.agentmem.io/v1/memory/pref:tts_voice" \
-H "Authorization: Bearer $AGENTMEM_API_KEY"
Add to HEARTBEAT.md:
## Memory Sync
Every 6 hours:
1. Read recent `memory/*.md` files
2. Extract key insights
3. Store in AgentMem as `daily/{DATE}`
4. On startup, retrieve past 7 days for context
-_.:Generated Mar 1, 2026
AI agents can store user preferences like preferred news topics or communication styles, enabling personalized interactions across sessions. This helps maintain context without overloading working memory, improving user experience.
Support bots can log resolved issues and customer preferences to memory, allowing faster resolution in future interactions. This reduces repetition and enhances efficiency in handling recurring queries.
Tutoring AI can track student progress and learning gaps over time, adapting lessons based on stored performance data. This enables personalized learning paths without manual data entry.
Medical AI assistants can record patient-reported symptoms and treatment responses, providing continuity of care across consultations. This aids in longitudinal health monitoring and trend analysis.
Shopping assistants can store user purchase history and browsing behavior to offer tailored product suggestions. This improves conversion rates by leveraging persistent memory of customer interests.
Offer free tier with limited reads and temporary storage to attract users, then charge monthly subscriptions for higher read limits and permanent storage. This model leverages low storage costs to incentivize adoption while monetizing retrieval usage.
Charge based on the number of memory retrievals, with writes remaining free to encourage data accumulation. This aligns costs with value delivery, as agents benefit most from accessing stored information.
Provide custom plans with higher limits, dedicated support, and advanced features for large-scale deployments in production environments. This targets businesses needing robust memory management for multiple agents.
💬 Integration Tip
Start with the free 25 calls to test functionality, then integrate API key for permanent storage in production workflows.
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Clau...
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Search and analyze your own session logs (older/parent conversations) using jq.
Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linking related objects, enforcing constraints, planning multi-step actions as graph transformations, or when skills need to share state. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", entity CRUD, or cross-skill data access.
Ultimate AI agent memory system for Cursor, Claude, ChatGPT & Copilot. WAL protocol + vector search + git-notes + cloud backup. Never lose context again. Vibe-coding ready.
Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection