| 1 | <html> |
| 2 | <head> |
| 3 | <title>Memory</title> |
| 4 | </head> |
| 5 | |
| 6 | <body> |
| 7 | <div x-data> |
| 8 | <template x-if="config"> |
| 9 | <div> |
| 10 | <div class="section-title">Memory</div> |
| 11 | <div class="section-description"> |
| 12 | Configuration of A0's memory system. A0 memorizes and recalls memories automatically to help its |
| 13 | context awareness. |
| 14 | </div> |
| 15 | |
| 16 | <div class="field" x-show="context.projectName"> |
| 17 | <div class="field-label"> |
| 18 | <div class="field-title">Project Isolation</div> |
| 19 | <div class="field-description"> |
| 20 | If enabled, this project uses its own memory folder (projects/NAME). If disabled, it shares the global memory (default or custom subdir). |
| 21 | </div> |
| 22 | </div> |
| 23 | <div class="field-control"> |
| 24 | <label class="toggle"> |
| 25 | <input type="checkbox" x-model="config.project_memory_isolation" /> |
| 26 | <span class="toggler"></span> |
| 27 | </label> |
| 28 | </div> |
| 29 | </div> |
| 30 | |
| 31 | <div class="field"> |
| 32 | <div class="field-label"> |
| 33 | <div class="field-title">Memory Subdirectory</div> |
| 34 | <div class="field-description"> |
| 35 | Subdirectory of /memory folder. |
| 36 | </div> |
| 37 | </div> |
| 38 | <div class="field-control"> |
| 39 | <input type="text" x-model="config.agent_memory_subdir" placeholder="Auto (Project-isolated)" /> |
| 40 | </div> |
| 41 | </div> |
| 42 | |
| 43 | <div class="field"> |
| 44 | <div class="field-label"> |
| 45 | <div class="field-title">Memory Dashboard</div> |
| 46 | <div class="field-description"> |
| 47 | View and explore all stored memories in a table format with filtering and search |
| 48 | capabilities. |
| 49 | </div> |
| 50 | </div> |
| 51 | <div class="field-control"> |
| 52 | <button class="btn btn-field" |
| 53 | @click="openModal('/plugins/_memory/webui/memory-dashboard.html');"> |
| 54 | Open Dashboard |
| 55 | </button> |
| 56 | </div> |
| 57 | </div> |
| 58 | |
| 59 | <div class="field"> |
| 60 | <div class="field-label"> |
| 61 | <div class="field-title">Memory auto-recall enabled</div> |
| 62 | <div class="field-description">Agent Zero will automatically recall memories based on |
| 63 | convesation context.</div> |
| 64 | </div> |
| 65 | <div class="field-control"> |
| 66 | <label class="toggle"> |
| 67 | <input type="checkbox" x-model="config.memory_recall_enabled" /> |
| 68 | <span class="toggler"></span> |
| 69 | </label> |
| 70 | </div> |
| 71 | </div> |
| 72 | |
| 73 | <div class="field"> |
| 74 | <div class="field-label"> |
| 75 | <div class="field-title">Memory auto-recall delayed</div> |
| 76 | <div class="field-description"> |
| 77 | The agent will not wait for auto memory recall. Memories will be delivered one message |
| 78 | later. This speeds up agent's response time but may result in less relevant first step. |
| 79 | </div> |
| 80 | </div> |
| 81 | <div class="field-control"> |
| 82 | <label class="toggle"> |
| 83 | <input type="checkbox" x-model="config.memory_recall_delayed" /> |
| 84 | <span class="toggler"></span> |
| 85 | </label> |
| 86 | </div> |
| 87 | </div> |
| 88 | |
| 89 | <div class="field"> |
| 90 | <div class="field-label"> |
| 91 | <div class="field-title">Auto-recall AI query preparation</div> |
| 92 | <div class="field-description"> |
| 93 | Enables vector DB query preparation from conversation context by utility LLM for |
| 94 | auto-recall. Improves search quality, adds 1 utility LLM call per auto-recall. |
| 95 | </div> |
| 96 | </div> |
| 97 | <div class="field-control"> |
| 98 | <label class="toggle"> |
| 99 | <input type="checkbox" x-model="config.memory_recall_query_prep" /> |
| 100 | <span class="toggler"></span> |
| 101 | </label> |
| 102 | </div> |
| 103 | </div> |
| 104 | |
| 105 | <div class="field"> |
| 106 | <div class="field-label"> |
| 107 | <div class="field-title">Auto-recall AI post-filtering</div> |
| 108 | <div class="field-description"> |
| 109 | Enables memory relevance filtering by utility LLM for auto-recall. Improves search quality, |
| 110 | adds 1 utility LLM call per auto-recall. |
| 111 | </div> |
| 112 | </div> |
| 113 | <div class="field-control"> |
| 114 | <label class="toggle"> |
| 115 | <input type="checkbox" |
| 116 | x-model="config.memory_recall_post_filter" /> |
| 117 | <span class="toggler"></span> |
| 118 | </label> |
| 119 | </div> |
| 120 | </div> |
| 121 | |
| 122 | <div class="field"> |
| 123 | <div class="field-label"> |
| 124 | <div class="field-title">Memory auto-recall interval</div> |
| 125 | <div class="field-description"> |
| 126 | Memories are recalled after every user or superior agent message. During agent's monologue, |
| 127 | memories are recalled every X turns based on this parameter. |
| 128 | </div> |
| 129 | </div> |
| 130 | <div class="field-control"> |
| 131 | <input type="range" min="1" max="10" step="1" |
| 132 | x-model.number="config.memory_recall_interval" /> |
| 133 | <span class="range-value" |
| 134 | x-text="config.memory_recall_interval"></span> |
| 135 | </div> |
| 136 | </div> |
| 137 | |
| 138 | <div class="field"> |
| 139 | <div class="field-label"> |
| 140 | <div class="field-title">Memory auto-recall history length</div> |
| 141 | <div class="field-description"> |
| 142 | The length of conversation history passed to memory recall LLM for context (in characters). |
| 143 | </div> |
| 144 | </div> |
| 145 | <div class="field-control"> |
| 146 | <input type="number" |
| 147 | x-model.number="config.memory_recall_history_len" /> |
| 148 | </div> |
| 149 | </div> |
| 150 | |
| 151 | <div class="field"> |
| 152 | <div class="field-label"> |
| 153 | <div class="field-title">Memory auto-recall similarity threshold</div> |
| 154 | <div class="field-description"> |
| 155 | The threshold for similarity search in memory recall (0 = no similarity, 1 = exact match). |
| 156 | </div> |
| 157 | </div> |
| 158 | <div class="field-control"> |
| 159 | <input type="range" min="0" max="1" step="0.01" |
| 160 | x-model.number="config.memory_recall_similarity_threshold" /> |
| 161 | <span class="range-value" |
| 162 | x-text="config.memory_recall_similarity_threshold"></span> |
| 163 | </div> |
| 164 | </div> |
| 165 | |
| 166 | <div class="field"> |
| 167 | <div class="field-label"> |
| 168 | <div class="field-title">Memory auto-recall max memories to search</div> |
| 169 | <div class="field-description"> |
| 170 | The maximum number of memories returned by vector DB for further processing. |
| 171 | </div> |
| 172 | </div> |
| 173 | <div class="field-control"> |
| 174 | <input type="number" |
| 175 | x-model.number="config.memory_recall_memories_max_search" /> |
| 176 | </div> |
| 177 | </div> |
| 178 | |
| 179 | <div class="field"> |
| 180 | <div class="field-label"> |
| 181 | <div class="field-title">Memory auto-recall max memories to use</div> |
| 182 | <div class="field-description"> |
| 183 | The maximum number of memories to inject into A0's context window. |
| 184 | </div> |
| 185 | </div> |
| 186 | <div class="field-control"> |
| 187 | <input type="number" |
| 188 | x-model.number="config.memory_recall_memories_max_result" /> |
| 189 | </div> |
| 190 | </div> |
| 191 | |
| 192 | <div class="field"> |
| 193 | <div class="field-label"> |
| 194 | <div class="field-title">Memory auto-recall max solutions to search</div> |
| 195 | <div class="field-description"> |
| 196 | The maximum number of solutions returned by vector DB for further processing. |
| 197 | </div> |
| 198 | </div> |
| 199 | <div class="field-control"> |
| 200 | <input type="number" |
| 201 | x-model.number="config.memory_recall_solutions_max_search" /> |
| 202 | </div> |
| 203 | </div> |
| 204 | |
| 205 | <div class="field"> |
| 206 | <div class="field-label"> |
| 207 | <div class="field-title">Memory auto-recall max solutions to use</div> |
| 208 | <div class="field-description"> |
| 209 | The maximum number of solutions to inject into A0's context window. |
| 210 | </div> |
| 211 | </div> |
| 212 | <div class="field-control"> |
| 213 | <input type="number" |
| 214 | x-model.number="config.memory_recall_solutions_max_result" /> |
| 215 | </div> |
| 216 | </div> |
| 217 | |
| 218 | <div class="field"> |
| 219 | <div class="field-label"> |
| 220 | <div class="field-title">Auto-memorize enabled</div> |
| 221 | <div class="field-description"> |
| 222 | A0 will automatically memorize facts and solutions from conversation history. |
| 223 | </div> |
| 224 | </div> |
| 225 | <div class="field-control"> |
| 226 | <label class="toggle"> |
| 227 | <input type="checkbox" |
| 228 | x-model="config.memory_memorize_enabled" /> |
| 229 | <span class="toggler"></span> |
| 230 | </label> |
| 231 | </div> |
| 232 | </div> |
| 233 | |
| 234 | <div class="field"> |
| 235 | <div class="field-label"> |
| 236 | <div class="field-title">Auto-memorize AI consolidation</div> |
| 237 | <div class="field-description"> |
| 238 | A0 will automatically consolidate similar memories using utility LLM. Improves memory quality |
| 239 | over time, adds 2 utility LLM calls per memory. |
| 240 | </div> |
| 241 | </div> |
| 242 | <div class="field-control"> |
| 243 | <label class="toggle"> |
| 244 | <input type="checkbox" |
| 245 | x-model="config.memory_memorize_consolidation" /> |
| 246 | <span class="toggler"></span> |
| 247 | </label> |
| 248 | </div> |
| 249 | </div> |
| 250 | |
| 251 | <div class="field"> |
| 252 | <div class="field-label"> |
| 253 | <div class="field-title">Auto-memorize replacement threshold</div> |
| 254 | <div class="field-description"> |
| 255 | Only applies when AI consolidation is disabled. Replaces previous similar memories with new |
| 256 | ones based on this threshold. 0 = replace even if not similar at all, 1 = replace only if |
| 257 | exact match. |
| 258 | </div> |
| 259 | </div> |
| 260 | <div class="field-control"> |
| 261 | <input type="range" min="0" max="1" step="0.01" |
| 262 | x-model.number="config.memory_memorize_replace_threshold" /> |
| 263 | <span class="range-value" |
| 264 | x-text="config.memory_memorize_replace_threshold"></span> |
| 265 | </div> |
| 266 | </div> |
| 267 | </div> |
| 268 | </template> |
| 269 | </div> |
| 270 | </body> |
| 271 | |
| 272 | </html> |