From 1581c27a8e3747f2904f4073f450fefbd9abf66f Mon Sep 17 00:00:00 2001 From: "jinli.yl" Date: Mon, 22 Jun 2026 15:37:03 +0800 Subject: [PATCH] docs(readme): replace design philosophy text with visual diagram - Replace textual design philosophy sections in README.md and README_ZH.md - Add centered SVG image displaying ReMe design philosophy - Include new design-philosophy.svg file with comprehensive visual overview - Maintain use cases section in collapsible details format - Update documentation structure for better visual representation - Preserve core content while improving presentation clarity --- README.md | 10 +--- README_ZH.md | 18 ++---- docs/figure/design-philosophy.svg | 97 +++++++++++++++++++++++++++++++ 3 files changed, 104 insertions(+), 21 deletions(-) create mode 100644 docs/figure/design-philosophy.svg diff --git a/README.md b/README.md index 39c77efb..b7ea63cd 100644 --- a/README.md +++ b/README.md @@ -35,13 +35,9 @@ - **Progressive hybrid search**: ReMe combines wikilinks, BM25, and embeddings for hybrid retrieval across keyword matching, semantic recall, and relationship expansion. - **Agent-friendly integration**: SKILL.md + CLI integration makes it easy for different agents to read, write, maintain, and reuse memory. -## 🧭 Design Philosophy - -ReMe is built around three principles: store memory in readable and writable files, progressively abstract knowledge from raw materials into long-term memory, and organize knowledge with explicit links so agents can expand and reason over a relationship graph. - -- **Foundation: Memory as File**. ReMe does not lock long-term memory inside a black-box database or implicit prompt. It uses Markdown, JSONL, YAML, and resource files as the memory substrate. Files are knowledge assets that users can inspect, edit, and migrate, and they are also an operational interface that agents can read, write, index, and link. -- **Core: progressive knowledge abstraction**. Raw conversations and resources are first stored in `session/` and `resource/`. `auto_memory` and `auto_resource` process them into shallow memories under `daily/`, and `auto_dream` then extracts, merges, and corrects them into long-term knowledge under `digest/`. This is not a one-shot summary; it is continuous accumulation from raw material, to lightly processed memory, to deeper knowledge. -- **Innovation: from semantic similarity to relationship graphs**. ReMe uses wikilinks to express explicit knowledge relationships, so memories no longer depend only on embedding-based semantic similarity. They can also represent structured relationships such as causality, upstream/downstream links, sources, dependencies, and competition. For example, in financial scenarios, companies, industries, commodities, and events can be connected into upstream, downstream, impact, and risk chains, allowing agents to expand context from one matched node through the graph. +

+ ReMe Design Philosophy +

Use Cases diff --git a/README_ZH.md b/README_ZH.md index b4a5d358..53455ff5 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -31,23 +31,13 @@ ## ✨ 核心创新 - **Memory as File**:以带 frontmatter 和 wikilink 的 Markdown 作为记忆节点,让用户和 Agent 都能直接读写。 -- **自进化知识库**:通过 Auto Memory、Auto Resource 和 Auto Dream,把对话与资料逐步加工为长期 Markdown - 记忆,并自动建立 wikilink 关系。 +- **自进化知识库**:通过 Auto Memory、Auto Resource 和 Auto Dream,把对话与资料逐步加工为长期 Markdown 记忆,并自动建立 wikilink 关系。 - **渐进式混合搜索**:融合 wikilink、BM25 和 embedding,支持从关键词匹配到语义召回、关系扩展的混合检索。 - **Agent 友好集成**:通过 SKILL.md + CLI 接入,方便不同 Agent 读写、维护与复用记忆。 -## 🧭 设计理念 - -ReMe 的设计围绕三件事展开:把记忆落到可读写的文件中,把知识从原始材料渐进抽象为长期记忆,再用显式链接把知识组织成可供 Agent -展开和推理的关系图。 - -- **基础:Memory as File**。ReMe 不把长期记忆锁在黑盒数据库或隐式 prompt 中,而是使用 Markdown、JSONL、YAML - 和资源文件承载记忆。文件既是用户可直接检查、修改和迁移的知识资产,也是 Agent 可读写、可索引、可链接的操作界面。 -- **核心:渐进式知识抽象**。原始对话和资料先保存在 `session/` 与 `resource/` 中,`auto_memory` 和 `auto_resource` 将它们加工为 - `daily/` 中的浅层记忆,再由 `auto_dream` 抽取、合并和修正为 `digest/` 中的长期知识。这个过程不是一次性总结,而是从原始材料到浅加工记忆、再到深加工知识的持续沉淀。 -- **创新:从语义相似到关系图谱**。ReMe 使用 wikilink 表达显式知识关系,让记忆之间不再只依赖 embedding - 的语义相似性,还能表达因果、上下游、来源、依赖、竞争等结构化关系。例如在金融场景中,可以把企业、行业、商品和事件连接成上游、下游、影响和风险链路,支持 - Agent 从一个命中节点沿图谱渐进展开上下文。 +

+ ReMe 设计理念 +

适用场景 diff --git a/docs/figure/design-philosophy.svg b/docs/figure/design-philosophy.svg new file mode 100644 index 00000000..e2c09cad --- /dev/null +++ b/docs/figure/design-philosophy.svg @@ -0,0 +1,97 @@ + + ReMe design philosophy + A simple diagram showing ReMe's design philosophy: file-native memory, progressive abstraction, and explicit relationship graph for agents. + + + + + + + + + + + + ReMe Design Philosophy + File-native memory, progressive abstraction, and explicit links for reusable agent context. + + + Foundation: Memory as File + Readable, editable knowledge assets + + + + + + + Markdown + + YAML/JSONL + + Human-readable. Agent-operable. + + + Core: Progressive Abstraction + From raw material to durable memory + + + Raw + + Daily + + Digest + + + + session/ + resource/ -> daily/ -> digest/ + Continuous consolidation, not one-shot summary. + + + Innovation: Link Graph + Explicit links expand context + + + + + + + + + + [[ ]] + Node + Src + Risk + Dep + + Beyond similarity: source, cause, dependency, risk. + Wikilinks guide expansion across nodes. + + + + + + One shared file tree acts as both memory store and operating surface. + capture -> refine -> link -> retrieve -> expand + + + +