Skip to content

Instantly share code, notes, and snippets.

@jeffbalagosa
Created February 21, 2026 06:35
Show Gist options
  • Select an option

  • Save jeffbalagosa/5699aefc3b35bd1c6be46a232a777741 to your computer and use it in GitHub Desktop.

Select an option

Save jeffbalagosa/5699aefc3b35bd1c6be46a232a777741 to your computer and use it in GitHub Desktop.
OpenClaw Memory (working format)
{
"type": "excalidraw",
"version": 2,
"source": "https://excalidraw.com",
"elements": [
{
"type": "text",
"id": "title",
"x": 250,
"y": 20,
"width": 395.8828125,
"height": 34,
"text": "OpenClaw Memory System",
"fontSize": 28,
"strokeColor": "#1e1e1e",
"version": 4,
"versionNonce": 1552823083,
"index": "b08",
"isDeleted": false,
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"backgroundColor": "transparent",
"seed": 1,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1771648136314,
"link": null,
"locked": false,
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": "OpenClaw Memory System",
"autoResize": true,
"lineHeight": 1.2142857142857142
},
{
"type": "text",
"id": "subtitle",
"x": 280,
"y": 60,
"width": 257.1015625,
"height": 20,
"text": "Transparent • File-Based • Local-First",
"fontSize": 16,
"strokeColor": "#757575",
"version": 4,
"versionNonce": 1891478309,
"index": "b09",
"isDeleted": false,
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"backgroundColor": "transparent",
"seed": 1,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1771648141465,
"link": null,
"locked": false,
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": "Transparent • File-Based • Local-First",
"autoResize": true,
"lineHeight": 1.25
},
{
"type": "rectangle",
"id": "logic_zone",
"x": 100,
"y": 120,
"width": 600,
"height": 180,
"backgroundColor": "#e5dbff",
"fillStyle": "solid",
"strokeColor": "#8b5cf6",
"strokeWidth": 1,
"opacity": 30,
"roundness": {
"type": 3
},
"version": 3,
"versionNonce": 1549618763,
"index": "b0A",
"isDeleted": false,
"strokeStyle": "solid",
"roughness": 1,
"angle": 0,
"seed": 1,
"groupIds": [],
"frameId": null,
"boundElements": [],
"updated": 1771648128650,
"link": null,
"locked": false
},
{
"type": "text",
"id": "logic_label",
"x": 120,
"y": 130,
"width": 216.123046875,
"height": 22,
"text": "Agent Logic Layer (Volatile)",
"fontSize": 18,
"strokeColor": "#6d28d9",
"version": 4,
"versionNonce": 496881637,
"index": "b0B",
"isDeleted": false,
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"backgroundColor": "transparent",
"seed": 1,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1771648128650,
"link": null,
"locked": false,
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": "Agent Logic Layer (Volatile)",
"autoResize": true,
"lineHeight": 1.2222222222222223
},
{
"type": "rectangle",
"id": "chat_context",
"x": 150,
"y": 180,
"width": 200,
"height": 80,
"backgroundColor": "#d0bfff",
"fillStyle": "solid",
"strokeColor": "#8b5cf6",
"roundness": {
"type": 3
},
"version": 3,
"versionNonce": 1876118763,
"index": "b0C",
"isDeleted": false,
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"seed": 1,
"groupIds": [],
"frameId": null,
"boundElements": [
{
"type": "text",
"id": "chat_context_label"
}
],
"updated": 1771648128650,
"link": null,
"locked": false
},
{
"type": "text",
"id": "chat_context_label",
"x": 160,
"y": 200,
"width": 180,
"height": 40,
"text": "Short-Term\nChat Context",
"fontSize": 16,
"textAlign": "center",
"containerId": "chat_context",
"version": 3,
"versionNonce": 595888965,
"index": "b0D",
"isDeleted": false,
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"seed": 1,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1771648128650,
"link": null,
"locked": false,
"verticalAlign": "top",
"originalText": "Short-Term\nChat Context",
"autoResize": true,
"lineHeight": 1.25
},
{
"type": "rectangle",
"id": "tools_box",
"x": 450,
"y": 180,
"width": 200,
"height": 80,
"backgroundColor": "#fff3bf",
"fillStyle": "solid",
"strokeColor": "#f59e0b",
"roundness": {
"type": 3
},
"version": 3,
"versionNonce": 760248203,
"index": "b0E",
"isDeleted": false,
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"seed": 1,
"groupIds": [],
"frameId": null,
"boundElements": [
{
"type": "text",
"id": "tools_box_label"
}
],
"updated": 1771648128650,
"link": null,
"locked": false
},
{
"type": "text",
"id": "tools_box_label",
"x": 460,
"y": 200,
"width": 180,
"height": 40,
"text": "Memory Tools\n(search, get, save)",
"fontSize": 16,
"textAlign": "center",
"containerId": "tools_box",
"version": 3,
"versionNonce": 1740429989,
"index": "b0F",
"isDeleted": false,
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"seed": 1,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1771648128650,
"link": null,
"locked": false,
"verticalAlign": "top",
"originalText": "Memory Tools\n(search, get, save)",
"autoResize": true,
"lineHeight": 1.25
},
{
"type": "arrow",
"id": "flow1",
"x": 350,
"y": 220,
"width": 100,
"height": 0,
"points": [
[
0,
0
],
[
100,
0
]
],
"strokeColor": "#8b5cf6",
"strokeWidth": 2,
"endArrowhead": "arrow",
"version": 3,
"versionNonce": 588205611,
"index": "b0G",
"isDeleted": false,
"fillStyle": "solid",
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"backgroundColor": "transparent",
"seed": 1,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1771648128650,
"link": null,
"locked": false,
"startBinding": null,
"endBinding": null,
"startArrowhead": null
},
{
"type": "rectangle",
"id": "storage_zone",
"x": 100,
"y": 340,
"width": 600,
"height": 240,
"backgroundColor": "#d3f9d8",
"fillStyle": "solid",
"strokeColor": "#22c55e",
"strokeWidth": 1,
"opacity": 30,
"roundness": {
"type": 3
},
"version": 3,
"versionNonce": 1391738373,
"index": "b0H",
"isDeleted": false,
"strokeStyle": "solid",
"roughness": 1,
"angle": 0,
"seed": 1,
"groupIds": [],
"frameId": null,
"boundElements": [],
"updated": 1771648128650,
"link": null,
"locked": false
},
{
"type": "text",
"id": "storage_label",
"x": 120,
"y": 350,
"width": 300,
"height": 22,
"text": "Persistent Storage (Markdown Files)",
"fontSize": 18,
"strokeColor": "#15803d",
"version": 3,
"versionNonce": 872042699,
"index": "b0I",
"isDeleted": false,
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"backgroundColor": "transparent",
"seed": 1,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1771648128650,
"link": null,
"locked": false,
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": "Persistent Storage (Markdown Files)",
"autoResize": true,
"lineHeight": 1.2222222222222223
},
{
"type": "rectangle",
"id": "daily_logs",
"x": 150,
"y": 400,
"width": 180,
"height": 60,
"backgroundColor": "#c3fae8",
"fillStyle": "solid",
"strokeColor": "#22c55e",
"roundness": {
"type": 3
},
"version": 3,
"versionNonce": 1546138981,
"index": "b0J",
"isDeleted": false,
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"seed": 1,
"groupIds": [],
"frameId": null,
"boundElements": [
{
"type": "text",
"id": "daily_logs_label"
}
],
"updated": 1771648128650,
"link": null,
"locked": false
},
{
"type": "text",
"id": "daily_logs_label",
"x": 160,
"y": 410,
"width": 160,
"height": 40,
"text": "YYYY-MM-DD.md\n(Daily Context)",
"fontSize": 14,
"textAlign": "center",
"containerId": "daily_logs",
"version": 3,
"versionNonce": 28049259,
"index": "b0K",
"isDeleted": false,
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"seed": 1,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1771648128650,
"link": null,
"locked": false,
"verticalAlign": "top",
"originalText": "YYYY-MM-DD.md\n(Daily Context)",
"autoResize": true,
"lineHeight": 1.4285714285714286
},
{
"type": "rectangle",
"id": "long_term",
"x": 150,
"y": 480,
"width": 180,
"height": 60,
"backgroundColor": "#c3fae8",
"fillStyle": "solid",
"strokeColor": "#22c55e",
"roundness": {
"type": 3
},
"version": 3,
"versionNonce": 1051082949,
"index": "b0L",
"isDeleted": false,
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"seed": 1,
"groupIds": [],
"frameId": null,
"boundElements": [
{
"type": "text",
"id": "long_term_label"
}
],
"updated": 1771648128650,
"link": null,
"locked": false
},
{
"type": "text",
"id": "long_term_label",
"x": 160,
"y": 490,
"width": 160,
"height": 40,
"text": "MEMORY.md\n(Curated Facts)",
"fontSize": 14,
"textAlign": "center",
"containerId": "long_term",
"version": 3,
"versionNonce": 376363531,
"index": "b0M",
"isDeleted": false,
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"seed": 1,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1771648128650,
"link": null,
"locked": false,
"verticalAlign": "top",
"originalText": "MEMORY.md\n(Curated Facts)",
"autoResize": true,
"lineHeight": 1.4285714285714286
},
{
"type": "rectangle",
"id": "config_files",
"x": 450,
"y": 400,
"width": 180,
"height": 140,
"backgroundColor": "#c3fae8",
"fillStyle": "solid",
"strokeColor": "#22c55e",
"roundness": {
"type": 3
},
"version": 3,
"versionNonce": 1879826469,
"index": "b0N",
"isDeleted": false,
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"seed": 1,
"groupIds": [],
"frameId": null,
"boundElements": [
{
"type": "text",
"id": "config_files_label"
}
],
"updated": 1771648128650,
"link": null,
"locked": false
},
{
"type": "text",
"id": "config_files_label",
"x": 460,
"y": 430,
"width": 160,
"height": 80,
"text": "Configuration:\nSOUL.md\nUSER.md\nAGENTS.md",
"fontSize": 14,
"textAlign": "center",
"containerId": "config_files",
"version": 3,
"versionNonce": 1329422507,
"index": "b0O",
"isDeleted": false,
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"seed": 1,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1771648128650,
"link": null,
"locked": false,
"verticalAlign": "top",
"originalText": "Configuration:\nSOUL.md\nUSER.md\nAGENTS.md",
"autoResize": true,
"lineHeight": 1.4285714285714286
},
{
"type": "arrow",
"id": "tool_access",
"x": 550,
"y": 260,
"width": 0,
"height": 140,
"points": [
[
0,
0
],
[
0,
140
]
],
"strokeColor": "#f59e0b",
"strokeWidth": 2,
"endArrowhead": "arrow",
"startArrowhead": "arrow",
"version": 3,
"versionNonce": 1447465861,
"index": "b0P",
"isDeleted": false,
"fillStyle": "solid",
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"backgroundColor": "transparent",
"seed": 1,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1771648128650,
"link": null,
"locked": false,
"startBinding": null,
"endBinding": null
},
{
"type": "text",
"id": "tool_access_label",
"x": 560,
"y": 320,
"width": 80,
"height": 20,
"text": "Read/Write",
"fontSize": 14,
"version": 3,
"versionNonce": 96605003,
"index": "b0Q",
"isDeleted": false,
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"seed": 1,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1771648128650,
"link": null,
"locked": false,
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": "Read/Write",
"autoResize": true,
"lineHeight": 1.4285714285714286
},
{
"type": "arrow",
"id": "semantic_search",
"x": 330,
"y": 260,
"width": 120,
"height": 140,
"points": [
[
0,
0
],
[
120,
0
],
[
120,
140
]
],
"strokeColor": "#06b6d4",
"strokeWidth": 2,
"endArrowhead": "arrow",
"version": 3,
"versionNonce": 1033100005,
"index": "b0R",
"isDeleted": false,
"fillStyle": "solid",
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"backgroundColor": "transparent",
"seed": 1,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1771648128650,
"link": null,
"locked": false,
"startBinding": null,
"endBinding": null,
"startArrowhead": null
},
{
"type": "text",
"id": "semantic_search_label",
"x": 460,
"y": 320,
"width": 90,
"height": 20,
"text": "Search Index",
"fontSize": 14,
"version": 3,
"versionNonce": 2052551147,
"index": "b0S",
"isDeleted": false,
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"seed": 1,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1771648128650,
"link": null,
"locked": false,
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": "Search Index",
"autoResize": true,
"lineHeight": 1.4285714285714286
}
],
"appState": {
"gridSize": 20,
"gridStep": 5,
"gridModeEnabled": false,
"viewBackgroundColor": "#ffffff",
"lockedMultiSelections": {}
},
"files": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment