Adk Redis
FreeNot checkedRedis integration for Google Agent Development Kit (ADK) - Memory, Sessions, Search Tools, MCP
About
Redis integration for Google Agent Development Kit (ADK) - Memory, Sessions, Search Tools, MCP
README
×
Redis Integrations for Google Agent Development Kit
PyPI version License Python 3.10+ Code style: pyink Type checked: mypy
PyPI • Documentation • Examples • Redis Agent Memory • RedisVL
adk-redis is the Redis layer for Google ADK agents. It implements ADK's BaseMemoryService, BaseSessionService, and BaseTool interfaces against Redis, Redis Vector Library, Redis Agent Memory. It also ships MCP toolset helpers and semantic-cache providers.
| Surface | What you get | Backed by |
|---|---|---|
| Sessions | BaseSessionService with durable conversation state |
Redis Agent Memory or Agent Memory Server |
| Long-term memory | BaseMemoryService with semantic search |
Redis Agent Memory or Agent Memory Server |
| Memory tools | LLM-controlled memory CRUD operations | Redis Agent Memory or Agent Memory Server |
| Search tools | Vector, hybrid, range, text, and SQL search as BaseTool subclasses |
RedisVL |
| MCP search | search-records / upsert-records via ADK's native McpToolset |
rvl mcp server |
| Semantic cache | Skip repeat LLM calls by semantic similarity | RedisVL or Redis LangCache |
Installation
pip install adk-redis
Optional extras:
pip install 'adk-redis[memory]' # sessions + long-term memory services
pip install 'adk-redis[search]' # RedisVL-backed search tools
pip install 'adk-redis[sql]' # RedisSQLSearchTool
pip install 'adk-redis[langcache]' # managed semantic cache provider
pip install 'adk-redis[all]' # everything above
Memory backends are selected with backend:
| Backend | Use when | Client |
|---|---|---|
redis-agent-memory |
You want Redis Agent Memory managed by Redis or the Redis Agent Memory data plane | redis-agent-memory |
opensource-agent-memory |
You want the open source self-hosted Agent Memory Server | agent-memory-client |
The memory extra installs redis-agent-memory>=0.2.0 for the managed
backend.
Quick start
Prerequisites: Python 3.10+, Redis 8.4+, and one memory backend. See the Quickstart for full setup steps.
from google.adk import Agent
from google.adk.runners import Runner
from adk_redis import (
RedisLongTermMemoryService,
RedisLongTermMemoryServiceConfig,
RedisSessionMemoryService,
RedisSessionMemoryServiceConfig,
)
session_service = RedisSessionMemoryService(
config=RedisSessionMemoryServiceConfig(
backend="redis-agent-memory",
api_base_url="http://localhost:8088",
api_key="...",
store_id="...",
default_namespace="my_app",
),
)
memory_service = RedisLongTermMemoryService(
config=RedisLongTermMemoryServiceConfig(
backend="redis-agent-memory",
api_base_url="http://localhost:8088",
api_key="...",
store_id="...",
default_namespace="my_app",
),
)
agent = Agent(
model="gemini-2.5-flash",
name="memory_agent",
instruction="You are a helpful assistant with long-term memory.",
)
runner = Runner(
app_name="my_app",
agent=agent,
session_service=session_service,
memory_service=memory_service,
)
For the open source self-hosted Agent Memory Server, set
backend="opensource-agent-memory" and omit api_key and store_id unless your
server requires them.
→ More examples: search tools, MCP search, semantic caching
Examples
Each example ships with a README and .env.example. Memory and session
examples that register services through get_service_registry() run via
python main.py; tools-only and search examples run via adk web. See each
example's README and the Examples index for the runner and backend each uses.
| Category | Examples |
|---|---|
| Memory and sessions | managed_memory_quickstart · simple_redis_memory · travel_agent_memory_hybrid · travel_agent_memory_tools · fitness_coach_mcp |
| Search | redis_search_tools · redis_sql_search · redisvl_mcp_search |
| Caching | semantic_cache · langcache_cache |
Development
git clone https://github.com/redis-developer/adk-redis.git
cd adk-redis
make dev # install with all extras + dev deps
make check # format, lint, type-check, and test
See CONTRIBUTING.md for the full guide.
Contributing
Open an issue or submit a PR following CONTRIBUTING.md.
License
Apache 2.0. See LICENSE.
Links
- Documentation: concepts, how-to guides, API reference
- Google ADK · Agent Memory Server · RedisVL · Redis LangCache
- ADK + Redis on redis.io
Installing Adk Redis
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/redis-developer/adk-redisFAQ
Is Adk Redis MCP free?
Yes, Adk Redis MCP is free — one-click install via Unyly at no cost.
Does Adk Redis need an API key?
No, Adk Redis runs without API keys or environment variables.
Is Adk Redis hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Adk Redis in Claude Desktop, Claude Code or Cursor?
Open Adk Redis on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
wenb1n-dev/SmartDB_MCP
A universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
by wenb1n-devPostgres Server
This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
by madhurprashPostgres
Query your database in natural language
by AnthropicPostgreSQL
Read-only database access with schema inspection.
by modelcontextprotocolRedis
Interact with Redis key-value stores.
by modelcontextprotocolSQLite
Database interaction and business intelligence capabilities.
by modelcontextprotocolmxcp
Open-source framework for building enterprise-grade MCP servers using just YAML, SQL, and Python, with built-in auth, monitoring, ETL and policy enforcement.
by raw-labstadas-github/a2asearch-mcp
MCP server to search 4,800+ MCP servers, AI agents, CLI tools and agent skills. Install: npx -y a2asearch-mcp. Ask Claude: "Find MCP servers for database access
by tadas-githubjulien040/anyquery
Query more than 40 apps with one binary using SQL. It can also connect to your PostgreSQL, MySQL, or SQLite compatible database. Local-first and private by desi
by julien040drakonkat/wizzy-mcp-tmdb
A MCP server for The Movie Database API that enables AI assistants to search and retrieve movie, TV show, and person information.
by drakonkatCompare Adk Redis with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All data MCPs
