Skip to main content
Agents can accumulate lots of data. Memory limits cap storage and auto-evict old entries.

Basic Usage

Eviction Policies

Per-Agent Limits

Memory Usage

TTL (Time to Live)

Auto-expire old entries:

Memory Warnings

Cleanup

Best Practices

10-50 MB per agent is usually enough. More = slower performance.
Don’t keep stale data forever.
If you’re hitting limits often, optimize what you’re storing.
LRU for caches, FIFO for logs, LFU for frequently accessed data.