WARM Article 5 udhr-05expected answer
No one shall be subjected to torture or to cruel, inhuman or degrading treatment or punishment.
WritersLogic Adaptive Retention & Memory
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.
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.
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.
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.
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.
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
01 / Pick a question
02 / Inspect the source
“nobody may be tortured”
udhr-05expected answerNo one shall be subjected to torture or to cruel, inhuman or degrading treatment or punishment.
udhr-20wrong article1. 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 ↓
Use WARM from an AI coding tool, or build it into your own app.
Persistent memory through MCP. Start a local process or connect to a shared server.
Connect your editor →Embed search directly in your process. Own the store and enable encryption when you need it.
Run the Rust example →Install warm-sdk from PyPI to call your warm-server. Supply vectors from the model you choose.
Install the Python SDK →Install warm-memory from npm and call the Rust engine from JavaScript or TypeScript.
Install the Node module →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.
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.
| System | QPS |
|---|---|
| WARM | 10,251 |
| tantivy (Rust) | 6,606 |
| Apache Lucene | 481 |
| SQLite FTS5 | 155 |
| System | QPS |
|---|---|
| WARM | 20,489 |
| tantivy (Rust) | 15,058 |
| SQLite FTS5 | 854 |
| Apache Lucene | 749 |
| System | QPS |
|---|---|
| WARM | 2,760 |
| tantivy (Rust) | 1,969 |
| Apache Lucene | 419 |
| SQLite FTS5 | 16 |
| System | QPS |
|---|---|
| WARM | 4,140 |
| tantivy (Rust) | 2,190 |
| Apache Lucene | 219 |
| SQLite FTS5 | 48 |
Ids and scores only: the top 100 matches without their text.
| System | QPS |
|---|---|
| WARM | 22,711 |
| tantivy (Rust) | 11,709 |
| Apache Lucene | 4,323 |
| SQLite FTS5 | 158 |
| System | QPS |
|---|---|
| WARM | 62,518 |
| tantivy (Rust) | 42,293 |
| Apache Lucene | 10,089 |
| SQLite FTS5 | 927 |
| System | QPS |
|---|---|
| WARM | 3,458 |
| Apache Lucene | 2,975 |
| tantivy (Rust) | 2,454 |
| SQLite FTS5 | 16 |
| System | QPS |
|---|---|
| WARM | 18,016 |
| tantivy (Rust) | 8,657 |
| Apache Lucene | 2,312 |
| SQLite FTS5 | 49 |
| Dataset | WARM | tantivy | Apache Lucene | SQLite FTS5 |
|---|---|---|---|---|
| BEIR SciFact | 0.7027 | 0.7011 | 0.7022 | 0.7009 |
| BEIR NFCorpus | 0.2916 | 0.2903 | 0.2897 | 0.2914 |
| BEIR FiQA | 0.2654 | 0.2643 | 0.2657 | 0.2678 |
| LongMemEval sessions | 0.4561 | 0.4532 | 0.4627 | 0.4489 |
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.
| System | QPS |
|---|---|
| WARM | 24,335 |
| hnswlib (C++) | 11,152 |
| hnswlib (Python) | 10,780 |
| System | QPS |
|---|---|
| WARM | 14,645 |
| hnswlib (C++) | 7,427 |
| hnswlib (Python) | 7,223 |
| System | QPS |
|---|---|
| WARM | 6,576 |
| hnswlib (C++) | 3,487 |
| hnswlib (Python) | 3,389 |
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 type | Questions | WARM | Mem0 Platform | Difference (95% interval) |
|---|---|---|---|---|
| Overall | 1,540 | 92.0% | 91.6% | +0.5 pp [-1.0, +1.9] |
| Single-hop | 841 | 94.3% | 92.3% | +2.0 pp [+0.2, +3.8] |
| Temporal | 321 | 94.4% | 92.8% | +1.6 pp [-0.9, +4.4] |
| Multi-hop | 282 | 88.3% | 93.3% | -5.0 pp [-8.9, -1.1] |
| Open-domain | 96 | 75.0% | 76.0% | -1.0 pp [-8.3, +5.2] |
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.
Under the hood: hybrid search, graph indexing, and vector-symbolic memory. One engine, linked into your process.
Documents, facts and the embeddings you choose go into one append-only, checksummed log on your disk, encrypted if you turn it on.
BM25 postings, a vertex-graph vector index and superposed fact vectors are built in the same process. No server, no network call.
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.
Give an agent durable recall of facts, conversations and decisions that lives in its own process, survives crashes and can be purged on request.
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.
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.
Framework adapters live in the repository and install from source until they are published.
LangChain, LangGraph, LlamaIndex, Haystack, DSPy, OpenAI Agents, Pydantic AI, smolagents, LiteLLM, CrewAI, AutoGen, AG2, Semantic Kernel, Mem0 and Letta, one extra per framework
LangChain.js, LlamaIndex.TS, Mastra, OpenAI Agents SDK and the Vercel AI SDK
Store a document and find it again. The complete quickstart adds encryption and filters.
# Cargo.toml: Apache-2.0 release
cargo add warm-rust
cargo add serde_json anyhowuse 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(())
}Python talks to warm-server over HTTP through warm-sdk. Embed your text with any model and send the vectors. The Python distributions are warm-sdk (HTTP client; import writerslogic_warm_sdk), warm-python (native engine; import writerslogic_warm), and warm-models (model adapters; import writerslogic_warm_models). All three packages are available on PyPI. Native warm-python provides vector search and phase-vector operations; use the SDK with warm-server for HTTP access.
uv venv && uv pip install warm-python==0.7.4 warm-models==0.1.0git clone https://github.com/writerslogic/warm
cd warm
# warm-server stores vectors you supply; the SDK is its HTTP client
cargo build --release --features server --bin warm-server
WARM_API_KEY=change-me target/release/warm-server --input-dim 384 &
uv venv && uv pip install warm-sdk==0.2.2from 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"])Run the published launcher, or build the server yourself and point your editor at the binary. Over stdio the editor owns the process; use HTTP to share one server between clients.
npx -y warm-mcp # stdio
npx -y warm-mcp --transport http # http://127.0.0.1:8765/mcp
uvx warm-mcp # the same server from PyPIgit clone https://github.com/writerslogic/warm
cd warm
cargo build --release --features mcp,security --bin warm-mcpStore two documents, find a passage with its source, then delete it and check that it disappears from search. This example uses local text search; no account, API key or model is needed.
mkdir warm-demo
cd warm-demo
npm init -y
npm install warm-memory@0.7.4Save the example as warm-quickstart.mjs in your new warm-demo folder. Each run creates a separate temporary store and prints its location.
import assert from "node:assert/strict";
import { mkdtempSync } from "node:fs";
import { tmpdir } from "node:os";
import { join } from "node:path";
import { WarmMemorySystem } from "warm-memory";
import { DocumentMemory } from "warm-memory/semantic";
const directory = mkdtempSync(join(tmpdir(), "warm-quickstart-"));
const documents = new DocumentMemory(new WarmMemorySystem(4096, directory));
await documents.ingest([
{
id: "backups",
text: "Restore deleted documents from verified backups.",
sourceUri: "operations.md",
metadata: { project: "alpha" },
},
{
id: "indexing",
text: "Rebuild the search index after importing documents.",
sourceUri: "indexing.md",
metadata: { project: "alpha" },
},
]);
const results = await documents.search("restore backups", {
k: 3,
filter: { project: "alpha" },
});
assert.equal(results[0]?.documentId, "backups");
assert.equal(results[0]?.sourceUri, "operations.md");
console.log(`Found: ${results[0].documentId} (${results[0].sourceUri})`);
assert.equal(await documents.delete("backups"), true);
const remaining = await documents.search("restore backups", { k: 3 });
assert.ok(remaining.every((result) => result.documentId !== "backups"));
await documents.flush();
console.log("Deleted: backups; no longer returned by search.");
console.log(`Saved the remaining document to: ${directory}`);
console.log("Quickstart passed. No account, API key or model required.");
node warm-quickstart.mjsExpected: Found: backups (operations.md), followed by a deletion confirmation and Quickstart passed. The assertions stop the script if search or deletion fails. Verified with Node.js 22 on macOS arm64.
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.
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.
How Mem0, Zep, Chroma and Qdrant document the same properties, checked 2026-10-21.
| Property | WARM | Mem0 | Zep | Chroma | Qdrant |
|---|---|---|---|---|---|
| Runs inside your app, no service | Yes: Yes: Rust library, Node module, C ABI | Partly: Open-source library; Mem0 Platform is hosted | No: Hosted; Community Edition no longer maintained (April 2025) | Partly: In-process from Python; JS and Rust use a server | Partly: Server or Cloud; the Python client has a local mode (exact scan) |
| Encryption at rest in the open-source product | Yes: Built in (opt-in) | Not documented: Not documented | Partly: Customer keys are an Enterprise add-on | Not documented: Not documented for open source | Partly: Self-hosted: customer configuration |
| Signed provenance of stored records | Yes: COSE_Sign1 over Ed25519, SCITT-style statements, did:key and did:jwk identities | Not documented: Not documented | Not documented: Not documented | Not documented: Not documented | Not documented: Not documented |
| Deleted text removed from store files | Yes: Purge rewrites the journal and zeroes old generations before returning | Not documented: Not documented | Partly: Removed in the background; overwrite not documented | Not documented: Not documented | Partly: 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.
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
Available now
Free
The open-source engine and server on your own machines.
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.
Planned after Cloud Sync
Monthly plan
Encrypted sync and verification shared across a team, with usage included each month.
Talk to us
Talk to us
Your keys, your infrastructure, compliance reporting.
| Feature | Open source | Cloud (in development) |
|---|---|---|
| Search and document processing | On your machine | On your machine |
| Document sync between devices | Manage your own copies | Encrypted upserts and deletes through the Sync client |
| Synced document fields | Native engine API | ID, text, source URI, version and JSON metadata |
| Recovery on another device | Your own backups | Restore with your saved recovery kit |
| Account and billing recovery | No account required | Recovery credential for account access; email for billing |
| Usage charges | Free 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.
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.
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.
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.
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.
Current WARM releases are Apache-2.0. Historical releases under the former names retain their original license terms.
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.
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/.
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.
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.
WritersLogic Adaptive Retention & Memory is made by WritersLogic, Inc.