Agentmemo
by @iiamit
Give your AI agent persistent memory and human-in-the-loop approval — across sessions, across models. AgentMemo is a cloud API + MCP server that lets agents...
Get your free API key
Sign up at agentmemo.net → free tier, instant access.Option 1: MCP (Claude / Cursor / OpenClaw)
Add to your MCP config (claude_desktop_config.json or equivalent):
{
"mcpServers": {
"agentmemo": {
"command": "npx",
"args": ["agentmemo-mcp"],
"env": {
"AGENTMEMO_API_KEY": "your_api_key_here"
}
}
}
}
That's it. Your agent now has remember, recall, forget, request_approval, and check_approval tools.
Option 2: OpenClaw (this skill)
Set your API key in OpenClaw config or workspace env:
AGENTMEMO_API_KEY=am_your_key_here
AGENTMEMO_API_URL=https://api.agentmemo.net
Then reference this skill in your agent instructions — see Usage below.
Option 3: REST API directly
# Store a memory
curl -X POST https://api.agentmemo.net/memories \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"content": "User prefers dark mode and compact layouts", "namespace": "preferences"}'Search memories
curl "https://api.agentmemo.net/memories/search?q=user+preferences&namespace=preferences" \
-H "X-API-Key: YOUR_KEY"Request human approval
curl -X POST https://api.agentmemo.net/approve \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"action": "Send email to client@example.com", "context": "Draft is ready for review"}'
Option 4: TypeScript/JavaScript SDK
npm install agentmemo
import AgentMemo from 'agentmemo';const memo = new AgentMemo({ apiKey: process.env.AGENTMEMO_API_KEY });
// Store a memory
await memo.memories.store({
content: 'Project deadline is March 31st',
namespace: 'project-alpha'
});
// Search memories
const results = await memo.memories.search('deadline', { namespace: 'project-alpha' });
// Request human approval
const approval = await memo.approvals.request({
action: 'Delete 500 old log files',
context: 'Freeing up 2GB disk space'
});
clawhub install agentmemo