Skip to content
PluginStats

@intentface/latch-memory weekly downloads statistics

By intentface (9 listings) · npm · AI SDKs

Experimental: Latch agent memory — always-loaded compiled index, searchable episodic store, and background extraction/consolidation over a pluggable MemoryStore (Loredex-backed first).

View on npm Fresh · Oct 17, 2026

@intentface/latch-memory has 511 recorded weekly downloads on npm, an increase of 487% over the past 30 days.

It ranks #1497 of 2,251 tracked npm listings by weekly downloads.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
511
Official API · Oct 17, 2026
7-day growth
-56.4%
-662 weekly downloads
30-day growth
+487%
+424 weekly downloads
90-day growth
—
Insufficient history
Rank
#1497
Among tracked npm listings

About @intentface/latch-memory

@intentface/latch-memory

Experimental. The only production store today is Loredex (createLoredexStore), and the interface still carries Loredex conventions (__private_root paths, a connection argument). The design may change in any release.

Pluggable, platform-managed memory for Latch agents. Declare memory on an agent and the platform does all upkeep:

1. Always-loaded index — a compiled MEMORY.md (≤100 lines, one fact per line with date, provenance, and source links) is injected into the system prompt every turn, plus standing instructions for the tools. 2. Episodic store + recall — immutable, timestamped episode notes live in the agent's own connection workspace: per-user scopes under the caller's private root (__private_root/_memory//u-/), agent-org under the shared _memory//org/; the agent searches them on demand with memory_search (every recall is usage-tracked — the retention signal) and saves explicit "remember this" notes with memory_save. 3. Background consolidation — a cron sweep extracts durable facts from idle chats (memory-extractor, cheap model) and folds pending episodes into the index (memory-consolidator), superseding and expiring entries.

Design invariants

• Scopes (agent-user | agent-org | user) are hard boundaries: tools are path-locked at construction, and consolidation never crosses a scope. Per-user scopes live under the Loredex private root (owner-only ACL): __private_root/_memory//u- for agent-user, __private_root/_memory/_user/u- for user. The u- leaf is kept even though the private root is already per-user: it keeps roots globally unique (scope keys stay ${connection}:${root}) and keeps users' stores apart on a workspace-shared connection, where every caller resolves the same private root. • Non-destructive consolidation: episodes are immutable; only the index is rewritten, every rewrite snapshots the previous version first, and the validator rejects any rewrite that silently drops a previously ACTIVE entry (supersede/expire = move to ## Archive; archived entries may be dropped later — snapshots preserve history, so the size cap stays satisfiable). • Graceful degradation: an unreachable/unauthorized store means a turn without memory, never a failed turn. • Anti-hot-loop: every job completion advances its eligibility timestamp — success, failure, or "not actually memory-enabled". • Extraction idempotency: every completed extraction records an idempotency key (extractionRunKey — content hash of the message window + the extraction prompt version). An unchanged window never re-buys a run, and a run that found NOTHING tombstones its content via the same key. Failed runs never record a key, so they stay retryable. Bump EXTRACTION_PROMPT_VERSION to invalidate old keys after a material prompt change. • Provenance: every fact is tagged user-said / tool-derived / user-requested; the extractor is instructed to scrub secrets/PII. • Trust marks: extractor-written episodes carry status: unverified frontmatter; index entries folded from them carry an unverified marker (labeled — in the injected block and in search results — never hidden). The consolidator promotes an entry only on later, independent corroboration. Explicit memory_save notes are never marked unverified. • Aliases + create-safety: entries can carry aka: aliases (episodes: aliases: frontmatter) for subjects with several names/spellings. memory_search matches them exactly (NFKC/case/whitespace-normalized), tags every hit with matchedOn evidence (alias-exact | description | body), and derives a response-level create_safety (exists | probable | unknown) that memory_save instructs the agent to consult before creating anything new. • Injection hardening: memory text is LLM-authored from user conversation — a prompt-injection persistence vector. At injection time (the block, search snippets) it passes through sanitizeMemoryText, which de-fangs envelope/role tags and strips a named set of known injection phrasings. Volume reduction, not a guarantee — the standing instructions additionally declare the envelope's content to be data, never instructions.

Pieces

| Module | What it is |

| types / scope | MemoryStore seam, ScopeRef derivation (scopeRefOf) | | store/loredex | MemoryStore over a Loredex MCP connection (opens per op via the ConnectionRegistry; tolerant result parsing; no delete — snapshot + rewrite) | | index-file | MEMORY.md grammar: parse, validateIndexRewrite, id minting | | provider | createMemoryProvider → the runtime's MemoryProvider (TTL-cached index block + bound tools) | | tools | agent-facing memory_search/memory_save + scope-locked job tools | | prompts/* | injection block, extractor/consolidator instructions + prompt builders | | jobs/types | MemoryJobStore (implemented in @intentface/latch-drizzle: createMemoryJobStore) |

The sweep itself is host glue, not shipped here. It follows the Codex pattern: idle-gated parallel extraction, per-scope lease-serialized consolidation with cooldown + watermark, usage-based expiry (default 30 days unrecalled).

Wiring it into a host

This package ships the ingredients, not the jobs — a host app wires:

1. Tables + job store — @intentface/latch-drizzle's migrations create latch_memory_chat_state / latch_memory_scope_state / latch_memory_usage; build the store with createMemoryJobStore(db). 2. Store + provider → runtime — in the composition root:…

Description from the npm listing.

  • ai
  • ai-sdk
  • agents
  • llm
  • agent-memory

Where @intentface/latch-memory sits in the listing

Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All npm2,248 listings · 113 pages · page 75, #18 (overall #1498)
All npm: every listing in weekly downloads order
PNG SVG
AI SDKs249 listings · 13 pages · page 9, #8 (overall #168)
AI SDKs: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@intentface/latch-memory weekly downloads on npm, last 90 days: 511 weekly downloads as of Oct 17, 2026.@intentface/latch-memoryWeekly downloads on npm · Last 90 days511downloads / week02004006008001K1.2K1.4K1.6KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
@intentface/latch-memory weekly downloads on npm, last 90 days: 511 weekly downloads as of Oct 17, 2026.
PNG SVG

7/30/90-day growth

@intentface/latch-memory weekly downloads growth on npm: -56.4% over 7 days, +487% over 30 days, 90-day growth unavailable.@intentface/latch-memoryWeekly downloads growth on npm511downloads / week now7-day growth-662 weekly downloads-56.4%30-day growth+424 weekly downloads+487%90-day growth+511 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@intentface/latch-memory weekly downloads growth on npm: -56.4% over 7 days, +487% over 30 days, 90-day growth unavailable.
PNG SVG

Ranking history

@intentface/latch-memory npm ranking history: currently #1497 (by weekly downloads).@intentface/latch-memorynpm ranking · by weekly downloads · Last 90 days#1497current rank#1495#1496#1497#1498#1499Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
@intentface/latch-memory npm ranking history: currently #1497 (by weekly downloads).
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (121)
Recent weekly downloads observations for @intentface/latch-memory
Date (UTC)Weekly downloadsChange vs. previous
511-444
955-153
1,108-152
1,260-94
1,3540
1,354-131
1,485+312
1,173+65
1,108+70
1,038+143
895+90
805-10
815+204
611—

Similar npm AI SDKs plugins

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@intentface/latch-memory. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.