What problem does it solve? Building AI agents that remember users across conversations requires choosing storage backends, managing session history, and controlling the token cost of memory extraction — decisions that are easy to get wrong and expensive in production. ## Core Features & Use Cases - Pluggable persistence by environment: Wire DynamoDB (preferred, with TTL configuration) or SQLite (local fallback) into Agno agents via environment variables without changing domain code. - Two memory management modes: Compare automatic memory extraction (update_memory_on_run) versus agentic memory (enable_agentic_memory), with a clear cost trade-off analysis and guidance on when the expensive mode is justified. - Cost optimization toolkit: Use a cheap dedicated model in a custom MemoryManager, limit retrieval with last_n/first_n/agentic methods, and prune old memories to keep context and token spend under control. - Use Case: You are deploying a support agent on AWS Lambda and need per-user long-term memory that survives across sessions, expires old data via DynamoDB TTL, and stays within a token budget. ## Quick Start Ask the agent to set up an Agno agent with DynamoDB-backed sessions and factual user memory using automatic memory extraction and a cheap MemoryManager model.