agentmemory-agents
它能做什么
这项技能说明如何把 agentmemory 记忆服务器连接到编程智能体。内容包括支持哪些智能体,以及设置命令如何把服务器添加到每个智能体的配置中。
适用场景
- ✓当你想把 agentmemory 安装到 Claude Code 或 Cursor 等编程智能体中时。
- ✓当你想知道 agentmemory 支持哪些编程智能体时。
- ✓当连接设置把服务器写入了错误的配置文件时。
技能链接
https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/agentmemory-agents/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把 agentmemory 连接到我的 Cursor,并告诉我如何确认它可以正常工作。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会为你选定的工具运行连接命令,把记忆服务器合并到该工具的配置中,同时保留已有的服务器。然后你需要重启或重新加载该工具,并检查它是否列出了记忆工具。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
agentmemory connect <agent> merges the memory server into a host agent's config and preserves any existing servers. REST is the underlying protocol; for MCP-only hosts the adapter wires the stdio MCP bridge.
Quick start
agentmemory connect claude-code # or cursor, codex, gemini-cli, ...
After wiring, restart the host or run its MCP reload (for example /mcp in Claude Code, or a new session after devin mcp list in Devin CLI) so it picks up the server. Then confirm the agent lists agentmemory's tools.
Devin CLI and Devin Desktop can also install the whole plugin with devin plugins install rohitg00/agentmemory#plugin, which adds the skills, the MCP server, and the capture hooks in one step. Cloud Devin sessions cannot reach a local agentmemory server, so the plugin is for local sessions only.
For Pi, Oh My Pi, or DeepSeek Harness, start the daemon and choose the matching command:
agentmemory connect pi --with-mcp
agentmemory connect omp --with-mcp
agentmemory connect dsh --with-hooks
Pi and OMP install native recall, capture and bundled skills; --with-mcp adds the tools needed by the broader workflows. Reload Pi with /reload, or restart OMP, then run /agentmemory-status. Restart DSH after enabling its bundled capture plugin. Re-run the matching connector after upgrading or moving AgentMemory so installed runtime paths stay current.
Cursor's connector configures MCP. Install and enable the Cursor plugin through Settings → Plugins → Add marketplace → this repository for lifecycle capture; do not add a second global hook copy.
Workflow
- Detect the calling agent. If unknown, ask which host to configure before changing files.
- Run
agentmemory connect <name>using a name from the table in REFERENCE.md. - Read the command result: an adapter that prints manual setup instructions has not completed installation. Restart the configured host, inspect its actual tool inventory, and perform an authorized save/recall check. A native memory provider and an MCP connection are separate surfaces (see TROUBLESHOOTING.md).
Notes
- Hermes, OpenClaw, Pi and OMP connectors bundle skills. For a separate skills installation, use
npx skills@1.7.1 add rohitg00/agentmemory --agent hermes-agent --skill '*'or--agent openclaw. Choose the intended host; add--globalonly for a user-wide installation. Avoid duplicate skill installations when a native package already bundles them. Verify skill discovery and read a skill's local support file in that host. - Native Windows supports
agentmemory connect copilot-cli. Other automated connectors require macOS, Linux or a host running in the same WSL2 environment; use the host's manual setup instructions otherwise.
See also
- agentmemory-mcp-tools, agentmemory-rest-api, agentmemory-hooks.
Reference
The full adapter list with display names and protocol notes lives in REFERENCE.md, generated from src/cli/connect/.
常见问题
它会删除我的其他工具吗?
不会。设置会保留配置中已有的服务器。
如何确认已经连接?
重启或重新加载工具,然后检查它是否列出了 agentmemory 工具。
云端编程会话能使用它吗?
不能。云端会话无法访问本地的 agentmemory 服务器。
详情
作者的原始描述
How agentmemory wires into host coding agents via the connect command. Use when installing agentmemory into a specific agent, when asked which agents are supported, or when a connect adapter writes the wrong config path.
repo: rohitg00/agentmemory
热度
- GitHub 星标
- 30k
- 排名
- #9339
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agentmemory-architecture
30k解释 agentmemory 如何为编程智能体存储、搜索和管理记忆,从记录到回忆的整个过程。
agentmemory-config
30k帮你的智能体设置并检查 agentmemory 记忆服务器,包括端口、配置和功能开关。
agentmemory-hooks
30k帮你的智能体自动从编程会话中记录有用的笔记,而不需要你逐条手动保存。
agentmemory-mcp-tools
30k帮你的智能体选择合适的 agentmemory 工具,用于保存、搜索和管理记忆。