Mem0

Cachemem0

Memory layer for AI agents that extracts and recalls facts per user, agent or run.

Provider
default
Kind
Cache
Category
Data
Also known as
Mem0 Platform, Mem0 Open Source
Properties · 3 set by this component
propertytypevaluesrequiredkind defaultthis component
deployment · component propertyenumplatform | open-sourcenoplatforminherited
evictionPolicyenumlru | lfu | ttl | noneno—inherited
graphMemory · component propertyboolean—nofalseinherited
hashing · advancedenumnone | consistentnononeinherited
invalidationenumttl | event | nonenottl▸ event
managedboolean—nofalse▸ true
materialised · advancedboolean—nofalseinherited
persistenceboolean—nofalse▸ true
plan · component propertyenumhobby | starter | pro | enterprisenohobbyinherited
readBarrier · advancedboolean—nofalseinherited
replicationenumnone | single-az | multi-az | multi-regionnononeinherited
shardsinteger—no—inherited
structure · advancedenumkey-value | bloom-filter | hash-set | sorted-setnokey-valueinherited
tier · advancedenumcore | edgenocoreinherited
ttlJitter · advancedboolean—nofalseinherited
ttlSecondsinteger—no—inherited
usedAsPrimaryStore · advancedboolean—nofalseinherited
Rules that apply · 3

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

cache-as-primary-store-without-persistence

This cache is the only copy of its data and has persistence turned off. A restart loses the data outright.

  • — all of these hold:
  • — the node's `usedAsPrimaryStore` is true
  • — the node's `persistence` is false
cache-missing-eviction-policy

A cache with no declared eviction policy inherits whatever the vendor chose, and most vendors default to evicting nothing. The cache fills up and then starts refusing writes.

  • — any of these hold:
  • — the node's `evictionPolicy` has no value
  • — the node's `evictionPolicy` is "none"
materialised-cache-without-rebuild-path

A cache holding materialised views has to be rebuildable from a durable store or a worker. With nothing feeding it, a cold cache is a permanent gap rather than a slow start.

  • — all of these hold:
  • — the node's `materialised` is true
  • — this does not hold:
  • — the node has at least one incoming edge from a sql-database, nosql-database, worker or stream
Use it in a design
nodes:
  - { id: "mem0", component: "mem0" }
Other Cache products · 36
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Mem0: memory layer for AI agents that extracts facts from conversations and recalls them per user, agent or run.
# Per "Platform vs Open Source", the hosted Platform needs no vector store, LLM or embedder and alone offers graph memory,
# memory decay and webhooks; the open-source library and server bring their own stores.
schemaVersion: "1"
type: "component"
id: "mem0"
kind: "cache"
provider: "default"
docs: "https://docs.mem0.ai/platform/platform-vs-oss"
aliases: ["Mem0 Platform", "Mem0 Open Source"]
defaults:
  managed: true
  persistence: true
  invalidation: "event"
properties:
  deployment:
    type: "enum"
    values: ["platform", "open-source"]
    default: "platform"
  plan:
    type: "enum"
    values: ["hobby", "starter", "pro", "enterprise"]
    default: "hobby"
  graphMemory:
    type: "boolean"
    default: false

The same page as markdown, for an agent: /catalogue/components/mem0.md