每日 Harness 开源 · Source
返回本期 · Back to 2026-07-09

开源 / 项目 · Projects2026-07-09 · Thursday, July 9, 2026

Trace - open-source, self-organizing memory for LLM agents

github.com原文 ↗

Trace - open-source, self-organizing memory for LLM agents
TRACE 是一个 Python agent memory library,把对话历史组织成 hierarchical B+Tree 和 vector retrieval 结合的长期记忆结构。仓库分成 `trace_memory/` 引擎与 `nexus_terminal/` demo chatbot;它用 TopicNodes 与 MessageNodes 保存分支语义,再用 cosine search 从所有 topic summaries 中取 Top-3 相关路径,而不是把完整历史塞回 prompt。README 的 stress test 用“Sarah 花生过敏”和“花生蛋糕派对”分散在不同分支的例子说明 multi-path retrieval 能合成跨分支约束,这正好击中标准 RAG 用作 agent memory 时的 temporal blindness 问题。
浏览

评论 · Comments