{
  "schema_version": 2,
  "id": "integrate/google-adk/agent-memory-server",
  "title": "Agent Memory Server (deprecated)",
  "url": "https://redis.io/docs/latest/integrate/google-adk/agent-memory-server/",
  "summary": "Deprecated. The opensource-agent-memory backend is no longer maintained. Migrate existing deployments to Redis Agent Memory.",
  "tags": [
    "docs",
    "integrate",
    "oss",
    "rs",
    "rc"
  ],
  "last_updated": "2026-08-12T09:08:55+01:00",
  "page_type": "content",
  "content_hash": "fe3f15d7c2ad19e98577f4a68a220ac7f102cf6db8576f6817467dbb768bf16b",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "**Deprecated. Do not use for new work.**\n\nThe `opensource-agent-memory` backend and the\n[Agent Memory Server](https://github.com/redis/agent-memory-server) it targets\nare deprecated and are not maintained going forward. Its capabilities are not\nbeing carried forward, and support for it will be removed from adk-redis.\n\nNew agents should use\n[Redis Agent Memory](https://redis.io/docs/latest/integrate/google-adk/redis-agent-memory)\nwith `backend=\"redis-agent-memory\"`, on\n[Redis Cloud](https://redis.io/docs/latest/operate/rc/context-engine/agent-memory) or\n[self-managed](https://redis.io/docs/latest/operate/iris/agent-memory/self-managed)\non your own Kubernetes cluster.\n\nThis page exists only to help existing deployments migrate."
    },
    {
      "id": "what-it-was",
      "title": "What it was",
      "role": "content",
      "text": "Agent Memory Server is a separate open source memory server, documented in\n[its own repository](https://github.com/redis/agent-memory-server). It is not\nRedis Agent Memory and does not speak the\n[Agent Memory Data Plane API](https://redis.io/docs/latest/develop/ai/context-engine/agent-memory/api-reference).\nadk-redis reached it with `backend=\"opensource-agent-memory\"`, an\n`api_base_url` pointing at the server, and the `agent-memory-client>=0.14.0`\ndependency.\n\nA handful of capabilities existed only on this backend: auto-summarization,\nextraction strategies, recency-boosted search, and an MCP endpoint. They are\nconfigured through `model_name`, `context_window_max`, `extraction_strategy`,\n`extraction_strategy_config`, and `recency_boost`, none of which have any effect\nwith `redis-agent-memory`. See the\n[Agent Memory Server repository](https://github.com/redis/agent-memory-server)\nfor the server's own setup and reference material.\n\n\nRunning Agent Memory yourself never required this backend. Self-managed Agent\nMemory is supported and maintained, and uses `backend=\"redis-agent-memory\"` just\nlike Redis Cloud. You choose a deployment with `api_base_url`, not with\n`backend`."
    },
    {
      "id": "migrate-to-redis-agent-memory",
      "title": "Migrate to Redis Agent Memory",
      "role": "content",
      "text": "1. Provision a Redis Agent Memory store, on\n   [Redis Cloud](https://redis.io/docs/latest/operate/iris/agent-memory/create-service)\n   or [self-managed](https://redis.io/docs/latest/operate/iris/agent-memory/self-managed).\n   Either gives you a Data Plane endpoint, an API key, and a store ID.\n2. Change `backend` from `opensource-agent-memory` to `redis-agent-memory` on\n   every service and tool config, or drop the field, since it is the default.\n3. Point `api_base_url` at the Data Plane endpoint, and add `api_key` and\n   `store_id`.\n4. Remove the backend-only settings listed above. They are silently inert on\n   `redis-agent-memory`.\n5. Replace any MCP memory wiring with the\n   [REST memory tools](https://redis.io/docs/latest/integrate/google-adk/redis-agent-memory#rest-tools),\n   which work the same way on both backends.\n6. Drop `agent-memory-client` from your dependencies. The `memory` extra\n   requires `redis-agent-memory>=0.2.0`.\n\n[code example]\n\nChanging configuration does not copy existing memories. Plan for a\nre-extraction window, or run both backends while long-term memory repopulates."
    },
    {
      "id": "examples-still-on-this-backend",
      "title": "Examples still on this backend",
      "role": "example",
      "text": "Three examples in the adk-redis repository have not yet moved:\n[simple_redis_memory](https://github.com/redis-developer/adk-redis/tree/main/examples/simple_redis_memory),\n[travel_agent_memory_hybrid](https://github.com/redis-developer/adk-redis/tree/main/examples/travel_agent_memory_hybrid),\nand\n[fitness_coach_mcp](https://github.com/redis-developer/adk-redis/tree/main/examples/fitness_coach_mcp)\n(which uses the MCP endpoint this backend alone provides).\n\nFor a supported starting point, use\n[managed_memory_quickstart](https://redis.io/docs/latest/integrate/google-adk/examples#managed_memory_quickstart).\n[travel_agent_memory_tools](https://github.com/redis-developer/adk-redis/tree/main/examples/travel_agent_memory_tools)\nswitches backends with `REDIS_MEMORY_BACKEND`, so it already runs on\n`redis-agent-memory`."
    },
    {
      "id": "more-info",
      "title": "More info",
      "role": "content",
      "text": "- [Redis Agent Memory](https://redis.io/docs/latest/integrate/google-adk/redis-agent-memory): the supported backend\n- [Self-managed Agent Memory](https://redis.io/docs/latest/operate/iris/agent-memory/self-managed): run Agent Memory on your own Kubernetes cluster\n- [Agent Memory Server on GitHub](https://github.com/redis/agent-memory-server): the deprecated server's own documentation"
    }
  ],
  "examples": [
    {
      "id": "migrate-to-redis-agent-memory-ex0",
      "language": "python",
      "code": "# Before: deprecated backend\nconfig = RedisSessionMemoryServiceConfig(\n    backend=\"opensource-agent-memory\",\n    api_base_url=\"http://localhost:8088\",\n    default_namespace=\"my_app\",\n    model_name=\"gemini-2.5-flash\",\n    context_window_max=8000,\n)\n\n# After: Redis Agent Memory, on Redis Cloud or self-managed\nconfig = RedisSessionMemoryServiceConfig(\n    backend=\"redis-agent-memory\",\n    api_base_url=\"https://your-endpoint.redis.io\",\n    api_key=\"your-api-key\",\n    store_id=\"your-store-id\",\n    default_namespace=\"my_app\",\n)",
      "section_id": "migrate-to-redis-agent-memory"
    }
  ]
}
