MemOS icon indicating copy to clipboard operation
MemOS copied to clipboard

feat: 云端Dashboard 上创建的知识库直接关联 agent_id 以提供更好的安全性

Open seaskyblue opened this issue 8 months ago • 4 comments

Pre-submission checklist | 提交前检查

  • [x] I have searched existing issues and this hasn't been mentioned before | 我已搜索现有问题,确认此问题尚未被提及
  • [x] I have read the project documentation and confirmed this issue doesn't already exist | 我已阅读项目文档并确认此问题尚未存在
  • [x] This issue is specific to MemOS and not a general software issue | 该问题是针对 MemOS 的,而不是一般软件问题

Problem Statement | 问题陈述

目前 Dashboard 上创建的知识库还没有直接关联 agent_id 的功能,知识库和记忆是两套独立的体系。

现阶段要实现知识库与 Agent 的关联,需要在 Agent 的系统提示词(System Prompt)里指定:

比如在 tech01 这个 Agent 的提示词里加上:

当需要查询知识库时,请使用知识库 ID:base-xxxxx(tech01专用知识库)

或者如果你通过 API 调用,在搜索时手动指定 knowledgebase_id。

但说实话这个体验不够好,理想的方式应该是:

  • 在插件配置里按 agent_id 绑定对应的 knowledgebase_id
  • 或者在 Dashboard 上直接给知识库打 agent 标签

Willingness to Implement | 实现意愿

  • [ ] I'm willing to implement this myself | 我愿意自己解决
  • [x] I would like someone else to implement this | 我希望其他人来解决

seaskyblue avatar Mar 18 '26 14:03 seaskyblue

This issue has been automatically marked as stale due to inactivity.

github-actions[bot] avatar Apr 23 '26 03:04 github-actions[bot]

This issue has been automatically closed due to inactivity.

github-actions[bot] avatar Apr 30 '26 05:04 github-actions[bot]

Hey @seaskyblue! Thanks for the contribution — already solved the issue, thanks for helping us to improve our project! 📈

Btw if you enjoyed contributing and want to stay connected with the project, we run a Discord server for contributors, a chill space to discuss features, ask questions, or pick up new issues  👉🏻 MemOS Discord Server (Contributor Exclusive)

Thanks again for shipping this, and happy MemOSing 🧠✨

angarchie avatar May 19 '26 13:05 angarchie

@seaskyblue 感谢您的反馈!

这个需求我们会记录下来,作为 Cloud 产品侧(Dashboard + 后端)后续优化的参考方向。你提的两条路径——插件配置里绑 agent_id ↔ knowledgebase_id、Dashboard 上给知识库打 agent 标签——都很有参考价值,我们会在规划时一并考虑。

由于这个功能落点在 Cloud 产品而非开源仓(开源仓里没有 Dashboard 也没有 agent 实体),这个 Issue 我们会先关闭,需求会同步到内部 Cloud backlog 追踪。后续如果有进展或落地,会通过其他渠道同步出来。

再次感谢你的建设性反馈,也欢迎继续提需求 🙌

shinetata avatar Jul 08 '26 12:07 shinetata