File size: 13,121 Bytes
7d4338a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
<html>
<head>
    <title>Memory</title>
</head>

<body>
    <div x-data>
        <template x-if="config">
            <div>
                <div class="section-title">Memory</div>
                <div class="section-description">
                    Configuration of A0's memory system. A0 memorizes and recalls memories automatically to help its
                    context awareness.
                </div>

                <div class="field" x-show="context.projectName">
                    <div class="field-label">
                        <div class="field-title">Project Isolation</div>
                        <div class="field-description">
                            If enabled, this project uses its own memory folder (projects/NAME). If disabled, it shares the global memory (default or custom subdir).
                        </div>
                    </div>
                    <div class="field-control">
                        <label class="toggle">
                            <input type="checkbox" x-model="config.project_memory_isolation" />
                            <span class="toggler"></span>
                        </label>
                    </div>
                </div>

                <div class="field">
                    <div class="field-label">
                        <div class="field-title">Memory Subdirectory</div>
                        <div class="field-description">
                            Subdirectory of /memory folder.
                        </div>
                    </div>
                    <div class="field-control">
                        <input type="text" x-model="config.agent_memory_subdir" placeholder="Auto (Project-isolated)" />
                    </div>
                </div>

                <div class="field">
                    <div class="field-label">
                        <div class="field-title">Memory Dashboard</div>
                        <div class="field-description">
                            View and explore all stored memories in a table format with filtering and search
                            capabilities.
                        </div>
                    </div>
                    <div class="field-control">
                        <button class="btn btn-field"
                            @click="openModal('/plugins/_memory/webui/memory-dashboard.html');">
                            Open Dashboard
                        </button>
                    </div>
                </div>

                <div class="field">
                    <div class="field-label">
                        <div class="field-title">Memory auto-recall enabled</div>
                        <div class="field-description">Agent Zero will automatically recall memories based on
                            convesation context.</div>
                    </div>
                    <div class="field-control">
                        <label class="toggle">
                            <input type="checkbox" x-model="config.memory_recall_enabled" />
                            <span class="toggler"></span>
                        </label>
                    </div>
                </div>

                <div class="field">
                    <div class="field-label">
                        <div class="field-title">Memory auto-recall delayed</div>
                        <div class="field-description">
                            The agent will not wait for auto memory recall. Memories will be delivered one message
                            later. This speeds up agent's response time but may result in less relevant first step.
                        </div>
                    </div>
                    <div class="field-control">
                        <label class="toggle">
                            <input type="checkbox" x-model="config.memory_recall_delayed" />
                            <span class="toggler"></span>
                        </label>
                    </div>
                </div>

                <div class="field">
                    <div class="field-label">
                        <div class="field-title">Auto-recall AI query preparation</div>
                        <div class="field-description">
                            Enables vector DB query preparation from conversation context by utility LLM for
                            auto-recall. Improves search quality, adds 1 utility LLM call per auto-recall.
                        </div>
                    </div>
                    <div class="field-control">
                        <label class="toggle">
                            <input type="checkbox" x-model="config.memory_recall_query_prep" />
                            <span class="toggler"></span>
                        </label>
                    </div>
                </div>

                <div class="field">
                    <div class="field-label">
                        <div class="field-title">Auto-recall AI post-filtering</div>
                        <div class="field-description">
                            Enables memory relevance filtering by utility LLM for auto-recall. Improves search quality,
                            adds 1 utility LLM call per auto-recall.
                        </div>
                    </div>
                    <div class="field-control">
                        <label class="toggle">
                            <input type="checkbox"
                                x-model="config.memory_recall_post_filter" />
                            <span class="toggler"></span>
                        </label>
                    </div>
                </div>

                <div class="field">
                    <div class="field-label">
                        <div class="field-title">Memory auto-recall interval</div>
                        <div class="field-description">
                            Memories are recalled after every user or superior agent message. During agent's monologue,
                            memories are recalled every X turns based on this parameter.
                        </div>
                    </div>
                    <div class="field-control">
                        <input type="range" min="1" max="10" step="1"
                            x-model.number="config.memory_recall_interval" />
                        <span class="range-value"
                            x-text="config.memory_recall_interval"></span>
                    </div>
                </div>

                <div class="field">
                    <div class="field-label">
                        <div class="field-title">Memory auto-recall history length</div>
                        <div class="field-description">
                            The length of conversation history passed to memory recall LLM for context (in characters).
                        </div>
                    </div>
                    <div class="field-control">
                        <input type="number"
                            x-model.number="config.memory_recall_history_len" />
                    </div>
                </div>

                <div class="field">
                    <div class="field-label">
                        <div class="field-title">Memory auto-recall similarity threshold</div>
                        <div class="field-description">
                            The threshold for similarity search in memory recall (0 = no similarity, 1 = exact match).
                        </div>
                    </div>
                    <div class="field-control">
                        <input type="range" min="0" max="1" step="0.01"
                            x-model.number="config.memory_recall_similarity_threshold" />
                        <span class="range-value"
                            x-text="config.memory_recall_similarity_threshold"></span>
                    </div>
                </div>

                <div class="field">
                    <div class="field-label">
                        <div class="field-title">Memory auto-recall max memories to search</div>
                        <div class="field-description">
                            The maximum number of memories returned by vector DB for further processing.
                        </div>
                    </div>
                    <div class="field-control">
                        <input type="number"
                            x-model.number="config.memory_recall_memories_max_search" />
                    </div>
                </div>

                <div class="field">
                    <div class="field-label">
                        <div class="field-title">Memory auto-recall max memories to use</div>
                        <div class="field-description">
                            The maximum number of memories to inject into A0's context window.
                        </div>
                    </div>
                    <div class="field-control">
                        <input type="number"
                            x-model.number="config.memory_recall_memories_max_result" />
                    </div>
                </div>

                <div class="field">
                    <div class="field-label">
                        <div class="field-title">Memory auto-recall max solutions to search</div>
                        <div class="field-description">
                            The maximum number of solutions returned by vector DB for further processing.
                        </div>
                    </div>
                    <div class="field-control">
                        <input type="number"
                            x-model.number="config.memory_recall_solutions_max_search" />
                    </div>
                </div>

                <div class="field">
                    <div class="field-label">
                        <div class="field-title">Memory auto-recall max solutions to use</div>
                        <div class="field-description">
                            The maximum number of solutions to inject into A0's context window.
                        </div>
                    </div>
                    <div class="field-control">
                        <input type="number"
                            x-model.number="config.memory_recall_solutions_max_result" />
                    </div>
                </div>

                <div class="field">
                    <div class="field-label">
                        <div class="field-title">Auto-memorize enabled</div>
                        <div class="field-description">
                            A0 will automatically memorize facts and solutions from conversation history.
                        </div>
                    </div>
                    <div class="field-control">
                        <label class="toggle">
                            <input type="checkbox"
                                x-model="config.memory_memorize_enabled" />
                            <span class="toggler"></span>
                        </label>
                    </div>
                </div>

                <div class="field">
                    <div class="field-label">
                        <div class="field-title">Auto-memorize AI consolidation</div>
                        <div class="field-description">
                            A0 will automatically consolidate similar memories using utility LLM. Improves memory quality
                            over time, adds 2 utility LLM calls per memory.
                        </div>
                    </div>
                    <div class="field-control">
                        <label class="toggle">
                            <input type="checkbox"
                                x-model="config.memory_memorize_consolidation" />
                            <span class="toggler"></span>
                        </label>
                    </div>
                </div>

                <div class="field">
                    <div class="field-label">
                        <div class="field-title">Auto-memorize replacement threshold</div>
                        <div class="field-description">
                            Only applies when AI consolidation is disabled. Replaces previous similar memories with new
                            ones based on this threshold. 0 = replace even if not similar at all, 1 = replace only if
                            exact match.
                        </div>
                    </div>
                    <div class="field-control">
                        <input type="range" min="0" max="1" step="0.01"
                            x-model.number="config.memory_memorize_replace_threshold" />
                        <span class="range-value"
                            x-text="config.memory_memorize_replace_threshold"></span>
                    </div>
                </div>
            </div>
        </template>
    </div>
</body>

</html>