AgentMem
Cloud memory for AI agents. Writes are free, pay only for reads. First 25 calls free, 7-day persistence.
Cloud memory for AI agents. Writes are free, pay only for reads. First 25 calls free, 7-day persistence.
Real data. Real impact.
Emerging
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
Cloud 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 factsdecision:{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 SyncEvery 6 hours:
- Read recent
filesmemory/*.md- Extract key insights
- Store in AgentMem as
daily/{DATE}On startup, retrieve past 7 days for context
-_.:No automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.