← 返回
未分类 Key 中文

Agentmemo

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...
让您的 AI 代理拥有持久记忆和人机审批——跨会话、跨模型。AgentMemo 是一个云 API + MCP 服务器,让代理能够...
iiamit iiamit 来源
未分类 clawhub v1.0.1 1 版本 100000 Key: 需要
★ 0
Stars
📥 460
下载
💾 1
安装
1
版本
#latest

概述

AgentMemo

> Persistent memory and human approval for any AI agent — one API, any model, MCP-native.

⚠️ What This Skill Does

This skill connects your agent to the AgentMemo cloud API (api.agentmemo.net) to store and retrieve memories and request human approvals. Your agent's memory content is sent to and stored on AgentMemo's servers.

  • Requires: A free API key from agentmemo.net — set as AGENTMEMO_API_KEY in your OpenClaw environment
  • Data: Memory content you store is sent to api.agentmemo.net over HTTPS. You own your data and can delete it at any time.
  • Optional: The agentmemo-mcp npm package is only needed for MCP client setups (Claude Desktop, Cursor, etc.) — not required for REST/SDK use
  • No data sharing: AgentMemo does not share your data with third parties. See privacy policy.

If you prefer fully local memory, this skill is not for you. If you're comfortable with a cloud API (like you'd use for any other SaaS tool), read on.


AgentMemo solves the two biggest pain points of autonomous AI agents:

  1. Amnesia — agents forget everything between sessions. No more starting from zero.
  2. Dead ends — agents need to pause and ask a human before sensitive actions. Now they can.

Features

  • 🧠 Persistent memory — store, search, and retrieve memories across sessions
  • Human approval gateway — agents pause, humans approve/reject, agents resume
  • 🔌 MCP-native — one-line setup in Claude, Cursor, Windsurf, OpenClaw, or any MCP client
  • 🌐 Works with any model — REST API, store in Claude, recall in GPT, use in local Llama
  • 📦 npm SDKnpm install agentmemo for TypeScript/JavaScript projects
  • 🆓 Free tier — 10K memories, 100 searches/day, no credit card needed

Quick Start

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'
});

Usage (as an OpenClaw skill)

When this skill is active, use AgentMemo to:

Store memories

Save important context that should persist across sessions:

Remember: [something worth keeping]
Namespace: [project/user/agent — optional, default is "default"]

Use POST /memories with your AGENTMEMO_API_KEY.

Search memories

Before starting any task, search for relevant prior context:

Recall: [what you're looking for]

Use GET /memories/search?q=QUERY&namespace=NAMESPACE.

Request approval

Before any sensitive or irreversible action, request human approval:

Request approval for: [action description]
Context: [why this needs doing]

Use POST /approve. Poll GET /approve/:id or set a callback_url webhook.

API Reference

Base URL: https://api.agentmemo.net

Auth: X-API-Key: YOUR_KEY header on all requests.

MethodEndpointDescription
-------------------------------
POST/memoriesStore a memory
GET/memories/searchSemantic search across memories
GET/memories/:idRetrieve memory by ID
DELETE/memories/:idDelete a memory
GET/usageCheck usage stats and limits
POST/approveSubmit action for human approval
GET/approve/:idPoll approval status

POST /memories

{
  "content": "string (required)",
  "namespace": "string (optional, default: 'default')",
  "metadata": {}
}

Returns { id, namespace, content, metadata, created_at }.

GET /memories/search

Query params: q (required), namespace (optional), limit (optional, max 50).

Returns { query, namespace, count, results: [{ id, content, score, metadata, created_at }] }.

POST /approve

{
  "action": "string (required) — what the agent wants to do",
  "context": "string (optional) — background/reasoning",
  "callback_url": "string (optional) — webhook for decision notification"
}

Returns { id, status: 'pending', ... }.

GET /approve/:id

Returns { id, status: 'pending'|'approved'|'rejected', decision_at, ... }.

MCP Tools

When using the MCP server (npx agentmemo-mcp), your agent gets these tools:

ToolDescription
-------------------
rememberStore a memory
recallSearch stored memories
forgetDelete a memory by ID
list_memoriesList recent memories in a namespace
request_approvalSubmit action for human review
check_approvalPoll approval status

Pricing

PlanPriceMemoriesSearches/day
-------------------------------------
Free$010,000100
Starter$19/mo250,0001,000
Pro$99/mo2,000,00010,000
Team$499/moUnlimitedUnlimited

Links

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-30 08:30 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,480 📥 542,795
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,402 📥 323,482
ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 840 📥 317,345