agentmemory-agents

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
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.
agentmemory connect <agent>
会将内存服务器合并到主机Agent的配置中,并保留所有现有服务器。REST是底层协议;对于仅支持MCP的主机,适配器会连接stdio MCP桥接器。

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.
bash
agentmemory connect claude-code   # or cursor, codex, gemini-cli, ...
接入完成后,重启主机或执行其MCP重载操作(例如Claude Code中的
/mcp
),使其识别该服务器。然后确认Agent已列出agentmemory的工具。

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).
  1. 检测调用方Agent。如果无法识别,默认使用
    claude-code
  2. 使用REFERENCE.md表格中的名称执行
    agentmemory connect <name>
    命令。
  3. 验证:主机应显示完整工具集且服务器正在运行。若仅显示7个工具,说明MCP垫片无法连接到服务器(请查看../_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.
  • 操作技能(remember、recall等)需通过
    npx skills add rohitg00/agentmemory
    单独安装。
    connect
    命令用于启用工具;技能则用于指导Agent何时使用这些工具。
  • Windows系统:请使用WSL2。原生Windows可运行服务器,但不支持
    connect
    命令。

See also

另请参阅

  • agentmemory-mcp-tools, agentmemory-rest-api, agentmemory-hooks.
  • 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/
.
包含显示名称和协议说明的完整适配器列表位于REFERENCE.md中,该文件由
src/cli/connect/
生成。