Letta
Cacheletta
Platform for stateful agents whose memory lives on a Letta server or in Letta Cloud.
- Provider
- default
- Kind
- Cache
- Category
- Data
- Official docs
- https://docs.letta.com/guides/selfhosting
- Also known as
- MemGPT, Letta Cloud
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| deployment | enum | letta-cloud | self-hosted | no | letta-cloud | inherited |
| evictionPolicy | enum | lru | lfu | ttl | none | no | — | inherited |
| hashing | enum | none | consistent | no | none | inherited |
| invalidation | enum | ttl | event | none | no | ttl | inherited |
| managed | boolean | — | no | false | ▸ true |
| materialised | boolean | — | no | false | inherited |
| passwordProtected | boolean | — | no | false | inherited |
| persistence | boolean | — | no | false | ▸ true |
| readBarrier | boolean | — | no | false | inherited |
| replication | enum | none | single-az | multi-az | multi-region | no | none | inherited |
| serverPort | integer | — | no | 8283 | inherited |
| shards | integer | — | no | — | inherited |
| structure | enum | key-value | bloom-filter | hash-set | sorted-set | no | key-value | inherited |
| tier | enum | core | edge | no | core | inherited |
| ttlJitter | boolean | — | no | false | inherited |
| ttlSeconds | integer | — | no | — | inherited |
| usedAsPrimaryStore | boolean | — | no | false | ▸ true |
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
nodes:
- { id: "letta", component: "letta" }ApsaraDB for Memcachealibaba-apsaradb-memcacheApsaraDB for Redisalibaba-apsaradb-redisAmazon DynamoDB Accelerator (DAX)aws-daxAmazon ElastiCacheaws-elasticacheAmazon MemoryDBaws-memorydbAzure Cache for Redisazure-cache-for-redisAzure Managed Redisazure-managed-redisGeneric cachecacheCache clustercache-clustercogneecogneeDragonflydragonflyEVCacheevcacheMicrosoft GarnetgarnetVMware GemFiregemfireGraphitigraphitiHazelcasthazelcastApache IgniteigniteInfinispaninfinispanKeyDBkeydbMem0mem0MemcachedmemcachedRedisredisRedis Cloudredis-cloudSquidsquidTrickstertricksterUpstash RedisupstashValkeyvalkeyVarnish CachevarnishZepzepMemorystore for Redisgoogle-memorystoreMemorystore for Memcachedgoogle-memorystore-memcachedMemorystore for Redis Clustergoogle-memorystore-redis-clusterMemorystore for Valkeygoogle-memorystore-valkeyIBM Cloud Databases for Redisibm-databases-for-redisOCI Cache with Redisoci-cache-redisOCI Cache with Valkeyoci-cache-valkey
# yaml-language-server: $schema=../../schema/component.schema.json # Letta (formerly MemGPT): platform for stateful agents whose memory blocks and archival memory live on the server. # Per the self-hosting guide, the Docker server listens on port 8283 and keeps state in Postgres with pgvector (LETTA_PG_URI); # the guide marks self-hosting as a legacy surface beside Letta Cloud. schemaVersion: "1" type: "component" id: "letta" kind: "cache" provider: "default" docs: "https://docs.letta.com/guides/selfhosting" aliases: ["MemGPT", "Letta Cloud"] defaults: managed: true persistence: true usedAsPrimaryStore: true properties: deployment: type: "enum" values: ["letta-cloud", "self-hosted"] default: "letta-cloud" serverPort: type: "integer" default: 8283 passwordProtected: type: "boolean" default: false