You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* updates references to Redis Agent Memory
* updates references to Redis Agent Memory in READMEs
* adds redis agent memory as dependency
* adds support for cloud agent memory
* updates ci to run integration tests against cloud service
* fixes async tests by changing to function scope
* passes timeout_ms in memory config
* thread config.timeout_ms into AgentMemory client
* close client on exit, read owner_id, fix topics filter
* simplifies test running
Copy file name to clipboardExpand all lines: README.md
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7
**Redis-backed memory for [NVIDIA NeMo Agent Toolkit](https://github.com/NVIDIA/NeMo-Agent-Toolkit)** — production [Redis Agent Memory](https://redis.github.io/agent-memory-server/quick-start/) integrations plus direct Redis plugins (the historical `nat.plugins.redis` stack).
8
8
9
-
In NAT, long-term recall is usually wired through memory tools such as `get_memory` and `add_memory`, which delegate to a **`MemoryEditor`** implementation. This package adds Redis-backed options in **two families**: **Redis Agent Memory** (AMS over HTTP — richer lifecycle, optional auto-memory workflow) and **direct Redis** (JSON + vector search or plain KV inside `nat.plugins.redis`, no AMS).
9
+
In NAT, long-term recall is usually wired through memory tools such as `get_memory` and `add_memory`, which delegate to a **`MemoryEditor`** implementation. This package adds Redis-backed options in **two families**: **Redis Agent Memory** (over HTTP — richer lifecycle, optional auto-memory workflow) and **direct Redis** (JSON + vector search or plain KV inside `nat.plugins.redis`).
10
10
11
11
This repo is the standalone home for integrations that used to ship under
12
12
[`packages/nvidia_nat_redis`](https://github.com/NVIDIA/NeMo-Agent-Toolkit/tree/develop/packages/nvidia_nat_redis) in the NeMo Agent Toolkit monorepo.
@@ -15,28 +15,28 @@ This repo is the standalone home for integrations that used to ship under
15
15
1.`_type: redis_agent_memory_backend` — Redis Agent Memory as a NAT `MemoryEditor` long-term memory backend.
16
16
2.`_type: redis_agent_memory_auto_memory` — A native Redis Agent Memory wrapper that uses working memory plus
17
17
`memory_prompt` hydration on every turn.
18
-
AMS runs as a separate service; these surfaces talk to it via the agent-memory client.
18
+
Agent Memory runs as a separate service; these surfaces talk to it via the agent-memory client.
2.`_type: redis_agent_memory_auto_memory` — A **`workflow` wrapper** (not just another editor): working memory, `memory_prompt` hydration every turn, turn capture, and promotion — the fullest AMS-shaped integration.
21
+
2.`_type: redis_agent_memory_auto_memory` — A **`workflow` wrapper** (not just another editor): working memory, `memory_prompt` hydration every turn, turn capture, and promotion — the fullest Agent Memory integration.
22
22
23
23
### Direct Redis (simple in-Redis memory)
24
24
25
25
Loaded via the `nat.plugins` setuptools entry point `nat_redis` (same name as
26
26
the historical monorepo package):
27
27
28
-
-`_type: redis_memory` — Vector search over JSON documents in Redis (RediSearch); requires a workflow `embedder` and Redis Stack (or Redis with search + JSON support). Implements **`MemoryEditor`**-style semantic memory without AMS.
28
+
-`_type: redis_memory` — Vector search over JSON documents in Redis (RediSearch); requires a workflow `embedder` and Redis Stack (or Redis with search + JSON support). Implements **`MemoryEditor`**-style semantic memory without Redis Agent Memory.
Use **Redis Agent Memory** when you want the Redis Agent Memory feature set.
38
38
Use **`redis_memory`** when you only need a lightweight Redis-native `MemoryEditor`
39
-
without AMS.
39
+
without automatic Agent Memory.
40
40
41
41
### Python imports (same as NeMo)
42
42
@@ -87,7 +87,7 @@ versions.
87
87
- Use `_type: redis_agent_memory_backend` when your workflow already uses NAT memory tools and you want Redis Agent Memory behind the standard `MemoryEditor` contract.
88
88
- Use `_type: redis_agent_memory_auto_memory` when you want Redis Agent Memory to own working-memory continuity, prompt hydration, and turn capture on every request. This exposes the richness of Redis Agent Memory in its fullest form.
89
89
- Use `_type: redis_memory` when you want the simpler direct-Redis memory from NeMo Agent Toolkit (Redis JSON + vector index, no Redis Agent Memory). You must configure an `embedder` reference and run a Redis deployment that supports the search commands used by the plugin.
90
-
- Use `_type: redis` when you need NAT’s Redis-backed **object store** (KV), not vector or AMS-backed semantic memory.
90
+
- Use `_type: redis` when you need NAT’s Redis-backed **object store** (KV), not vector or Agent Memory-backed semantic memory.
91
91
92
92
## Integration Modes
93
93
@@ -164,15 +164,17 @@ make build
164
164
make check
165
165
```
166
166
167
-
Integration tests are opt-in because they start real Redis and Agent Memory
168
-
Server containers:
167
+
`make test`runs the whole suite. Integration tests skip themselves when their
168
+
infrastructure is absent (no Docker, unreachable Agent Memory Server, or missing
169
+
API/cloud credentials), so a bare run stays green anywhere. To run just the
170
+
integration tests where that infrastructure exists:
169
171
170
172
```bash
171
173
make test-integration
172
174
```
173
175
174
176
The example Compose files are intended for local development. They bind Redis
175
-
and AMS to `127.0.0.1` and run AMS with auth disabled.
177
+
and Redis Agent Memory to `127.0.0.1` and run Redis Agent Memory with auth disabled.
Copy file name to clipboardExpand all lines: docs/configuration.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,9 +48,9 @@ Supported config fields:
48
48
49
49
Runtime behavior:
50
50
51
-
- `add_items()`creates long-term memories with optional AMS fields such as `session_id`, `namespace`, `entities`, `event_date`, and `memory_type`
51
+
- `add_items()`creates long-term memories with optional Agent Memory fields such as `session_id`, `namespace`, `entities`, `event_date`, and `memory_type`
52
52
- `add_items()`falls back to NAT `conversation_id` for `session_id` when no explicit value is provided
53
-
- `search()`requires `user_id` and forwards AMS filters such as `session_id`, `namespace`, `topics`, `entities`, `memory_type`, `distance_threshold`, and `recency`
53
+
- `search()`requires `user_id` and forwards Agent Memory filters such as `session_id`, `namespace`, `topics`, `entities`, `memory_type`, `distance_threshold`, and `recency`
54
54
- `search()`falls back to NAT `user_id` when the current runtime context provides one
55
55
- `remove_items()`supports direct deletion by `memory_id` / `memory_ids` or filtered deletion by search
0 commit comments