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
Copy file name to clipboardExpand all lines: articles/sre-agent/memory-system.md
+25-25Lines changed: 25 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,31 +66,31 @@ The `SearchMemory` tool retrieves all memory components. It searches across user
66
66
- Custom subagents: Add `SearchMemory` tool to your configuration
67
67
68
68
> [!IMPORTANT]
69
-
> Don't store secrets, credentials, API keys, or sensitive data in any memory component. Memories are shared across your team and indexed for search.
69
+
> Don't store secrets, credentials, API keys, or sensitive data in any memory component. Your team shares memories, and the system indexes them for search.
70
70
71
71
### Enhanced search parameters
72
72
73
73
The `SearchNodes` tool supports filtering options for more targeted searches:
74
74
75
75
| Parameter | Type | Description |
76
76
|-----------|------|-------------|
77
-
|`entityType`| string | Filter results by entity type (for example,`Incident`, `Service`, `Resource`)|
78
-
|`includeNeighbors`| bool | Include connected nodes in the search results |
77
+
|`entityType`| string | Filter results by entity type, such as`Incident`, `Service`, or `Resource`.|
78
+
|`includeNeighbors`| bool | Include connected nodes in the search results.|
79
79
80
80
**Example:**
81
81
82
82
```text
83
83
Search for all incidents related to "database timeout" and include connected resources
84
84
```
85
85
86
-
With `includeNeighbors: true`, the search returns not only matching incident nodes but also their connected:
86
+
When you set `includeNeighbors` to `true`, the search returns not only matching incident nodes but also their connected:
87
87
88
88
- Resources
89
89
- Services
90
90
- Related incidents
91
91
- Linked documents
92
92
93
-
This enables richer context during investigations by showing the full relationship graph around matching nodes.
93
+
By showing the full relationship graph around matching nodes, you get richer context during investigations.
94
94
95
95
## Quick start
96
96
@@ -164,7 +164,7 @@ Save facts, standards, or context for future conversations.
164
164
#remember Team uses Kusto for logs. Workspace is "myteam-prod-logs"
165
165
```
166
166
167
-
Content is embedded by using OpenAI, stored in Azure AI Search, and becomes available for automatic retrieval across all conversations. You see a confirmation: `✅ Agent Memory saved.`
167
+
The system embeds content by using OpenAI, stores it in Azure AI Search, and makes it available for automatic retrieval across all conversations. You see a confirmation: `✅ Agent Memory saved.`
168
168
169
169
#### Remove memories by using `#forget`
170
170
@@ -183,7 +183,7 @@ Delete previously saved memories by searching for them.
183
183
#forget production environment location
184
184
```
185
185
186
-
The system searches your memories semantically for the best match, shows you the content, and deletes it. You see a confirmation: `✅ Agent Memory forgotten: [deleted content]`
186
+
The system semantically searches your memories for the best match, shows you the content, and deletes it. You see a confirmation: `✅ Agent Memory forgotten: [deleted content]`
187
187
188
188
#### Query memories by using `#retrieve`
189
189
@@ -202,7 +202,7 @@ Explicitly search and display saved memories without triggering agent reasoning.
202
202
#retrieve deployment process
203
203
```
204
204
205
-
Searches memories semantically, and then uses the top five matches to synthesize a response. Both the individual memories and the synthesized answer are displayed.
205
+
The system semantically searches memories. It uses the top five matches to synthesize a response. Both the individual memories and the synthesized answer are displayed.
206
206
207
207
### Scope and storage
208
208
@@ -231,11 +231,11 @@ The knowledge base provides direct document upload capabilities for runbooks, tr
231
231
232
232
### Upload via agent tool
233
233
234
-
The agent can upload documents directly to the knowledge base using the `UploadKnowledgeDocument` tool. This is useful when:
234
+
The agent can upload documents directly to the knowledge base by using the `UploadKnowledgeDocument` tool. This method is useful when:
235
235
236
-
-Capturing troubleshooting steps discovered during an investigation
237
-
-Adding runbooks generated from incident resolutions
238
-
-Programmatically adding documentation without UI access
236
+
-You want to capture troubleshooting steps discovered during an investigation.
237
+
-You need to add runbooks generated from incident resolutions.
238
+
-You want to programmatically add documentation without UI access.
239
239
240
240
**Tool: UploadKnowledgeDocument**
241
241
@@ -253,24 +253,24 @@ Ask the agent:
253
253
254
254
The agent uses `UploadKnowledgeDocument` to:
255
255
256
-
1. Create a document with appropriate filename
257
-
1. Format the content in Markdown
258
-
1. Upload to Azure Blob Storage
259
-
1. Trigger indexing for immediate searchability
256
+
1. Create a document with an appropriate filename.
257
+
1. Format the content in Markdown.
258
+
1. Upload the document to Azure Blob Storage.
259
+
1. Trigger indexing for immediate searchability.
260
260
261
261
**Constraints:**
262
262
263
-
- Maximum file size: 16 MB
264
-
- Supported extensions: `.md`, `.txt` only
265
-
- If a document with the same filename exists, it's overwritten
263
+
- Maximum file size: 16 MB.
264
+
- Supported extensions: `.md` and `.txt` only.
265
+
- If a document with the same filename exists, the agent overwrites it.
266
266
267
267
**Error handling:**
268
268
269
269
| Error | Resolution |
270
270
|-------|------------|
271
-
| "Agent memory is disabled" | Enable agent memory in configuration |
272
-
| "Invalid file extension" | Use `.md` or `.txt` extension only |
273
-
| "Document content exceeds maximum size" | Split large documents into smaller files |
271
+
| "Agent memory is disabled" | Enable agent memory in configuration.|
272
+
| "Invalid file extension" | Use `.md` or `.txt` extension only.|
273
+
| "Document content exceeds maximum size" | Split large documents into smaller files.|
274
274
275
275
### Manage documents
276
276
@@ -282,7 +282,7 @@ The agent uses `UploadKnowledgeDocument` to:
282
282
283
283
## Session insights
284
284
285
-
As the agent handles your incidents, it learns. Session insights capture what worked, what didn't, and key learnings from each session. The agent automatically applies that knowledge to help with similar issues in the future.
285
+
As the agent handles your incidents, it learns. Session insights capture what worked, what didn't, and key learnings from each session. The agent automatically applies that knowledge to help with similar problems in the future.
286
286
287
287
### Automatic improvement
288
288
@@ -307,11 +307,11 @@ While session insights work automatically, reviewing them can surface valuable p
307
307
| Telemetry gaps made diagnosis harder | Improve logging or add metrics |
308
308
| Alert triggered but wasn't actionable | Tune the alert or add runbook links |
309
309
310
-
Think of session insights as a window into what the agent learns. You might find something worth acting on, or you might just let the agent handle any surfaced issues.
310
+
Think of session insights as a window into what the agent learns. You might find something worth acting on, or you might just let the agent handle any surfaced problems.
311
311
312
312
### How it works
313
313
314
-
Session insights create a continuous improvement loop: the agent captures symptoms, steps, root cause, and pitfalls from each session, then retrieves relevant past insights when similar issues arise. This automatic cycle helps the agent resolve problems faster over time.
314
+
Session insights create a continuous improvement loop: the agent captures symptoms, steps, root cause, and pitfalls from each session, then retrieves relevant past insights when similar problems arise. This automatic cycle helps the agent resolve problems faster over time.
0 commit comments