{
  "id": "examples",
  "title": "adk-redis examples",
  "url": "https://redis.io/docs/latest/integrate/google-adk/examples/",
  "summary": "Complete examples for every adk-redis capability.",
  "tags": [
    "docs",
    "integrate",
    "oss",
    "rs",
    "rc"
  ],
  "last_updated": "2026-04-15T13:31:09-05:00",
  "page_type": "content",
  "content_hash": "02aa36e4ec89e1a7bb3c581cf9bcb22dcee5975f7ad238e831c5a50097c7baaa",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "The [adk-redis repository](https://github.com/redis-developer/adk-redis/tree/main/examples) includes seven complete examples. Each focuses on a specific capability."
    },
    {
      "id": "prerequisites",
      "title": "Prerequisites",
      "role": "content",
      "text": "All examples require:\n\n- **Python 3.10+**\n- **Redis 8.4+**: `docker run -d --name redis -p 6379:6379 redis:8.4-alpine`\n- **Agent Memory Server** (for memory examples): See [setup instructions](https://github.com/redis/agent-memory-server)\n- **API keys**: Most examples need a `GOOGLE_API_KEY` for Gemini"
    },
    {
      "id": "simple-redis-memory",
      "title": "`simple_redis_memory`",
      "role": "content",
      "text": "**Capability:** Redis Agent Memory (framework-managed)\n\nMinimal starting point. Wires up `RedisWorkingMemorySessionService` and `RedisLongTermMemoryService` with a basic conversational agent. No search tools, no caching: just memory.\n\n[View on GitHub](https://github.com/redis-developer/adk-redis/tree/main/examples/simple_redis_memory)"
    },
    {
      "id": "travel-agent-memory-hybrid",
      "title": "`travel_agent_memory_hybrid`",
      "role": "content",
      "text": "**Capability:** Redis Agent Memory + REST tools + web search + planning\n\nThe most complete example. Combines framework-managed memory services with LLM-controlled memory tools, web search, itinerary planning, and calendar export. Demonstrates the [hybrid integration pattern]().\n\n[View on GitHub](https://github.com/redis-developer/adk-redis/tree/main/examples/travel_agent_memory_hybrid)"
    },
    {
      "id": "travel-agent-memory-tools",
      "title": "`travel_agent_memory_tools`",
      "role": "content",
      "text": "**Capability:** REST memory tools (LLM-controlled)\n\nUses REST-based memory tools exclusively, without framework-managed services. The LLM has full control over when to search, create, update, and delete memories.\n\n[View on GitHub](https://github.com/redis-developer/adk-redis/tree/main/examples/travel_agent_memory_tools)"
    },
    {
      "id": "fitness-coach-mcp",
      "title": "`fitness_coach_mcp`",
      "role": "content",
      "text": "**Capability:** MCP memory tools\n\nDemonstrates MCP-based memory integration. The agent connects to the Agent Memory Server via SSE and manages semantic and episodic memories for workout tracking.\n\n[View on GitHub](https://github.com/redis-developer/adk-redis/tree/main/examples/fitness_coach_mcp)"
    },
    {
      "id": "redis-search-tools",
      "title": "`redis_search_tools`",
      "role": "content",
      "text": "**Capability:** Vector, hybrid, text, and range search\n\nAll four RedisVL [search tools]() plugged into a single agent with a product catalog dataset.\n\n[View on GitHub](https://github.com/redis-developer/adk-redis/tree/main/examples/redis_search_tools)"
    },
    {
      "id": "semantic-cache",
      "title": "`semantic_cache`",
      "role": "content",
      "text": "**Capability:** Local semantic caching (RedisVL)\n\nDemonstrates LLM response caching and tool result caching using the `RedisVLCacheProvider` with local embeddings and ADK callbacks.\n\n[View on GitHub](https://github.com/redis-developer/adk-redis/tree/main/examples/semantic_cache)"
    },
    {
      "id": "langcache-cache",
      "title": "`langcache_cache`",
      "role": "content",
      "text": "**Capability:** Managed semantic caching (LangCache)\n\nUses the managed [LangCache]() service for semantic caching with server-side embeddings. No local vectorizer required.\n\n[View on GitHub](https://github.com/redis-developer/adk-redis/tree/main/examples/langcache_cache)"
    },
    {
      "id": "running-an-example",
      "title": "Running an example",
      "role": "content",
      "text": "[code example]"
    },
    {
      "id": "more-info",
      "title": "More info",
      "role": "content",
      "text": "- [Car dealership tutorial](https://redis.io/tutorials/build-a-car-dealership-agent-with-google-adk-and-redis-agent-memory/): Full walkthrough building an agent from scratch\n- [adk-redis README](https://github.com/redis-developer/adk-redis): Installation and overview"
    }
  ],
  "examples": [
    {
      "id": "running-an-example-ex0",
      "language": "bash",
      "code": "pip install adk-redis[all]\ncd examples/simple_redis_memory\nexport GOOGLE_API_KEY=your-key\npython main.py",
      "section_id": "running-an-example"
    }
  ]
}
