把 AstrBot 接到你的 EverMe 工作记忆。EverMe 是你本人的记忆,在你用的各个 AI 工具之间共享:在 AstrBot 里聊过的决定、项目细节和偏好,其他工具也能记得,反过来也一样。
- 回复前回忆:调用大模型前,把 EverMe 里你的个人画像和与这句话相关的记忆加进系统提示词。
- 回复后保存:每轮对话结束后保存到 EverMe。
- 默认只记管理员:EverMe 是你一个人的记忆,所以默认只有 AstrBot 管理员(在 AstrBot 设置里配置的管理员 ID)的对话会被回忆和保存。其他人和机器人聊天不会写进你的 EverMe。
- 群聊默认关闭。
- 出错不影响回复:EverMe 慢或连不上时,机器人照常回答。
在 AstrBot 管理面板的插件市场搜索 EverMe Memory 安装,或者在「插件」页面通过仓库地址安装:
https://github.com/EverMind-AI/astrbot_plugin_everme
- 在「插件」页面打开 EverMe Memory 的配置,填入你的 EverMe API Key(
emk_开头)。 - 确认 AstrBot 的管理员 ID 里有你自己的账号。
- 私聊机器人发送
/everme status,看到Connection: OK就接好了。
第一次使用时,插件用 API Key 把这台 AstrBot 登记为你 EverMe 账号下的一个智能体(和 evercli plugin install 的做法相同),之后只使用登记得到的智能体令牌,保存在 AstrBot 的 data/plugin_data/astrbot_plugin_everme/agent.json,权限 600。令牌失效时会自动重新登记。
| 项 | 说明 |
|---|---|
| EverMe API Key | 必填,emk_ 开头 |
| 谁的对话使用 EverMe | 默认「仅管理员」。选「所有人」会把所有人的对话写进同一个 EverMe 账号 |
| 在群聊中启用 | 默认关闭 |
| 回复前自动回忆 / 回复后自动保存 | 默认都打开 |
| 每次回忆的条数 | 1 到 20,默认 5 |
| 智能体令牌(高级) | 已有 evt_ 开头的令牌时可以直接填,插件就不再登记 |
/everme status:检查和 EverMe 的连接/everme search <内容>:搜索 EverMe
大模型也可以调用 everme_search_memory 工具去查更具体的记忆。
会发送到 EverMe(api.everme.evermind.ai)的内容:被启用的对话里用户的消息和机器人的回复、用于搜索的消息文本,以及由会话 ID 计算出的哈希值。错误日志会隐去 emk_ 和 evt_ 凭据。记忆内容被当作历史数据放进提示词,并明确告诉模型不要执行其中的指令。
Connects AstrBot to the EverMe work memory of the bot's owner, so AstrBot remembers the same decisions, project details and preferences as your other AI tools.
- Recalls your EverMe profile and relevant memories before each reply, and saves each turn afterwards.
- By default only AstrBot admins use EverMe, and group chats are off, so other people are never written into your memory.
- On first use the plugin registers this AstrBot as an agent under your EverMe account with your API key (
emk_...), then uses only the agent token it receives. The token is stored indata/plugin_data/astrbot_plugin_everme/agent.jsonwith mode 600 and is re-registered automatically if it is revoked. - Fail-open: if EverMe is slow or unreachable the bot answers as usual.
Commands: /everme status, /everme search <query>. The model can also call the everme_search_memory tool.
Requires AstrBot 4.17 or later. No extra Python packages.
python -m pytest testsThe tests run the plugin against a stand-in for the AstrBot API and a local HTTP server; they need no network and no AstrBot install.
Apache-2.0