Feature: portable app memory — exchange verified memory bundles between Dify apps and external agents

未关闭
#42,522 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃
技术栈
typescript
领域
ai, api

调研方向

Start by confirming whether maintainers want an MCP tool plugin or an examples write-up, then review Dify's existing MCP tool bridge and the contributor's implemented transfer layer. Done means a scoped contribution path with explicit acceptance criteria for memory import/export or its documentation.

由索引模型根据 Issue 内容生成。

描述

Maintainer of cognicore-env (open-source, MIT) — an agent memory layer running as an MCP server, consumable by Dify agents today via the MCP tool bridge. This issue proposes making memory portability first-class.

The gap: Dify apps have datasets and knowledge inside the platform, but app memory does not cross apps, and nothing leaves Dify with provenance. An internal-support agent that learned a company's actual escalation patterns cannot hand that knowledge to an ops agent or an external framework's agent — each Dify app is a memory island.

Proposal: memory export/import at the app level. The bundle format carries per memory: proof (command, result, exit code, output hash), chain of custody, observed-until-reverified import semantics, trust decay across unverified hops, validity intervals (facts verified in March are not evidence about April), and release rules so memory from a private dataset cannot surface in a public-facing app — the disclosure boundary is what makes cross-app memory safe to enable by default.

Concrete case: a support Dify app runs for a quarter, accumulating verified knowledge of how refunds actually resolve; a new sales app imports it as observed, re-verifies, and stops promising what support will not deliver.

Our transfer layer is implemented and tested across four platforms. I can contribute a tool plugin exposing memory import/export to Dify agents, or an examples write-up — whichever the team prefers. Where should ecosystem memory features be proposed — here or the forum?

主要语言
TypeScript
星标
157k
派生
24.7k
平均合并
22 小时 32 分钟
30 天内合并 PR
611

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

langgenius/dify 的其他 Issue

查看 langgenius/dify 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。