{
  "id": "agent-memory",
  "title": "Redis Agent Memory on Redis Cloud",
  "url": "https://redis.io/docs/latest/operate/rc/context-engine/agent-memory/",
  "summary": "Store agent memory for AI applications in Redis Cloud.",
  "tags": [
    "docs",
    "operate",
    "rc"
  ],
  "last_updated": "2026-05-18T05:44:54-07:00",
  "children": [
    {
      "id": "create-service",
      "summary": "Create an Agent Memory service in Redis Cloud to store working and long-term memory for AI agents.",
      "title": "Create an Agent Memory service",
      "url": "https://redis.io/docs/latest/operate/rc/context-engine/agent-memory/create-service/"
    },
    {
      "id": "use-agent-memory",
      "summary": "Use the Agent Memory API to store and retrieve working and long-term memory for AI agents.",
      "title": "Use the Agent Memory API on Redis Cloud",
      "url": "https://redis.io/docs/latest/operate/rc/context-engine/agent-memory/use-agent-memory/"
    },
    {
      "id": "view-service",
      "summary": "View and manage your Agent Memory service in Redis Cloud.",
      "title": "View and manage Agent Memory service",
      "url": "https://redis.io/docs/latest/operate/rc/context-engine/agent-memory/view-service/"
    }
  ],
  "page_type": "content",
  "content_hash": "911d2cad88625d08d7677171d0a185aff084d45f99741e5a28bc27c1b83f31c9",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Redis Agent Memory is a memory service for AI Agents available as a REST API and Python SDK. It provides the persistent, structured memory layer that intelligent agents need to store, retrieve, and manage contextual data across interactions. Rather than requiring developers to build custom memory infrastructure from scratch, Redis Agent Memory offers a turnkey solution with dedicated endpoints, secure API key management, configurable memory schemas, and automatic TTL-based lifecycle management."
    },
    {
      "id": "redis-agent-memory-overview",
      "title": "Redis Agent Memory overview",
      "role": "content",
      "text": "Redis Agent Memory uses a two-tier memory model:\n\n- **Session memory** (also known as **short-term** or **working memory**) maintains the current conversation state, session history, and session-specific metadata. You can set a custom time-to-live (TTL) to control how long session data is retained.\n- **Long-term memory** stores information extracted from past sessions, such as user preferences and learned patterns, as text with vector embeddings for semantic retrieval.\n\nPromotion from short-term to long-term memory happens automatically. When you store a conversation event in session memory, the Agent Memory Server asynchronously extracts important information using the configured extraction strategy (discrete, summary, preferences, or custom) and stores it as long-term memory. The process is non-blocking, so agent interactions remain responsive. Short-term memory that is not promoted expires based on its TTL. You can also create long-term memories directly through the API for bulk creation or to import knowledge from external sources.\n\nFor more details, see the [Redis Agent Memory overview](https://redis.io/docs/latest/develop/ai/context-engine/agent-memory)."
    },
    {
      "id": "get-started-with-agent-memory-on-redis-cloud",
      "title": "Get started with Agent Memory on Redis Cloud",
      "role": "content",
      "text": "To set up Agent Memory on Redis Cloud:\n\n1. [Create a database](https://redis.io/docs/latest/operate/rc/databases/create-database) on Redis Cloud.\n2. [Create an Agent Memory service](https://redis.io/docs/latest/operate/rc/context-engine/agent-memory/create-service) for your database on Redis Cloud.\n3. [Use the Agent Memory API](https://redis.io/docs/latest/operate/rc/context-engine/agent-memory/use-agent-memory) from your client app.\n\nAfter you set up Agent Memory, you can [view and manage your service](https://redis.io/docs/latest/operate/rc/context-engine/agent-memory/view-service)."
    }
  ],
  "examples": []
}
