# What's new

Documentation · updated 11 November 2026

**In short:** each release of the Memory API, newest first. Most changes need nothing from you; when one does, it says so.

## 11 November 2026

- **Documents are read faster, and changes are caught more often.** A document is now written in about 3.5 s at the median on our test server (about 5.5 s before), and a 200 KB document in about 4 minutes instead of 8. In our checks, every real change was marked replaced in both runs, and no value was replaced wrongly. Nothing to change.
- **Documents mark what changed, in any words.** When a document says something changed ("the pilot moves to March"), the value memory held is now replaced even when the document words it differently from the one before, and the answer's `superseded` says why (`reason`) and, when it differs, the old value's own predicate (`was_predicate`). A value that did not change is no longer replaced because a new one shares its name. Nothing to change. `/v1/memory/facts` works as before: a fact you write still replaces the value of the same subject and predicate.
- **Long documents are read all the way through.** A document is read in sections of about 1,500 words, so its last pages count as much as its first. Every fact must quote the document's own words; one whose words are not in it is not written (`dropped_unquoted`). A document's answer adds `sections`, `content_type`, `bytes` and `sha256`. Reading a document now takes a few seconds longer.
- **Your documents, listed, read back and deleted.** `GET /v1/memory/documents` lists them; `GET /v1/memory/documents/{id}?facts=true` gives each fact with its quote and whether it still holds; `DELETE /v1/memory/documents/{id}` removes the document and everything drawn from it, and a value it replaced is current again. A document sent again under the same `external_ref` with the same text is not read or counted again (`duplicate: true`); with new text it is a revision (`revises`). Send `content_type: "text/markdown"` for Markdown. See [the API reference](https://localmem.org/docs/memory-api/).

## 10 November 2026

- **New plans: one flat monthly price, customers free.** Starter, Growth and Scale have any number of customers, and Starter and Growth have more documents, writes and searches than before. A pack adds a Starter month's allowance, is used only after the month's, and never expires. Pay for a year and we add 3 months free. See [Pricing](https://localmem.org/pricing#memory-api-h). Nothing to change: card payments open in Team → API soon, and until then your account keeps its free allowance and nothing is charged.
- **Searches are faster.** A search answers in about half the time it took (0.38 s instead of 0.67 s at the median on our test server), and stays fast while a customer writes many memories in a day. Results are as good as before on our quality checks. Nothing to change.

## Later on 9 November 2026

- **Reading memory never stops at a limit.** Searches, recalls, gets and profiles keep answering past your month's allowance, in test and live. Past twice the allowance they are slowed to 60 a minute per project (`429 rate_limited`, `limit: over_allowance_rate`), never refused for the month. Documents and writes still stop at their limit with `429 monthly_limit`, whose message now names the fix (go live, or add a pack) and whose body carries `top_up_url`.
- **Every answer says what is left.** Each Memory API answer carries `x-localmem-allowance-name`, `-limit`, `-remaining`, `-resets` and `-used-up`, so your code can slow down before a limit. See Your month in [the API reference](https://localmem.org/docs/memory-api/).
- **A repeated write counts once.** A `write` or `facts` call answered as a repeat of its `idempotency_key` no longer counts against your writes. `write` answers `duplicate`, as `facts` does.
- **Coming in SDKs 0.1.3:** after a `monthly_limit`, the SDK holds back that kind of call without sending it until the month resets or the allowance is back, and reads still go. `allowance()` and `paused()` say where you are. Until it is out, read the `x-localmem-allowance-*` headers.
- **Team → API says when new memories stop.** One line at the top names what stopped, that reading still works, and the fix, with a dot on the API menu until it is fixed. The limit emails say the same.
- **Documents read faster and for less.** Documents now read on gpt-6-luna by default: as accurate as before on our checks, and faster (a typical document 2.4 s instead of 4.0 s). Nothing to change. A document you send to a larger model of your choice counts as 4 against your documents.

## 9 November 2026

- **Use it well.** A new page, [Use it well](https://localmem.org/docs/memory-api/use-it-well), for you and your coding agent: what localmem already does (duplicates, retries, history, conflicts, sources), so your code does not do it again, and how to read and write within your plan. The agent prompt in Team → API now points to it. If your code reads memory before each write to avoid duplicates, it can stop: give each `facts` call an `idempotency_key` built from what it holds instead.
- **One encryption key per project.** Each customer's memory is still sealed under data keys of its own, bound to that customer; they are now wrapped by your project's key in AWS KMS instead of one KMS key per customer. A customer holding health data keeps a KMS key of its own. Deleting a customer removes its data and data keys at once; no copy can be read once our backups age out, within 35 days (7 days for a customer with its own key). Its deletion record gains `data_removed_at` and `unreadable_everywhere_after`. Nothing to change on your side; existing customers are moved over by us.
- **Delete a project.** An admin can delete a project from Team → API, typing its name to confirm: its keys stop at once, every customer of it is deleted, and its key is scheduled for deletion, so nothing of it can be read anywhere after 7 days.
- **A hit's facts answer the question, in your words or others.** The `facts` of a search hit are now the ones nearest the question by meaning, with a word that names a fact's subject or predicate deciding between close ones, so "Am I careless when converting a winning ending?" lists the endgame value first, and "endgames" finds "endgame". When one `facts` call wrote many values, they come back as one hit: read its `facts`, first is best. Nothing to change on your side.
- **Your SDK values in one place.** Team → API shows `LOCALMEM_PROJECT`, `LOCALMEM_KEY_ID` and `LOCALMEM_KEY_SECRET` together, named as the SDK reads them, with one copy for all three, and says what to do next when a key is made. Usage is a chart per day or per customer, with the numbers as a table under it.
- **A rate limit says which and how much.** A `429 rate_limited` now names the allowance that refused (`limit`: `project_rate` or `customer_rate`), its `per_minute` and `burst`, `retry_after` and the key's `mode`. The reference lists each rate. `Retry-After` and the SDKs' retries are unchanged.
- **Late values are named when you write them.** When a fact in `facts` is older than a value memory already holds for the same subject and predicate, the answer lists it in `bounded`, with the time the newer value takes over and that value, so a write that will not be read as current is seen at once. Left out when there are none: nothing else in the answer changes.
- **Your own id on a fact.** Each fact in `facts` may carry `ref`, your id for the value. `recall` and search hits answer it, and `recall` with `ref` tells you whether memory holds that value, without reading the whole history. It is never part of what search reads. If you store your ids as facts of their own today, move them to `ref`: those facts are read by search and can rank above the answer. Optional: calls without it work as before.

## 8 November 2026

- **Values written in any order hold their own period.** A value written after values on both sides of it (September recomputed after October was written) now holds exactly from its own `as_of` to the next one's. Before, a recall at a past time could answer several values at once. Your customers' stored history is corrected for you.
- **Search finds a value however often it was rewritten.** A figure recomputed many times (as more data arrives) is found by search as it stands now. Before, its earlier versions could hide it and a search could answer nothing.
- **A history in one call.** Each fact in `facts` may carry its own `as_of`, so one call can write many periods. Fewer calls for a backfill, and fewer against your rate and monthly limits. Optional: calls without it work as before.
- **Requests by operation.** Recent requests in Team → API name each memory call's operation (`search`, `recall`, `facts`, ...).
- **SDKs 0.1.2** on [PyPI](https://pypi.org/project/localmem-memory/) and [npm](https://www.npmjs.com/package/@localmem/memory): `m.tenants` beside `m.customers`, the name the API and these docs use.

## Earlier on 8 November 2026

- **Search hits say whether they still hold:** `current`, `valid_to`, `replaced_by` and the hit's `facts`, and one `context` block to hand to a model. A hit that newer memories replaced ranks below what replaced it.
- **Facts are found by search** even when sent with no `episode`.
- **A corrected past value replaces the old one**, even after a newer value followed.
- **Recall in pages:** `limit`, `after` and `next`, each fact with its id.
- **Times are answered as sent**, to the millisecond or microsecond.
- **Usage** reports `fact_calls`, counted with writes against your plan.
