Agentmemory Agents

作者 rohitg00007a1a7fe864无许可证29K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库今天更新

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.

仅含说明AI & Agents
AI 生成的概览

通过 connect 命令将 agentmemory 记忆服务器接入宿主编码代理的配置。

功能
该技能说明如何运行 agentmemory connect ,把 agentmemory 记忆服务器合并进宿主编码代理的配置,同时保留已有的服务器。内容涵盖识别调用代理、选择适配器名称、重启或重载宿主,以及确认完整工具集出现。它还指出动作技能需单独安装,Windows 上需要 WSL2。
适用场景
适用于将 agentmemory 安装到特定编码代理、被询问支持哪些代理,或 connect 适配器写入了错误配置路径时。
运行要求
需要带 connect 命令的 agentmemory CLI 以及受支持的宿主代理;底层协议为 REST,仅支持 MCP 的宿主使用 stdio MCP 桥接。Windows 需要 WSL2。不含脚本,仅为说明文档,适配器细节见 REFERENCE.md。

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

bash
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) so it picks up the server. Then confirm the agent lists agentmemory's tools.

Workflow

  1. Detect the calling agent. If unknown, default to claude-code.
  2. Run agentmemory connect <name> using a name from the table in REFERENCE.md.
  3. Verify: the host should show the full tool set with a server running. Only 7 tools means the MCP shim could not reach a server (see ../_shared/TROUBLESHOOTING.md).

Notes

  • The action skills (remember, recall, and the rest) are installed separately with npx skills add rohitg00/agentmemory. connect makes tools available; skills teach the agent when to use them.
  • Windows: use WSL2. Native Windows runs the server but connect is not supported there.

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/.

来源与署名

来源:rohitg00/agentmemory位于plugin/skills/agentmemory-agents提交007a1a7

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架