WritersLogic Adaptive Retention & Memory

WARM

Memory for AI apps that stays on your computer.

WARM lets an AI app remember your documents, notes and conversations, find the right one in a fraction of a millisecond, and show exactly where each answer came from. It runs inside the app on your own machine, so nothing is sent anywhere unless you choose to sync.Remembers, finds and cites, all on your machine.

Slower to ingest text than SQLite FTS5 (0.81-0.92x its speed), and an index that stores the text is 2.27-2.60x Lucene's size. Text: Intel Core Ultra 9 185H (22 logical cores, 27 GiB), Linux x86_64, measured 2026-11-13 and 14; vectors: a GCP n2 VM (Intel Xeon Ice Lake 2.60 GHz, 8 vCPUs, 16 GiB), Linux x86_64. Method and losses.

Why it exists

Stays on your computer

WARM runs inside your app and keeps everything on your own disk. It doesn't call a server or send usage data.

An Apache-2.0 Rust library linked into your process; the embedded engine makes no network calls and sends no telemetry.

Locked when stored

Turn on encryption and everything WARM saves is unreadable without your passphrase. It's part of the free, open-source engine.

AES-256-GCM at rest, keyed by Argon2id, covering the log, index caches and stored text.

Every answer shows its source

Each result points back to the exact passage it came from, and WARM keeps a signed record of what was stored and when.

Byte offsets into the source; a signed audit log, COSE_Sign1 over Ed25519 and SCITT-style statements, with did:key and did:jwk identities.

Purge removes the text

Deleting something hides it from every search at once. Purging rewrites WARM's local files without it.

Purge rewrites the journal and overwrites the old generation with zeros before it returns; a test scans every store file for the deleted text.

Ask a question, get the source

Pick a question and see the passage WARM finds for it. These are recorded results from the quickstart you can run yourself.

30 articles of the UDHR · 8 questions with known answers

WARM top result correct
8/8
SQLite FTS5 top result correct
7/8

01 / Pick a question

02 / Inspect the source

“nobody may be tortured”

WARM Article 5 udhr-05expected answer

No one shall be subjected to torture or to cruel, inhuman or degrading treatment or punishment.

SQLite FTS5 Article 20 udhr-20wrong article

1. Everyone has the right to freedom of peaceful assembly and association. 2. No one may be compelled to belong to an association.

Recorded Rust/Node quickstart results, not a live engine or a benchmark. Highlighted words share a stem with the question. Inspect the expected output · Run it on your machine ↓

Benchmarks

Same machine, same queries, every competitor at its tuned operating point. Bars are single-thread queries per second; every number links to a committed results file. Full comparison and method.

Text search: BEIR and LongMemEval sessions against tantivy, Lucene and SQLite FTS5

Each engine gets the raw query string and its own query parsing is timed. Results with text: every one of the top 100 hits comes back with its stored text, which is what WARM’s document search returns.

BEIR SciFact5,183 documents, 809 queries. Bars: queries per second, one thread.1.55x tantivy (Rust)
BEIR SciFact, queries per second, one threadWARM 10,251, tantivy (Rust) 6,606, Apache Lucene 481, SQLite FTS5 155WARM10,251tantivy (Rust)6,606Apache Lucene481SQLite FTS5155
Data table
BEIR SciFact, queries per second, one thread
SystemQPS
WARM10,251
tantivy (Rust)6,606
Apache Lucene481
SQLite FTS5155
Raw results file
BEIR NFCorpus3,633 documents, 324 queries. Bars: queries per second, one thread.1.36x tantivy (Rust)
BEIR NFCorpus, queries per second, one threadWARM 20,489, tantivy (Rust) 15,058, SQLite FTS5 854, Apache Lucene 749WARM20,489tantivy (Rust)15,058SQLite FTS5854Apache Lucene749
Data table
BEIR NFCorpus, queries per second, one thread
SystemQPS
WARM20,489
tantivy (Rust)15,058
SQLite FTS5854
Apache Lucene749
Raw results file
BEIR FiQA57,600 documents, 500 queries. Bars: queries per second, one thread.1.40x tantivy (Rust)
BEIR FiQA, queries per second, one threadWARM 2,760, tantivy (Rust) 1,969, Apache Lucene 419, SQLite FTS5 16WARM2,760tantivy (Rust)1,969Apache Lucene419SQLite FTS516
Data table
BEIR FiQA, queries per second, one thread
SystemQPS
WARM2,760
tantivy (Rust)1,969
Apache Lucene419
SQLite FTS516
Raw results file
LongMemEval sessions4,559 documents, 100 queries, search speed only. Bars: queries per second, one thread.1.89x tantivy (Rust)
LongMemEval sessions, queries per second, one threadWARM 4,140, tantivy (Rust) 2,190, Apache Lucene 219, SQLite FTS5 48WARM4,140tantivy (Rust)2,190Apache Lucene219SQLite FTS548
Data table
LongMemEval sessions, queries per second, one thread
SystemQPS
WARM4,140
tantivy (Rust)2,190
Apache Lucene219
SQLite FTS548
Raw results file

Ids and scores only: the top 100 matches without their text.

BEIR SciFact5,183 documents, 809 queries. Bars: queries per second, one thread.1.94x tantivy (Rust)
BEIR SciFact, queries per second, one threadWARM 22,711, tantivy (Rust) 11,709, Apache Lucene 4,323, SQLite FTS5 158WARM22,711tantivy (Rust)11,709Apache Lucene4,323SQLite FTS5158
Data table
BEIR SciFact, queries per second, one thread
SystemQPS
WARM22,711
tantivy (Rust)11,709
Apache Lucene4,323
SQLite FTS5158
Raw results file
BEIR NFCorpus3,633 documents, 324 queries. Bars: queries per second, one thread.1.48x tantivy (Rust)
BEIR NFCorpus, queries per second, one threadWARM 62,518, tantivy (Rust) 42,293, Apache Lucene 10,089, SQLite FTS5 927WARM62,518tantivy (Rust)42,293Apache Lucene10,089SQLite FTS5927
Data table
BEIR NFCorpus, queries per second, one thread
SystemQPS
WARM62,518
tantivy (Rust)42,293
Apache Lucene10,089
SQLite FTS5927
Raw results file
BEIR FiQA57,600 documents, 500 queries. Bars: queries per second, one thread.1.16x Apache Lucene (no verdict)
BEIR FiQA, queries per second, one threadWARM 3,458, Apache Lucene 2,975, tantivy (Rust) 2,454, SQLite FTS5 16WARM3,458Apache Lucene2,975tantivy (Rust)2,454SQLite FTS516
Data table
BEIR FiQA, queries per second, one thread
SystemQPS
WARM3,458
Apache Lucene2,975
tantivy (Rust)2,454
SQLite FTS516
Raw results file
LongMemEval sessions4,559 documents, 100 queries, search speed only. Bars: queries per second, one thread.2.08x tantivy (Rust)
LongMemEval sessions, queries per second, one threadWARM 18,016, tantivy (Rust) 8,657, Apache Lucene 2,312, SQLite FTS5 49WARM18,016tantivy (Rust)8,657Apache Lucene2,312SQLite FTS549
Data table
LongMemEval sessions, queries per second, one thread
SystemQPS
WARM18,016
tantivy (Rust)8,657
Apache Lucene2,312
SQLite FTS549
Raw results file
Same answers: nDCG@10 on each dataset
DatasetWARMtantivyApache LuceneSQLite FTS5
BEIR SciFact0.70270.70110.70220.7009
BEIR NFCorpus0.29160.29030.28970.2914
BEIR FiQA0.26540.26430.26570.2678
LongMemEval sessions0.45610.45320.46270.4489

Vector search: SIFT-1M against hnswlib

WARM is timed through its native Rust API; hnswlib both natively in C++ and through its Python binding, which lands within a few percent of C++. The headline ratio is against the faster of the two. Time to first answer after opening the index: WARM 0.10 s, hnswlib (C++) 0.77 s.

SIFT-1M, recall@10 0.901,000,000 vectors, 10,000 queries. Bars: queries per second.2.18x hnswlib (C++)
SIFT-1M, recall@10 0.90, queries per secondWARM 24,335, hnswlib (C++) 11,152, hnswlib (Python) 10,780WARM24,335hnswlib (C++)11,152hnswlib (Python)10,780
Data table
SIFT-1M, recall@10 0.90, queries per second
SystemQPS
WARM24,335
hnswlib (C++)11,152
hnswlib (Python)10,780
Raw results file
SIFT-1M, recall@10 0.951,000,000 vectors, 10,000 queries. Bars: queries per second.1.97x hnswlib (C++)
SIFT-1M, recall@10 0.95, queries per secondWARM 14,645, hnswlib (C++) 7,427, hnswlib (Python) 7,223WARM14,645hnswlib (C++)7,427hnswlib (Python)7,223
Data table
SIFT-1M, recall@10 0.95, queries per second
SystemQPS
WARM14,645
hnswlib (C++)7,427
hnswlib (Python)7,223
Raw results file
SIFT-1M, recall@10 0.991,000,000 vectors, 10,000 queries. Bars: queries per second.1.89x hnswlib (C++)
SIFT-1M, recall@10 0.99, queries per secondWARM 6,576, hnswlib (C++) 3,487, hnswlib (Python) 3,389WARM6,576hnswlib (C++)3,487hnswlib (Python)3,389
Data table
SIFT-1M, recall@10 0.99, queries per second
SystemQPS
WARM6,576
hnswlib (C++)3,487
hnswlib (Python)3,389
Raw results file

Agent memory: LoCoMo against Mem0 Platform

Overall, WARM is at parity with Mem0 Platform: the difference is within the margin of error. Both answered the same 1,540 questions through Mem0’s own benchmark harness, with gpt-5 answering and judging. Mem0’s figures are from the per-question results Mem0 publishes; we did not run Mem0. WARM ran once with default settings, stored each conversation turn as written (no LLM calls when storing) and used OpenAI text-embedding-3-small for embeddings. Method and evidence.

Question typeQuestionsWARMMem0 PlatformDifference (95% interval)
Overall1,54092.0%91.6%+0.5 pp [-1.0, +1.9]
Single-hop84194.3%92.3%+2.0 pp [+0.2, +3.8]
Temporal32194.4%92.8%+1.6 pp [-0.9, +4.4]
Multi-hop28288.3%93.3%-5.0 pp [-8.9, -1.1]
Open-domain9675.0%76.0%-1.0 pp [-8.3, +5.2]

Where we’re not ahead yet

  • Text ingest time. SQLite FTS5 indexes faster: WARM's ingest speed is 0.81-0.92x SQLite's (FiQA with text stored: WARM 1.75 s vs 1.42 s).
  • Index size with stored text. With each document's text stored, WARM's index is 2.27-2.60x the size of Lucene's (FiQA: 93.6 MiB vs 41.2 MiB).
  • Text build memory. Peak memory while indexing is 1.18-2.80x SQLite FTS5's.
  • Time to first answer. On SciFact with text returned, WARM takes 8 ms after opening the index to answer its first search, tantivy (Rust) 7 ms; on the LongMemEval sessions with text returned, WARM takes 14 ms after opening the index to answer its first search, tantivy (Rust) 8 ms.
  • Multi-hop memory questions. On LoCoMo, WARM answers 88.3% of multi-hop questions against Mem0 Platform's 93.3%. 20 of WARM's 282 multi-hop answers came back empty because the answering model used its whole output limit before replying.
  • Vector build time. WARM takes 67.42 s to build the SIFT-1M index and ScaNN 34.86 s, so WARM does not claim a build-time win.
  • Ranking quality. nDCG@10 matches the other engines within 3.0% on all four text corpora; WARM's speed is not bought with different answers, and it does not rank better either.

How these were measured

Text: Intel Core Ultra 9 185H (22 logical cores, 27 GiB), Linux x86_64, measured 2026-11-13 and 14, under WSL2. SIFT-1M: a GCP n2 VM (Intel Xeon Ice Lake 2.60 GHz, 8 vCPUs, 16 GiB), Linux x86_64. Every system runs in the same ten interleaved rounds, each query timed on one pinned CPU core, with bootstrap intervals; a result is called a win only when the interval excludes parity; tested range is SIFT-1M (1,000,000 vectors) and four text corpora (three BEIR sets and the LongMemEval session corpus) of 3,633 to 57,600 documents, not larger. WARM is timed through its native Rust API; hnswlib natively in C++ and through its Python binding, one call per query. Text runs use WARM in BM25 lexical mode.

Durability: Killed mid-write at 200 points, mid-compaction at 200 points and at 50 simulated power losses: 0 committed documents lost; recovery median 13.8 ms after a killed write. 50 torn writes and 50 bit flips: every one detected or harmless, none served silently. Source.

Known limits
  • memorize_vectors and query_vector run on the vertex graph index (except in encrypted stores). On glove-100-angular, one operating point on an Apple M4, they reach recall@10 0.859 at 2,092 queries per second against hnswlib's 0.831 at 3,368: higher recall, lower throughput (public_glove-100-angular.json).
  • Hypervector sketches and term counts are not encryption; anyone holding a plaintext store can test candidate text against it. Use the encrypted store for confidentiality.
  • Deleted bytes can survive in places no file API reaches: SSD wear levelling, snapshots, backups and swap. Pair purge with encryption or full-disk encryption.
  • The MCP server runs with npx -y warm-mcp or uvx warm-mcp (each downloads a checksum-verified prebuilt binary on first run), or builds from source with the mcp feature. Install warm-memory from npm for native Node.js bindings. The Python SDK is an HTTP client for warm-server, not in-process document search.

How it works

Under the hood: hybrid search, graph indexing, and vector-symbolic memory. One engine, linked into your process.

WARM architectureYour app or agent calls the WARM engine in the same process. The engine reads and writes document, fact and graph indexes and an encrypted, signed log on your own disk. No network calls.Your app or agentRustNode.jsPython (HTTP client)MCP: editors and agentsWARM enginein your processrememberrecallforgetexplainYour diskDocuments: BM25 + cosineFacts: vector-symbolicGraph vector indexEncrypted, signed log
Everything runs in your process on your disk. No network calls unless you turn on sync.
  1. Store

    Documents, facts and the embeddings you choose go into one append-only, checksummed log on your disk, encrypted if you turn it on.

  2. Index

    BM25 postings, a vertex-graph vector index and superposed fact vectors are built in the same process. No server, no network call.

  3. Recall

    Hybrid search fuses lexical and vector scores and returns byte offsets into the source; signed provenance records who stored what, and when.

The holographic part is the fact memory: bound facts are superposed into fixed-size vectors and recalled by similarity. Document search is conventional BM25 and cosine.

Use cases

Agent memory

Give an agent durable recall of facts, conversations and decisions that lives in its own process, survives crashes and can be purged on request.

RAG over private documents

Index contracts, notes or code on the machine that already holds them. BM25 and the embeddings you choose, fused, with byte offsets back to the source; nothing is uploaded.

On-device apps

Ship search and memory inside a desktop or edge app through the Rust crate or the C ABI, with encryption at rest and no server to run.

Integrations

Framework adapters live in the repository and install from source until they are published.

  • Python integrations

    LangChain, LangGraph, LlamaIndex, Haystack, DSPy, OpenAI Agents, Pydantic AI, smolagents, LiteLLM, CrewAI, AutoGen, AG2, Semantic Kernel, Mem0 and Letta, one extra per framework

  • JavaScript integrations

    LangChain.js, LlamaIndex.TS, Mastra, OpenAI Agents SDK and the Vercel AI SDK

Quickstart

Store a document and find it again. The complete quickstart adds encryption and filters.

shell: install
# Cargo.toml: Apache-2.0 release
cargo add warm-rust
cargo add serde_json anyhow
src/main.rs
use writerslogic_warm::{DocumentInput, WarmCore, SearchOptions};

fn main() -> anyhow::Result<()> {
    // 4,096-dimension store in ./memory; nothing leaves this machine.
    let warm = WarmCore::new(4096, Some("./memory".into()), 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);
    Ok(())
}

Node.js: warm-memory 0.7.4 includes native binaries for eight platforms in one package. Go, Java and .NET: the C ABI bindings in bindings/.

Common questions: encryption, network use, versions and limits.

Did the example run on your machine?

Confirm after your chosen quickstart returns its expected result. Copying an install command does not count as completing the quickstart.

This is your confirmation; the website cannot observe your local process. Usage measurement is optional and controlled in the footer.

Compare

How Mem0, Zep, Chroma and Qdrant document the same properties, checked 2026-10-21.

Comparison with Mem0, Zep, Chroma and Qdrant
PropertyWARMMem0ZepChromaQdrant
Runs inside your app, no serviceYes: Yes: Rust library, Node module, C ABIPartly: Open-source library; Mem0 Platform is hostedNo: Hosted; Community Edition no longer maintained (April 2025)Partly: In-process from Python; JS and Rust use a serverPartly: Server or Cloud; the Python client has a local mode (exact scan)
Encryption at rest in the open-source productYes: Built in (opt-in)Not documented: Not documentedPartly: Customer keys are an Enterprise add-onNot documented: Not documented for open sourcePartly: Self-hosted: customer configuration
Signed provenance of stored recordsYes: COSE_Sign1 over Ed25519, SCITT-style statements, did:key and did:jwk identitiesNot documented: Not documentedNot documented: Not documentedNot documented: Not documentedNot documented: Not documented
Deleted text removed from store filesYes: Purge rewrites the journal and zeroes old generations before returningNot documented: Not documentedPartly: Removed in the background; overwrite not documentedNot documented: Not documentedPartly: Marked deleted, cleaned up later by an optimizer

✓ Yes · ◐ Partly · ✕ No · – Not documented. Hover or use a screen reader for each vendor’s wording. Sources: Mem0 open source, Mem0 Platform, Zep open-source strategy, Zep bring your own key, Chroma clients, Qdrant security, Qdrant optimizer.

Open source and plans

Start with the free local engine. Add Cloud Sync for $29/month to synchronize documents across devices and restore them with your recovery kit. Fixed limits, no automatic overages, and self-service cancellation. Initial client: Node.js 22+ on macOS arm64.

Cloud Sync setup, limits and recovery · Manage billing

  • Community

    Available now

    Free

    The open-source engine and server on your own machines.

    • Rust library, Python SDK, C ABI with Go, Java and .NET
    • Hybrid search, fact memory, crash-safe log
    • Optional encryption at rest and signed provenance
    • Support through GitHub
    Get started on GitHub
  • Cloud Sync

    Available now · taxes may apply

    $29/month

    Encrypted document sync with a downloadable client, recovery kit and self-service billing. Node.js 22+, macOS arm64.

    • 10 GiB encrypted storage across up to 10 logs
    • 100,000 requests, 10,000 frame upload attempts and 200,000 frame reads per billing month
    • 100,000 retained frames; separate recovery allowance
    • No overage charges; cancel in the billing portal
    • 30-day recovery window after the subscription ends; keep your recovery kit
    Choose Cloud Sync
  • Team

    Planned after Cloud Sync

    Monthly plan

    Encrypted sync and verification shared across a team, with usage included each month.

    • Everything in Cloud, with included monthly usage and a larger storage quota
    • Scoped API keys with rotation and instant revocation
    • SSO through your identity provider (OIDC) and a signed, exportable audit log
    • Support and service commitments to be defined before launch
    Join the waitlist
  • Enterprise

    Talk to us

    Talk to us

    Your keys, your infrastructure, compliance reporting.

    • Annual agreement with custom quotas
    • Bring your own key (KMS / HSM)
    • Transparency log and verification you can run yourself
    • Compliance reports and audit retention
    • Named support contact
    Join the waitlist
What WARM Cloud adds to the open-source engine
FeatureOpen sourceCloud (in development)
Search and document processingOn your machineOn your machine
Document sync between devicesManage your own copiesEncrypted upserts and deletes through the Sync client
Synced document fieldsNative engine APIID, text, source URI, version and JSON metadata
Recovery on another deviceYour own backupsRestore with your saved recovery kit
Account and billing recoveryNo account requiredRecovery credential for account access; email for billing
Usage chargesFree local engine$29/month plus tax, fixed limits, no overages

Current WARM releases are Apache-2.0. Historical releases under the former names retain their original license terms.

Questions

Does it send my data anywhere?

The local document-search quickstart makes no service calls and needs no model or API key. The engine sends no telemetry. Optional model integrations and HTTP clients have their own network requirements. Cloud Sync uploads encrypted document changes when you run sync; your sync key stays on your devices.

How is this different from Mem0, Zep, Chroma or Qdrant?

WARM is a library you embed, not a service you call, and it puts encryption at rest, signed provenance and a text-erasing purge in the open-source engine itself. Search speed against tantivy, Lucene, SQLite FTS5 and hnswlib, and how each was driven, is in the benchmarks section.

What does WARM stand for?

WARM stands for WritersLogic Adaptive Retention & Memory. The fact memory uses holographic reduced representations: many bound facts are superposed into one fixed-size vector, so every part carries a little of the whole and damage degrades recall gradually. Document search is conventional BM25 and cosine and does not claim that property.

Is it really deleted when I delete it?

Delete removes a record from every query at once; its journal frame stays until compaction or purge. Purge rewrites the journal and overwrites the old generation with zeros before it returns. Copies outside the store's files, such as backups, snapshots and SSD wear levelling, are out of any library's reach; encrypt the store when those matter. Signed deletion certificates are research, not yet in the shipped API.

Which license applies?

Current WARM releases are Apache-2.0. Historical releases under the former names retain their original license terms.

Which languages can I use?

Rust natively; MCP for editors and agents; native Node.js bindings on npm; a Python HTTP client for warm-server; and a C ABI with Go, Java and .NET bindings.

What does the Cloud do if the engine runs locally?

WARM Cloud Sync costs $29/month plus applicable tax. It synchronizes document IDs, text, source URIs, versions, JSON metadata and deletions through the Node.js client. Search stays local. It does not back up embeddings, facts, arbitrary engine stores or writes outside the Sync client. The relay sees ciphertext, ordering metadata and account details. There are no automatic overages. Setup, limits and recovery instructions are at writerslogic.com/warm/sync/.

Can you recover my sync key?

No. Keep a separate secure copy of your sync key before relying on encrypted recovery. Resetting an account or API key cannot decrypt your documents. If every copy of the sync key is lost, the service cannot recover the encrypted data.

Part of the WritersLogic provenance platform

WARM is part of the WritersLogic provenance platform: the same signed-statement substrate (COSE and SCITT over Ed25519, W3C DID identity) runs through every product.

  • WritersProof: Records how a document is written and seals that process into signed evidence anyone can verify
  • Draftbridge: Connects Scrivener to supported AI assistants through a Mac app that handles setup

WritersLogic Adaptive Retention & Memory is made by WritersLogic, Inc.