WARM

io.github.writerslogic由 GitHub 账号 writerslogic 发布v0.1.5更新于 Nov 7, 2026

Local persistent memory for AI agents with recall, search, forgetting, and encrypted storage.

已验证STDIO仅桌面文件与存储知识与记忆

概览

AI 生成的概览

为 AI 助手提供本地持久记忆:在磁盘存储中保存、召回、搜索、导出和删除长期事实与偏好。

可以做什么
  • 把长期事实、决策和偏好保存为记忆,可选版本校验与仅创建保护
  • 按自然语言问题召回完整记忆,可按标签或最低分数过滤
  • 用元数据过滤和排序控制搜索记忆,并按 id 读取单条记忆全文
  • 按 id 前缀或标签分页浏览记忆,查看存储计数、加密状态和容量限制
  • 按精确 id 或 id 前缀删除记忆,并把存储导出为 JSON、JSONL 或 Markdown
适用场景
适合希望助手在同一台机器上跨对话记住事实、决策和偏好,且记忆保存在本地而非托管服务的场景。也适合离线或本地优先、不希望发起网络请求的环境。
运行要求
以本地进程通过 stdio 运行,可用 npx(writerslogic-warm-mcp)或 uvx(warm-mcp)启动;npm 启动器首次运行会下载经过校验的二进制文件。仅限桌面端。未声明账号、API 密钥或环境变量。语义召回需另行构建带本地模型的服务器,加密需启用 security 特性。
安装前请注意
删除不可撤销,前缀删除需 confirm: true,建议先用 list 查看匹配项。批量删除中途失败可能已删掉前面的条目。存储内容并非匿名:词频与草图可与候选文本比对,storeText: false 不是隐私保护措施。同一存储同时只允许一个写入进程。

安装

在 SourceWeft 中

  1. 打开 控制台中的 WARM,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[WARM logo]

WARM

WritersLogic Adaptive Retention & Memory.

Hybrid search, graph indexing, and vector-symbolic memory.

Local memory for agents and apps: full-text and vector search, a memory API and a vector-symbolic fact store in one embeddable Rust engine that makes no network calls.

[CI] [MSRV 1.89] [OpenSSF Scorecard] [OpenSSF Best Practices] [License: Apache-2.0] [WARM MCP MCP server – quality and maintenance score on Glama]

[Bemula forgetting score, DeepSeek backbone] [LongMemEval dev, gpt-4o reader and judge] [VIBE llama-128-ip max recall@100, one thread]

Website · Docs · Get started · Standards and provenance · Results · Capabilities · Limits · Contribute


What it is

WARM is a Rust library that stores text, vectors and facts in a directory on your machine and finds them again. It ships with Node.js bindings, C, WASM and UniFFI bindings, an HTTP server with a Python client, and an MCP server. There are no service calls, no telemetry and no model downloads unless you turn on a feature that asks for one.

CapabilityWhat you get
Document searchChunking, stemmed BM25 over blocked postings, Boolean and phrase queries, hybrid fusion with embeddings you supply, metadata filters, byte offsets
Vector indexGraph index with a memory-mapped vertex file, an updatable delta for inserts and deletes, optional query-aware routing trained on sample queries
Memory APIremember, recall, forget and explain with time validity and supersession; conversation memory with source provenance
StorageAtomic replace and delete, crash-safe journal and checkpoints, verified compaction, one writer per store
SecurityOptional AES-256-GCM storage encryption with documented coverage and limits, signed audit log, COSE/SCITT provenance
Vector-symbolic layerSparse hypervectors with bind, bundle and permute, triples with multi-hop queries, Hopfield cleanup

Who it's for

You are buildingWhat you get
An agent or assistant that needs memoryA memory API with forgetting that removes facts from the store, and an MCP server for editors and agent hosts
A local-first or offline appEmbedded search and storage in one directory, with no server process and optional encryption
A service that needs vector or text searchwarm-server over HTTP with tenants and scoped keys, or the library in-process
Research on vector-symbolic memoryThe bind/bundle algebra, meaning memory and capacity experiments with their result files

Headline results

Every row links to the committed file it comes from. These are single machines and stated protocols, not a substitute for testing your own data.

ResultConditionsSource file
Bemula forgetting score 0.322; best published row 0.310 (LangMem)Full split: 50 dialogues, 135 forget requests. Agent and judge both deepseek-v4-flash-0731 through OpenRouter pinned to DeepSeek, temperature 0; the judge snapshot is inferred from the authors' run metadata. Recall k=5 hybrid with text-embedding-3-small. Compared with the paper's published DeepSeek rows; a same-day rerun of the suite's naive RAG baseline scored 0.075. One run.bemula_v1.json
LongMemEval dev 89.75 of 100 correct (mean of 4 runs, range 87 to 93)Official generation and judge prompts, gpt-4o-2024-08-06 as reader and judge, top 10 context. Retrieval is the reference turn ranking over cached Qwen3 scores, not native conversation-memory recall. k was chosen on dev; there is no held-out result.longmemeval_official_dev_summary.json
VIBE llama-128-ip strict recall@100 up to 0.99687 at 1,457 QPSOfficial test queries, one thread, query-aware graph (ef=512). Neither frozen RoarGraph configuration reached 0.99. Behind at 0.95 and 0.99 QPS (see below).query_aware_graph_v1/README.md
VIBE yi-128-ip at recall 0.95: 3,214 QPS against 1,953 (MLANN RF80)Same protocol; compared only with the frozen RoarGraph and MLANN configurations measured there. Recall 0.99 was not reached.query_aware_graph_v1/README.md
SIFT-1M at recall@10 0.95: 23,918 QPS against hnswlib 8,125 (2.94x, interval 2.75 to 3.01); 3.09x at 0.99, 1.40x faster build, 1.83x less serving RSS, 3.74x faster cold startCore Ultra 9 185H at 4b7a849f, 10,000 queries issued one at a time from one client thread, index built with 8 threads; WARM through the Rust API, hnswlib through its Python binding; Bonferroni-adjusted bootstrap intervalsheavy-ann-sift-...-185h-22c-27g.json
BM25 search on SciFact, NFCorpus and the memory corpus: 1.66x to 2.00x the single-thread QPS of the fastest of tantivy 0.27, Lucene 10.6 and SQLite FTS5, with 1.69x to 2.91x less serving memory and 3.1x to 5.7x faster cold start, at tied nDCG@10Two machines (Core Ultra 9 185H at 4b7a849f, Modal 8 vCPU at 7ba2d4fe, same engine source), 5 and 3 interleaved serve rounds, Bonferroni-adjusted bootstrap intervals exclude parity for every win. Lexical only, one chunk per documentCOMPARISON.md, standard-text-beir-scifact-...-185h-22c-27g.json
SciFact nDCG@10 hybrid 0.729, above its own BM25 (0.688) and dense (0.645)5,183 documents, 300 queries, MiniLM embeddings supplied by the harness. NFCorpus: 0.355 against 0.323 and 0.317.public_scifact.json, public_nfcorpus.json

Where it's behind

ResultConditionsSource file
ann-benchmarks at recall 0.95: sift 2,819 QPS against faiss-ivfpqfs 3,788 (0.74x); glove 1,019 against ScaNN 1,535 (0.66x)Official ann-benchmarks runner, each run pinned to one CPU, AVX2 hostann_benchmarks_harness_wl02_v1.json
VIBE llama-128-ip QPS: 24.6% behind RoarGraph at recall 0.95, 54.8% behind MLANN RF80 at 0.99One thread, official test queriesquery_aware_graph_v1/README.md
SIFT-1M index file 1,389 MiB against hnswlib's 752 (0.54x, no interval); peak build RSS 0.94x of hnswlib'sSame run as the SIFT-1M row abovedocs/benchmarks/GAPS.md
BEIR FiQA (57,600 documents) single-thread BM25 QPS: 1,269 against Lucene 10.6's 1,625 (0.78x); p50 and p99 latency also behindCore Ultra 9 185H at 4b7a849f, 5 interleaved serve rounds; serving memory (1.26x less than SQLite FTS5) and cold start (2.37x faster than tantivy) still winstandard-text-beir-fiqa-...-185h-22c-27g.json
Text ingest: peak build memory 1.1x to 2.1x SQLite FTS5's on every corpus; ingest time behind SQLite FTS5 on SciFact, NFCorpus and memory (0.46x to 0.97x), tied on FiQASame runs, both machinesdocs/benchmarks/GAPS.md
glove-100-angular with the sparse vector path: recall@10 0.252 at 33.7 QPS against FAISS HNSW 0.832 at 4,111 QPSOne thread, Apple M4; the sparse path is experimentalpublic_glove-100-angular.json

Method, intervals and every loss: docs/benchmarks and the benchmarks pages.

Generated from benchmarks/results/competitive/ by warm-bench table; method and caveats in docs/benchmarks/COMPARISON.md. W = WARM ahead (95% interval excludes parity), T = tie, L = a comparator is ahead, - = no verdict (unpinned source revision, no interval, or not comparable). Rows are compared only within one machine.

DatasetMachineMetricWARMBest otherAdvantage
sift-128-euclideanlinux-x86_64-intel-ultra-9-185h-22c-27gQPS @ recall@10 >= 0.95 (QPS)23,918hnswlib 8,1252.94xW
sift-128-euclideanlinux-x86_64-intel-ultra-9-185h-22c-27gp99 latency @ 0.95 (us)97hnswlib 2512.60xW
sift-128-euclideanlinux-x86_64-intel-ultra-9-185h-22c-27gBuild time (s)121.44hnswlib 170.021.40xW
sift-128-euclideanlinux-x86_64-intel-ultra-9-185h-22c-27gRSS, serving (MiB)490hnswlib 8981.83xW
sift-128-euclideanlinux-x86_64-intel-ultra-9-185h-22c-27gIndex size (MiB)1,389.1hnswlib 751.80.54x-
beir:fiqalinux-x86_64-intel-ultra-9-185h-22c-27gnDCG@100.2654SQLite FTS5 0.26780.99xT
beir:fiqalinux-x86_64-intel-ultra-9-185h-22c-27gQPS (single thread) (QPS)1,269Apache Lucene 10.6.0 (JVM) 1,6250.78xL
beir:fiqalinux-x86_64-intel-ultra-9-185h-22c-27gp99 latency (us)1,828Apache Lucene 10.6.0 (JVM) 1,4860.81xL
beir:fiqalinux-x86_64-intel-ultra-9-185h-22c-27gIngest/build time (s)1.55SQLite FTS5 1.440.93xT
beir:fiqalinux-x86_64-intel-ultra-9-185h-22c-27gPeak RSS, serving (MiB)31SQLite FTS5 391.26xW
beir:fiqalinux-x86_64-intel-ultra-9-185h-22c-27gOn-disk size (MiB)9.7Apache Lucene 10.6.0 (JVM) 12.11.25xW
memorymodal-x86_64-8vcpu-32gnDCG@100.4561Apache Lucene 10.6.0 (JVM) 0.46270.99xT
memorymodal-x86_64-8vcpu-32gQPS (single thread) (QPS)4,138tantivy 2,1851.89xW
memorymodal-x86_64-8vcpu-32gp99 latency (us)533tantivy 7981.50xW
memorymodal-x86_64-8vcpu-32gIngest/build time (s)1.91SQLite FTS5 1.750.92xL
memorymodal-x86_64-8vcpu-32gPeak RSS, serving (MiB)17SQLite FTS5 412.42xW
memorymodal-x86_64-8vcpu-32gOn-disk size (MiB)3.5Apache Lucene 10.6.0 (JVM) 10.32.92xW
memorylinux-x86_64-intel-ultra-9-185h-22c-27gnDCG@100.4561Apache Lucene 10.6.0 (JVM) 0.46270.99xT
memorylinux-x86_64-intel-ultra-9-185h-22c-27gQPS (single thread) (QPS)8,417tantivy 4,9621.70xW
memorylinux-x86_64-intel-ultra-9-185h-22c-27gp99 latency (us)284tantivy 4821.70xW
memorylinux-x86_64-intel-ultra-9-185h-22c-27gIngest/build time (s)0.87SQLite FTS5 0.840.97xL
memorylinux-x86_64-intel-ultra-9-185h-22c-27gPeak RSS, serving (MiB)14SQLite FTS5 241.69xW
memorylinux-x86_64-intel-ultra-9-185h-22c-27gOn-disk size (MiB)3.5Apache Lucene 10.6.0 (JVM) 10.32.92xW
beir:nfcorpusmodal-x86_64-8vcpu-32gnDCG@100.2916SQLite FTS5 0.29141.00xT
beir:nfcorpusmodal-x86_64-8vcpu-32gQPS (single thread) (QPS)12,373tantivy 7,3331.69xW
beir:nfcorpusmodal-x86_64-8vcpu-32gp99 latency (us)164tantivy 2801.71xW
beir:nfcorpusmodal-x86_64-8vcpu-32gIngest/build time (s)0.44SQLite FTS5 0.200.46xL
beir:nfcorpusmodal-x86_64-8vcpu-32gPeak RSS, serving (MiB)15SQLite FTS5 452.91xW
beir:nfcorpusmodal-x86_64-8vcpu-32gOn-disk size (MiB)1.0Apache Lucene 10.6.0 (JVM) 1.51.55xW
beir:nfcorpuslinux-x86_64-intel-ultra-9-185h-22c-27gnDCG@100.2916SQLite FTS5 0.29141.00xT
beir:nfcorpuslinux-x86_64-intel-ultra-9-185h-22c-27gQPS (single thread) (QPS)23,585tantivy 14,2071.66xW
beir:nfcorpuslinux-x86_64-intel-ultra-9-185h-22c-27gp99 latency (us)153tantivy 2451.60xW
beir:nfcorpuslinux-x86_64-intel-ultra-9-185h-22c-27gIngest/build time (s)0.15SQLite FTS5 0.140.94xL
beir:nfcorpuslinux-x86_64-intel-ultra-9-185h-22c-27gPeak RSS, serving (MiB)13SQLite FTS5 282.22xW
beir:nfcorpuslinux-x86_64-intel-ultra-9-185h-22c-27gOn-disk size (MiB)1.0Apache Lucene 10.6.0 (JVM) 1.51.55xW
beir:scifactmodal-x86_64-8vcpu-32gnDCG@100.7027Apache Lucene 10.6.0 (JVM) 0.70221.00xT
beir:scifactmodal-x86_64-8vcpu-32gQPS (single thread) (QPS)5,534tantivy 3,1061.78xW
beir:scifactmodal-x86_64-8vcpu-32gp99 latency (us)236tantivy 4742.01xW
beir:scifactmodal-x86_64-8vcpu-32gIngest/build time (s)0.58SQLite FTS5 0.300.52xL
beir:scifactmodal-x86_64-8vcpu-32gPeak RSS, serving (MiB)31SQLite FTS5 702.23xW
beir:scifactmodal-x86_64-8vcpu-32gOn-disk size (MiB)1.3Apache Lucene 10.6.0 (JVM) 2.01.53xW
beir:scifactlinux-x86_64-intel-ultra-9-185h-22c-27gnDCG@100.7027Apache Lucene 10.6.0 (JVM) 0.70221.00xT
beir:scifactlinux-x86_64-intel-ultra-9-185h-22c-27gQPS (single thread) (QPS)12,254tantivy 6,1332.00xW
beir:scifactlinux-x86_64-intel-ultra-9-185h-22c-27gp99 latency (us)220tantivy 4021.83xW
beir:scifactlinux-x86_64-intel-ultra-9-185h-22c-27gIngest/build time (s)0.22SQLite FTS5 0.200.91xL
beir:scifactlinux-x86_64-intel-ultra-9-185h-22c-27gPeak RSS, serving (MiB)29SQLite FTS5 531.84xW
beir:scifactlinux-x86_64-intel-ultra-9-185h-22c-27gOn-disk size (MiB)1.3Apache Lucene 10.6.0 (JVM) 2.01.53xW

Get started

Clone once: git clone https://github.com/writerslogic/warm && cd warm. Run the offline agent-memory demo with cargo run --release --example demo-offline-agent.

Rust

From your own Rust project, add the current Apache-2.0 source:

sh
cargo add warm-rust

The historical v0.6.1 source remains AGPL-3.0-or-later; it is available from that Git tag, not as a warm-rust 0.6.1 release on crates.io.

rust
use writerslogic_warm::{DocumentInput, WarmCore, SearchOptions};
let dir = tempfile::tempdir()?;let warm = WarmCore::new(4096, Some(dir.path().display().to_string()), None)?;warm.memorize_document(DocumentInput {    id: "backups".into(),    text: "Restore deleted documents from verified backups.".into(),    source_uri: Some("operations.md".into()),    version: Some("1".into()),    metadata: Some(serde_json::json!({ "project": "alpha" })),    chunk_words: None, overlap_words: None, store_text: None, embeddings: None, title_weight: None,})?;let hits = warm.search_documents("restore backups", &SearchOptions::default())?;println!("{} {:?}", hits[0].document_id, hits[0].source_uri);

Unreleased Rust API change: WarmCore::query, query_batch, and analyze_components return Result. Handle the result with ? or an explicit error branch; deferred-encoding failures no longer become successful partial query results. get_document, list_documents, get_document_info, and list_document_info also return Result; retained-text and checkpoint decoding failures propagate instead of panicking, and reads no longer hydrate the entire checkpoint or hold store locks during text I/O.

Node.js

Install the Node.js package and its platform-specific native binary:

sh
npm install warm-sdk

To build from source, run npm ci --omit=optional && npm run build with Rust installed. The WARM release includes listDocuments for scoped pruning. See the integration guide for source provenance, namespace isolation, dry runs and deletion limits.

js
const { WarmMemorySystem } = require('warm-sdk')const { DocumentMemory } = require('warm-sdk/semantic')
async function main() {  const dir = require('node:fs').mkdtempSync(require('node:path').join(require('node:os').tmpdir(), 'warm-readme-'))  const memory = new DocumentMemory(new WarmMemorySystem(4096, dir))  await memory.memorize({    id: 'backups', text: 'Restore deleted documents from verified backups.',    sourceUri: 'operations.md', version: '1', metadata: { project: 'alpha' },  })  const [hit] = await memory.search('restore backups', { filter: { project: 'alpha' } })  console.log(hit.documentId, hit.sourceUri, hit.text)  await memory.flush()}main().catch(error => { console.error(error); process.exit(1) })
Server and Python

The Python package warm-sdk is an HTTP client for warm-server, which stores vectors you supply. (warm-python provides native vector search and phase vectors, but no document search.)

sh
cargo build --release --features server --bin warm-serverWARM_API_KEY=change-me target/release/warm-server --input-dim 384 &uv pip install warm-sdk
python
from writerslogic_warm_sdk import WarmClient
client = WarmClient(url="http://127.0.0.1:8080", api_key="change-me", tenant_id="demo")client.add_documents([{"id": "a", "vector": [0.1] * 384, "text": "hello", "metadata": {}}])print(client.query([0.1] * 384, top_k=1)["matches"][0]["id"])

Endpoints, flags, tenants and limits are in the server docs. A runnable Python quickstart with a toy embedder is in examples/quickstart/python.

MCP

warm-mcp serves a store to any Model Context Protocol client over stdio or HTTP:

sh
npx -y writerslogic-warm-mcp                                # stdio; downloads a verified binary on first runnpx -y writerslogic-warm-mcp --transport http               # http://127.0.0.1:8765/mcp

The MCP package is a separate launcher. To build the server from source:

sh
cargo build --release --features mcp,security --bin warm-mcp   # add local-models for semantic recall./target/release/warm-mcp                                       # stdio./target/release/warm-mcp --transport http                      # http://127.0.0.1:8765/mcp

Client setup, data directory and the one-writer rule: MCP integration.

For normalized content from multiple applications, see the organizational knowledge adapter.

The five-minute quickstart walks through ingest, search, a SQLite FTS5 comparison and encryption in Rust, Python and Node, and CI runs that code on every pull request. For a whole agent memory with no embeddings and no network, run cargo run --example demo-offline-agent.

What ships today

CapabilityStatusDocumented limit
Hybrid document search (BM25 + exact cosine, filters, byte offsets)ShipsExact scan of eligible chunks; benchmark your corpus before assuming capacity (guide)
Boolean lexical search (+required, -excluded, quoted phrases)ShipsFlat queries only, no nesting; an empty or only-excluded query matches nothing (design)
Atomic replace/delete, crash-safe journal, verified compaction, process lockShipsOne writer per store; compaction is not secure erasure
Vector index (qgraph vertex graph, memory-mapped)ShipsBuild time and serving RSS behind hnswlib on SIFT-1M (gaps)
Updatable vector index (durable delta for inserts and deletes)ShipsSingle writer; format in VECTOR-UPDATES.md
Query-aware graph routing (trained on sample queries)Ships (opt-in)Needs representative training queries; tested on VIBE llama and yi (report)
Memory API: remember, recall, forget, explainShipsForgetting removes a fact from the store; it does not cover what a model inferred (docs)
Conversation memory (conversation-memory)ShipsBounded context with exact source provenance; native recall not yet benchmarked on LongMemEval end to end
Meaning memory: triples, multi-hop, Hopfield cleanupShips (runtime opt-in)Tested on synthetic and 2,120-fact sets (research_bench_16384_256.json)
Union-bundle membership (experimental)ResearchAt D = 16,384: positive gap to N = 500 (4% false positives), tested to 2,500 (benchmark_scaling_results.json)
Sparse vector index (memorize_vector)ExperimentalNot competitive with HNSW (results)
Encrypted stores (security)ShipsAES-256-GCM, Argon2id; covers the log, index caches and the text segment. Metadata, file names and sizes are not encrypted
Signed audit log, credential-gated access, COSE/SCITT/C2PA (provenance)ShipsHost must authenticate DIDs; PoSME, RATS, did:web not implemented
On-device models (local-models: Qwen3 embed/rerank/LLM)ShipsLocal weights only; never downloads
warm-server HTTP API, multi-tenant (server)ShipsSingle node; TLS, per-tenant scoped keys (guide)
MCP server (mcp: warm-mcp, stdio and HTTP)ShipsEncryption needs security; semantic recall needs local-models
Node.js bindingsShips on npm and from sourceNative binaries are selected by platform at install time
C, Go, .NET, Java, Kotlin, Swift and WebAssembly bindingsSource availableRequire local builds; the language packages and native bundles are not yet published (runtime guides)
PythonClient + phase substrateNo in-process document search
Query-private search (private-search)ExperimentalFor searching an index someone else holds; hides the query vector from the scorer only (notes)

Every capability above except document search and the vector index is behind a Cargo feature or runtime option that is off by default; Cargo features lists them all.

Architecture

mermaid
flowchart TB  subgraph bindings["Bindings and servers"]    rust["Rust crate"]    node["Node.js (napi)"]    ffi["C, WASM, UniFFI"]    python["Python: warm-sdk"]    server["warm-server (HTTP)"]    mcp["warm-mcp (stdio, HTTP)"]  end  subgraph engine["Engine API"]    core["WarmCore: documents, vectors, facts, mutation gate"]    prov["Security and provenance: signed audit log, COSE/SCITT"]  end  subgraph indexes["Indexes and memory"]    text["Text index: blocked postings, BM25, Boolean and phrase"]    vector["Vector index (qgraph): vertex file, updatable delta, query-aware projection"]    memory["Memory API: remember, recall, forget, conversation memory"]    vsa["Vector-symbolic layer: bind, bundle, Hopfield cleanup"]  end  subgraph storage["Storage"]    journal["Journal and checkpoints"]    segments["Append-only segments (CRC32, LZ4)"]    mapped["Memory-mapped files"]    crypto["AES-256-GCM encryption (optional)"]  end  python --> server  rust --> core  node --> core  ffi --> core  server --> core  mcp --> core  core --> text  core --> vector  core --> memory  core --> vsa  core --> prov  memory --> text  text --> journal  vector --> journal  memory --> journal  journal --> segments  segments --> mapped  segments --> crypto

Module map: docs/ARCHITECTURE.md.

Limits

  • Not anonymous. Hypervector sketches and term counts are not encryption; anyone with a store can encode candidate text and compare. storeText: false keeps term counts, IDs and embeddings, so it is not a privacy control.
  • Document search is conventional. It does not use the hypervectors; the holographic parts are the algebra and the meaning memory.
  • One writer per store. A second writing process fails at open with a lock error.
  • Capacity numbers are points, not guarantees, and are stated only over the tested range (capacity).
  • Benchmark results are single machines. Conditions are in each results file; the single-core ann-benchmarks run and the VIBE high-recall points are losses (see Where it's behind).
  • Masking is obfuscation. Client-side vector masking preserves every pairwise similarity.
  • A store is a directory and WarmCore::new(.., None, ..) uses the current directory.

Full statement: docs/PRIVACY.md. Report vulnerabilities privately via SECURITY.md.

Contributing

CONTRIBUTING.md: setup, the checks CI runs, DCO sign-off (git commit -s, no CLA). Start with a good first issue or Discussions. See the Code of Conduct. Benchmark changes regenerate the results file they touch; the README cites files, not remembered figures.

License

Apache-2.0. See LICENSE. Use, modify and embed it in open-source or proprietary software, including network services, with no copyleft obligation. The historical v0.6.1 source remains available under its AGPL-3.0-or-later license.

来源:README.md,提交 af8d401

工具

8

remember

Store memory

Store a durable fact, decision or preference; use `recall` to find one instead. Omit `id` to create a memory; an existing `id` replaces its text, title, tags and metadata, clearing optional fields you omit. Use `if_version` with a known id to reject concurrent changes, or `create_only` to reject overwrites.

输入参数idtagstext必填titlemetadataif_versionallow_emptycreate_only

recall

Recall matching memories

Retrieve full memories ranked for a natural-language question. `tags` require every listed label, and `min_score` drops low relative-score matches; use `search` for exact metadata-key filters, custom ranking weights or fusion, or text previews instead of full memories. Read-only; ranking is lexical by default, with semantic ranking when a model is configured.

输入参数ktagsquery必填min_score

get

Get memory

Read one known memory id in full, including tags, metadata and version. Use an id from `list` or `search`; use `recall` when only a natural-language question is known. Read-only; an unknown id returns an error.

输入参数id必填

forget

Delete memories

Delete memories from the active store by exact id(s) or id prefix; use `remember` to update content instead. Deletion has no undo: inspect prefix matches with `list` first and set `confirm: true` for prefix deletion. Exact ids and a prefix cannot be combined, and a batch failure may leave earlier ids deleted.

输入参数ididsprefixconfirm

list

List memories

Browse memories in id order, optionally limited by id prefix or tag; use `search` for relevance ranking. Read-only. Returns text previews unless `full` is true; pass `next_cursor` as `cursor` to continue.

输入参数tagfulllimitcursorprefix

stats

Store statistics

Inspect store counts, recall mode, encryption status, storage size and active limits without reading memory contents. Read-only; use `list` to inspect stored memories.

无需输入参数。

export

Export memory contents

Export a portable copy of many memories as JSON, JSONL or Markdown. Use `get` for one known memory, `recall` or `search` to find matches, and `list` for short previews. The text payload is capped by the export byte limit; pass `next_cursor` as `cursor` for more. Pages read the live store, so concurrent writes can change later pages.

输入参数taglimitcursorformatprefix

版本历史

1
  1. v0.1.5最新Oct 31, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分