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
{{ message }}
Repository navigation
Commit e67c81c
Browse filesBrowse the repository at this point in the historyBrowse files
| Control UI / web chat persistent sessions | Yes, when either activation path targets the agent |
141
+
| Other interactive channel sessions on the same persistent chat path | Yes, when either activation path allows the conversation|
142
+
| Headless one-shot runs | No |
143
+
| Heartbeat/background runs | No |
144
+
| Generic internal `agent-command` paths | No |
145
+
| Sub-agent/internal helper execution | No |
101
146
102
147
Use it when the session is persistent and user-facing, the agent has
103
148
meaningful long-term memory to search, and continuity/personalization matter
@@ -108,32 +153,26 @@ personalization would be surprising.
108
153
109
154
## When it runs
110
155
111
-
Two gates must both pass:
112
-
113
-
1.**Config opt-in** — the plugin is enabled and the current agent id is in `config.agents`.
114
-
2.**Runtime eligibility** — the session is an eligible interactive persistent chat session, its chat type is allowed, and its conversation id is not filtered out.
156
+
Active Memory has two activation paths:
115
157
116
-
```text
117
-
plugin enabled
118
-
+
119
-
agent id targeted
120
-
+
121
-
allowed chat type
122
-
+
123
-
allowed/not-denied chat id
124
-
+
125
-
eligible interactive persistent chat session
126
-
=
127
-
active memory runs
128
-
```
158
+
1.**Remember across conversations** automatically targets agents whose
159
+
`memorySearch.rememberAcrossConversations` setting is enabled, but only for
160
+
private direct or persistent explicit UI conversations.
161
+
2.**Advanced Active Memory** targets agent IDs listed in
162
+
`plugins.entries.active-memory.config.agents` and applies the plugin's chat
163
+
type and chat ID controls.
129
164
130
-
If any condition fails, active memory does not run for that turn (and the
131
-
main reply is unaffected).
165
+
Both paths require the plugin to be enabled and an eligible interactive
166
+
persistent conversation. A session-scoped `/active-memory off` pauses both
167
+
paths for that conversation. If any condition fails, active memory does not run
168
+
for that turn, and the main reply is unaffected.
132
169
133
170
### Session types
134
171
135
-
`config.allowedChatTypes` controls which kinds of conversations may run
136
-
active memory. Default:
172
+
`config.allowedChatTypes` controls which kinds of conversations may run the
173
+
advanced Active Memory path. It cannot widen Remember across conversations:
174
+
that product setting remains private-only even when advanced Active Memory is
175
+
allowed in groups or channels. Default:
137
176
138
177
```json5
139
178
allowedChatTypes: ["direct"];
@@ -185,7 +224,9 @@ config:
185
224
```
186
225
187
226
This only affects the current session; it does not change
188
-
`plugins.entries.active-memory.config.enabled` or other global configuration.
227
+
`plugins.entries.active-memory.config.enabled`, an agent's
228
+
`memorySearch.rememberAcrossConversations` setting, or other global
229
+
configuration.
189
230
190
231
To pause/resume for all sessions instead, use the global form (requires
191
232
owner or `operator.admin`):
@@ -392,12 +433,12 @@ model — `/v1/models` visibility alone does not guarantee it.
392
433
## Memory tools
393
434
394
435
`config.toolsAllow` sets the concrete tool names the blocking sub-agent may
395
-
call. Defaults depend on the active memory provider:
436
+
call for advanced Active Memory. Defaults depend on the current memory provider:
promptAppend:"Use lcm_grep first for compacted conversation recall. Use lcm_describe to inspect a specific summary. Use lcm_expand_query only when the latest user message needs exact details that may have been compacted away. Return NONE if the retrieved context is not clearly useful.",
485
523
},
486
524
},
@@ -491,7 +529,11 @@ point active memory at its tools:
491
529
492
530
Do not add `lcm_expand` to `toolsAllow` here; Lossless Claw uses it as a
493
531
lower-level tool for delegated expansion, not meant for the top-level
494
-
active-memory sub-agent.
532
+
active-memory sub-agent. Lossless Claw changes context assembly without
533
+
replacing the current memory provider. Keep `memory_search` in `toolsAllow`
534
+
when also using `rememberAcrossConversations`; an LCM-only tool list remains
535
+
valid for advanced Active Memory but disables the product transcript-recall
536
+
path.
495
537
496
538
## Advanced escape hatches
497
539
@@ -685,23 +727,31 @@ while warm-up finishes.
685
727
If active memory is not showing up where you expect:
686
728
687
729
1. Confirm the plugin is enabled under `plugins.entries.active-memory.enabled`.
688
-
2. Confirm the current agent id is listed in `config.agents`.
689
-
3. Confirm you are testing through an interactive persistent chat session.
690
-
4. Turn on `config.logging: true` and watch the gateway logs.
691
-
5. Verify memory search itself works with `openclaw status --deep`.
730
+
2. For Remember across conversations, confirm the agent's
731
+
`memorySearch.rememberAcrossConversations` setting is `true`, run
732
+
`openclaw doctor` to verify the current memory provider supports protected
733
+
transcript recall, and confirm `config.toolsAllow` includes `memory_search`
734
+
when explicitly configured. For advanced Active Memory, confirm the agent ID
735
+
is listed in `config.agents`.
736
+
3. Confirm you are testing through an eligible interactive persistent conversation.
737
+
4. Remember that groups and channels never use cross-conversation transcript recall.
738
+
5. Turn on `config.logging: true` and watch the gateway logs.
739
+
6. Verify memory search itself works with `openclaw status --deep`.
692
740
693
741
If memory hits are noisy, tighten `maxSummaryChars`. If active memory is too
694
742
slow, lower `queryMode`, lower `timeoutMs`, or reduce recent turn counts and
695
743
per-turn char caps.
696
744
697
745
## Common issues
698
746
699
-
Active memory rides on the configured memory plugin's recall pipeline, so
700
-
most recall surprises are embedding-provider problems, not active-memory
701
-
bugs. The default `memory-core` path uses `memory_search` and `memory_get`;
702
-
the `memory-lancedb` slot uses `memory_recall`. If you use another memory
703
-
plugin, confirm `config.toolsAllow` names the tools that plugin actually
704
-
registers.
747
+
Advanced Active Memory rides on the configured memory plugin's recall
748
+
pipeline, so most recall surprises are embedding-provider problems, not
749
+
active-memory bugs. The default `memory-core` path uses `memory_search` and
750
+
`memory_get`; the `memory-lancedb` slot uses `memory_recall`. If you use another
751
+
memory plugin, confirm `config.toolsAllow` names the tools that plugin actually
752
+
registers. Remember across conversations is narrower: the current memory
753
+
provider must support OpenClaw's protected same-agent/private-session recall
754
+
path.
705
755
706
756
<AccordionGroup>
707
757
<Accordiontitle="Embedding provider switched or stopped working">
0 commit comments