Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/concepts/memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ agent = Agent(
| `delete_long_term_memories` | Remove memories by ID |
| `memory_prompt` | Enrich a prompt with relevant memories |
| `set_working_memory` | Write to the current session's working memory |
| `get_working_memory` | Read the current session's working memory |
| `compact_long_term_memories` | Deduplicate and compact stored memories |
| `get_current_datetime` | Resolve the current time for relative date reasoning |

## Option 2: SDK-Based Tools

Expand Down
35 changes: 20 additions & 15 deletions docs/examples/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,29 @@ directory and explains what it demonstrates.

## Memory and Sessions

| Example | What it shows |
|---------|---------------|
| [**Simple Redis memory**](https://github.com/redis-developer/adk-redis/tree/main/examples/simple_redis_memory) | Minimal agent with `RedisSessionMemoryService` and `RedisLongTermMemoryService`. |
| [**Fitness coach (MCP)**](https://github.com/redis-developer/adk-redis/tree/main/examples/fitness_coach_mcp) | MCP-based memory with `McpToolset` and Agent Memory Server. |
| [**Travel agent (hybrid)**](https://github.com/redis-developer/adk-redis/tree/main/examples/travel_agent_memory_hybrid) | Framework-managed sessions + memory with vector search over travel docs. |
| [**Travel agent (tools)**](https://github.com/redis-developer/adk-redis/tree/main/examples/travel_agent_memory_tools) | Same travel agent using LLM-controlled memory tools instead of framework services. |
Each memory example targets a specific backend. The examples that exercise
auto-summarization, extraction strategies, recency-boosted search, or MCP
require the self-hosted `opensource-agent-memory` backend.

| Example | Backend | Runner | What it shows |
|---------|---------|--------|---------------|
| [**Managed memory quickstart**](https://github.com/redis-developer/adk-redis/tree/main/examples/managed_memory_quickstart) | `redis-agent-memory` | `python main.py` | Smallest memory agent, on the managed backend. No Docker or Agent Memory Server. |
| [**Simple Redis memory**](https://github.com/redis-developer/adk-redis/tree/main/examples/simple_redis_memory) | `opensource-agent-memory` | `python main.py` | Minimal agent with `RedisSessionMemoryService` and `RedisLongTermMemoryService`, plus auto-summarization and extraction. |
| [**Fitness coach (MCP)**](https://github.com/redis-developer/adk-redis/tree/main/examples/fitness_coach_mcp) | `opensource-agent-memory` only | `adk web .` | MCP-based memory with `McpToolset` and Agent Memory Server. The managed backend has no MCP endpoint. |
| [**Travel agent (hybrid)**](https://github.com/redis-developer/adk-redis/tree/main/examples/travel_agent_memory_hybrid) | `opensource-agent-memory` | `python main.py` | Framework-managed sessions + memory with vector search over travel docs. |
| [**Travel agent (tools)**](https://github.com/redis-developer/adk-redis/tree/main/examples/travel_agent_memory_tools) | `opensource-agent-memory`, switchable | `adk web .` | Same travel agent using LLM-controlled memory tools instead of framework services. Set `REDIS_MEMORY_BACKEND` to switch backends. |

## Search

| Example | What it shows |
|---------|---------------|
| [**Redis search tools**](https://github.com/redis-developer/adk-redis/tree/main/examples/redis_search_tools) | Vector, text, and range search tools in one agent. |
| [**SQL search**](https://github.com/redis-developer/adk-redis/tree/main/examples/redis_sql_search) | `RedisSQLSearchTool` answering catalog questions via parameterized SQL. |
| [**RedisVL MCP search**](https://github.com/redis-developer/adk-redis/tree/main/examples/redisvl_mcp_search) | Same knowledge base served via `rvl mcp` over MCP. |
| Example | Runner | What it shows |
|---------|--------|---------------|
| [**Redis search tools**](https://github.com/redis-developer/adk-redis/tree/main/examples/redis_search_tools) | `adk web .` | Vector, text, and range search tools in one agent. |
| [**SQL search**](https://github.com/redis-developer/adk-redis/tree/main/examples/redis_sql_search) | `adk web .` | `RedisSQLSearchTool` answering catalog questions via parameterized SQL. |
| [**RedisVL MCP search**](https://github.com/redis-developer/adk-redis/tree/main/examples/redisvl_mcp_search) | `adk web .` | Same knowledge base served via `rvl mcp` over MCP. |

## Semantic Caching

| Example | What it shows |
|---------|---------------|
| [**Semantic cache (RedisVL)**](https://github.com/redis-developer/adk-redis/tree/main/examples/semantic_cache) | Self-hosted semantic cache with `RedisVLCacheProvider`. |
| [**LangCache cache**](https://github.com/redis-developer/adk-redis/tree/main/examples/langcache_cache) | Managed semantic cache with `LangCacheProvider`. |
| Example | Runner | What it shows |
|---------|--------|---------------|
| [**Semantic cache (RedisVL)**](https://github.com/redis-developer/adk-redis/tree/main/examples/semantic_cache) | `python main.py` | Self-hosted semantic cache with `RedisVLCacheProvider`. |
| [**LangCache cache**](https://github.com/redis-developer/adk-redis/tree/main/examples/langcache_cache) | `python main.py` | Managed semantic cache with `LangCacheProvider`. |
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ docker run -d --name redis -p 6379:6379 redis:8

---

Nine runnable agents covering memory, search, and caching.
Ten runnable agents covering memory, search, and caching.

- :material-api:{ .lg .middle } **[API Reference](api/index.md)**

Expand Down
Loading