lna-lab/distill-kura

lna-lab★ 0Python最后同步: 2026-08-22

在 GitHub 打开

蒸留蔵 — distilled long-term memory for agents: recall by meaning, writing gated by evidence, one kura per agent mode. Ships as a DeepSeek Harness plugin and an MCP server.

README 摘要

蒸留蔵 — distill-kura A long-term memory for agents that is distilled, not accumulated. Recall works by meaning , writing is gated by evidence , and one server can hold several separate memories — one per agent mode — so switching mode switches what the agent remembers. Ships as a DeepSeek Harness plugin, an MCP server for any other host, an HTTP service, and a Python library. Standard library only; no vector database, no embeddings, no framework. Why this exists Two failures kill an agent's long-term memory, and they kill it from opposite sides. Retrieval by keyword misses the thing you needed. A question about "SSD inference chips" shares no word with a memory titled "running the 2.6T model off an SSD tier" — yet they are the same subject. Word search returns nothing; the agent answers from nowhere. The fix here is not embeddings but recognition : the entire index (one line per memory, written as a recognition trigger) goes into one prompt, and a small model names what bears on the question. An index of 500 memories is around 6k tokens — a few percent of a modern context window, and it sits in the prefix cache. Writing everything poisons the store. An agent asserts something; a naiv…

在 GitHub 查看完整 README →
Agent/智能体agent-memorydsh-pluginllm-memorylong-term-memorymcp-serverragagent

分类