-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy patharchitecture.excalidraw
More file actions
53 lines (40 loc) · 16.6 KB
/
Copy patharchitecture.excalidraw
File metadata and controls
53 lines (40 loc) · 16.6 KB
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
{
"type": "excalidraw",
"version": 2,
"source": "openclaw/diagram-maker",
"elements": [
{"type":"rectangle","id":"agent_box","x":40,"y":120,"width":220,"height":80,"angle":0,"strokeColor":"#1e1e1e","backgroundColor":"#a5d8ff","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":{"type":3},"seed":1,"version":1,"versionNonce":1,"isDeleted":false,"boundElements":[{"id":"agent_text","type":"text"},{"id":"arrow_agent_relay","type":"arrow"},{"id":"arrow_relay_agent","type":"arrow"}],"updated":1,"link":null,"locked":false},
{"type":"text","id":"agent_text","x":70,"y":140,"width":160,"height":40,"angle":0,"strokeColor":"#1e1e1e","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":null,"seed":2,"version":1,"versionNonce":2,"isDeleted":false,"boundElements":[],"updated":2,"link":null,"locked":false,"fontSize":20,"fontFamily":1,"text":"AI Agent\n(Client)","textAlign":"center","verticalAlign":"middle","containerId":"agent_box","originalText":"AI Agent\n(Client)","lineHeight":1.25,"baseline":40},
{"type":"rectangle","id":"agent_steps","x":40,"y":230,"width":220,"height":150,"angle":0,"strokeColor":"#1e1e1e","backgroundColor":"#ffffff","fillStyle":"solid","strokeWidth":1,"strokeStyle":"dashed","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":{"type":3},"seed":3,"version":1,"versionNonce":3,"isDeleted":false,"boundElements":[{"id":"agent_steps_text","type":"text"}],"updated":3,"link":null,"locked":false},
{"type":"text","id":"agent_steps_text","x":55,"y":240,"width":190,"height":130,"angle":0,"strokeColor":"#1e1e1e","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":null,"seed":4,"version":1,"versionNonce":4,"isDeleted":false,"boundElements":[],"updated":4,"link":null,"locked":false,"fontSize":14,"fontFamily":1,"text":"1. Detect sensitive data\n2. Verify enclave (DCAP)\n3. Encrypt to enclave key\n4. Pay per chunk (MPP)\n5. Decrypt locally","textAlign":"left","verticalAlign":"top","containerId":"agent_steps","originalText":"1. Detect sensitive data\n2. Verify enclave (DCAP)\n3. Encrypt to enclave key\n4. Pay per chunk (MPP)\n5. Decrypt locally","lineHeight":1.5,"baseline":130},
{"type":"rectangle","id":"wallet_box","x":40,"y":410,"width":220,"height":70,"angle":0,"strokeColor":"#1e1e1e","backgroundColor":"#c3fae8","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":{"type":3},"seed":5,"version":1,"versionNonce":5,"isDeleted":false,"boundElements":[{"id":"wallet_text","type":"text"},{"id":"arrow_wallet_agent","type":"arrow"}],"updated":5,"link":null,"locked":false},
{"type":"text","id":"wallet_text","x":65,"y":425,"width":170,"height":40,"angle":0,"strokeColor":"#1e1e1e","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":null,"seed":6,"version":1,"versionNonce":6,"isDeleted":false,"boundElements":[],"updated":6,"link":null,"locked":false,"fontSize":16,"fontFamily":1,"text":"Tempo Wallet\n(pathUSD)","textAlign":"center","verticalAlign":"middle","containerId":"wallet_box","originalText":"Tempo Wallet\n(pathUSD)","lineHeight":1.25,"baseline":40},
{"type":"rectangle","id":"relay_box","x":400,"y":120,"width":260,"height":100,"angle":0,"strokeColor":"#1e1e1e","backgroundColor":"#d0bfff","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":{"type":3},"seed":7,"version":1,"versionNonce":7,"isDeleted":false,"boundElements":[{"id":"relay_text","type":"text"},{"id":"arrow_agent_relay","type":"arrow"},{"id":"arrow_relay_agent","type":"arrow"},{"id":"arrow_relay_enclave","type":"arrow"},{"id":"arrow_enclave_relay","type":"arrow"}],"updated":7,"link":null,"locked":false},
{"type":"text","id":"relay_text","x":420,"y":135,"width":220,"height":70,"angle":0,"strokeColor":"#1e1e1e","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":null,"seed":8,"version":1,"versionNonce":8,"isDeleted":false,"boundElements":[],"updated":8,"link":null,"locked":false,"fontSize":18,"fontFamily":1,"text":"mppRouter\nBLIND RELAY\n(Hono + mppx)","textAlign":"center","verticalAlign":"middle","containerId":"relay_box","originalText":"mppRouter\nBLIND RELAY\n(Hono + mppx)","lineHeight":1.25,"baseline":70},
{"type":"rectangle","id":"relay_notes","x":400,"y":250,"width":260,"height":110,"angle":0,"strokeColor":"#1e1e1e","backgroundColor":"#ffffff","fillStyle":"solid","strokeWidth":1,"strokeStyle":"dashed","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":{"type":3},"seed":9,"version":1,"versionNonce":9,"isDeleted":false,"boundElements":[{"id":"relay_notes_text","type":"text"}],"updated":9,"link":null,"locked":false},
{"type":"text","id":"relay_notes_text","x":415,"y":260,"width":230,"height":90,"angle":0,"strokeColor":"#1e1e1e","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":null,"seed":10,"version":1,"versionNonce":10,"isDeleted":false,"boundElements":[],"updated":10,"link":null,"locked":false,"fontSize":14,"fontFamily":1,"text":"• mppx session (402 → pay → SSE)\n• Forwards ciphertext only\n• Meters response chunks\n• Holds no key — sees no data","textAlign":"left","verticalAlign":"top","containerId":"relay_notes","originalText":"• mppx session (402 → pay → SSE)\n• Forwards ciphertext only\n• Meters response chunks\n• Holds no key — sees no data","lineHeight":1.5,"baseline":90},
{"type":"rectangle","id":"enclave_box","x":800,"y":120,"width":240,"height":100,"angle":0,"strokeColor":"#1e1e1e","backgroundColor":"#b2f2bb","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":{"type":3},"seed":11,"version":1,"versionNonce":11,"isDeleted":false,"boundElements":[{"id":"enclave_text","type":"text"},{"id":"arrow_relay_enclave","type":"arrow"},{"id":"arrow_enclave_relay","type":"arrow"}],"updated":11,"link":null,"locked":false},
{"type":"text","id":"enclave_text","x":820,"y":135,"width":200,"height":70,"angle":0,"strokeColor":"#1e1e1e","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":null,"seed":12,"version":1,"versionNonce":12,"isDeleted":false,"boundElements":[],"updated":12,"link":null,"locked":false,"fontSize":18,"fontFamily":1,"text":"Phala Intel TDX\nEnclave\n(Hardware)","textAlign":"center","verticalAlign":"middle","containerId":"enclave_box","originalText":"Phala Intel TDX\nEnclave\n(Hardware)","lineHeight":1.25,"baseline":70},
{"type":"rectangle","id":"enclave_notes","x":800,"y":250,"width":240,"height":110,"angle":0,"strokeColor":"#1e1e1e","backgroundColor":"#ffffff","fillStyle":"solid","strokeWidth":1,"strokeStyle":"dashed","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":{"type":3},"seed":13,"version":1,"versionNonce":13,"isDeleted":false,"boundElements":[{"id":"enclave_notes_text","type":"text"}],"updated":13,"link":null,"locked":false},
{"type":"text","id":"enclave_notes_text","x":815,"y":260,"width":210,"height":90,"angle":0,"strokeColor":"#1e1e1e","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":null,"seed":14,"version":1,"versionNonce":14,"isDeleted":false,"boundElements":[],"updated":14,"link":null,"locked":false,"fontSize":14,"fontFamily":1,"text":"• Decrypts INSIDE hardware\n• Runs gpt-oss:20b\n• Re-encrypts response\n• Returns TDX-attested receipt","textAlign":"left","verticalAlign":"top","containerId":"enclave_notes","originalText":"• Decrypts INSIDE hardware\n• Runs gpt-oss:20b\n• Re-encrypts response\n• Returns TDX-attested receipt","lineHeight":1.5,"baseline":90},
{"type":"arrow","id":"arrow_agent_relay","x":260,"y":180,"width":140,"height":0,"angle":0,"strokeColor":"#1971c2","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":{"type":2},"seed":15,"version":1,"versionNonce":15,"isDeleted":false,"boundElements":[],"updated":15,"link":null,"locked":false,"points":[[0,0],[140,0]],"lastCommittedPoint":null,"startBinding":{"elementId":"agent_box","fixedPoint":[1,0.5]},"endBinding":{"elementId":"relay_box","fixedPoint":[0,0.5]},"startArrowhead":null,"endArrowhead":"arrow"},
{"type":"text","id":"arrow_agent_relay_label","x":275,"y":160,"width":110,"height":16,"angle":0,"strokeColor":"#1971c2","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":null,"seed":16,"version":1,"versionNonce":16,"isDeleted":false,"boundElements":[],"updated":16,"link":null,"locked":false,"fontSize":12,"fontFamily":1,"text":"encrypted + MPP voucher","textAlign":"center","verticalAlign":"middle","containerId":null,"originalText":"encrypted + MPP voucher","lineHeight":1.25,"baseline":16},
{"type":"arrow","id":"arrow_relay_enclave","x":660,"y":180,"width":140,"height":0,"angle":0,"strokeColor":"#1971c2","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":{"type":2},"seed":17,"version":1,"versionNonce":17,"isDeleted":false,"boundElements":[],"updated":17,"link":null,"locked":false,"points":[[0,0],[140,0]],"lastCommittedPoint":null,"startBinding":{"elementId":"relay_box","fixedPoint":[1,0.5]},"endBinding":{"elementId":"enclave_box","fixedPoint":[0,0.5]},"startArrowhead":null,"endArrowhead":"arrow"},
{"type":"text","id":"arrow_relay_enclave_label","x":680,"y":160,"width":100,"height":16,"angle":0,"strokeColor":"#1971c2","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":null,"seed":18,"version":1,"versionNonce":18,"isDeleted":false,"boundElements":[],"updated":18,"link":null,"locked":false,"fontSize":12,"fontFamily":1,"text":"ciphertext forward","textAlign":"center","verticalAlign":"middle","containerId":null,"originalText":"ciphertext forward","lineHeight":1.25,"baseline":16},
{"type":"arrow","id":"arrow_enclave_relay","x":800,"y":200,"width":-140,"height":0,"angle":0,"strokeColor":"#2f9e44","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":{"type":2},"seed":19,"version":1,"versionNonce":19,"isDeleted":false,"boundElements":[],"updated":19,"link":null,"locked":false,"points":[[0,0],[-140,0]],"lastCommittedPoint":null,"startBinding":{"elementId":"enclave_box","fixedPoint":[0,0.65]},"endBinding":{"elementId":"relay_box","fixedPoint":[1,0.65]},"startArrowhead":null,"endArrowhead":"arrow"},
{"type":"text","id":"arrow_enclave_relay_label","x":670,"y":205,"width":120,"height":16,"angle":0,"strokeColor":"#2f9e44","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":null,"seed":20,"version":1,"versionNonce":20,"isDeleted":false,"boundElements":[],"updated":20,"link":null,"locked":false,"fontSize":12,"fontFamily":1,"text":"encrypted response","textAlign":"center","verticalAlign":"middle","containerId":null,"originalText":"encrypted response","lineHeight":1.25,"baseline":16},
{"type":"arrow","id":"arrow_relay_agent","x":400,"y":200,"width":-140,"height":0,"angle":0,"strokeColor":"#2f9e44","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":{"type":2},"seed":21,"version":1,"versionNonce":21,"isDeleted":false,"boundElements":[],"updated":21,"link":null,"locked":false,"points":[[0,0],[-140,0]],"lastCommittedPoint":null,"startBinding":{"elementId":"relay_box","fixedPoint":[0,0.65]},"endBinding":{"elementId":"agent_box","fixedPoint":[1,0.65]},"startArrowhead":null,"endArrowhead":"arrow"},
{"type":"text","id":"arrow_relay_agent_label","x":265,"y":205,"width":130,"height":16,"angle":0,"strokeColor":"#2f9e44","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":null,"seed":22,"version":1,"versionNonce":22,"isDeleted":false,"boundElements":[],"updated":22,"link":null,"locked":false,"fontSize":12,"fontFamily":1,"text":"SSE stream (chunks)","textAlign":"center","verticalAlign":"middle","containerId":null,"originalText":"SSE stream (chunks)","lineHeight":1.25,"baseline":16},
{"type":"arrow","id":"arrow_wallet_agent","x":150,"y":410,"width":0,"height":-210,"angle":0,"strokeColor":"#2f9e44","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":2,"strokeStyle":"dashed","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":{"type":2},"seed":23,"version":1,"versionNonce":23,"isDeleted":false,"boundElements":[],"updated":23,"link":null,"locked":false,"points":[[0,0],[0,-210]],"lastCommittedPoint":null,"startBinding":{"elementId":"wallet_box","fixedPoint":[0.5,0]},"endBinding":{"elementId":"agent_box","fixedPoint":[0.5,1]},"startArrowhead":null,"endArrowhead":"arrow"},
{"type":"text","id":"arrow_wallet_agent_label","x":160,"y":360,"width":80,"height":16,"angle":0,"strokeColor":"#2f9e44","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":null,"seed":24,"version":1,"versionNonce":24,"isDeleted":false,"boundElements":[],"updated":24,"link":null,"locked":false,"fontSize":12,"fontFamily":1,"text":"signs payment","textAlign":"left","verticalAlign":"middle","containerId":null,"originalText":"signs payment","lineHeight":1.25,"baseline":16},
{"type":"text","id":"title","x":350,"y":30,"width":400,"height":30,"angle":0,"strokeColor":"#1e1e1e","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":null,"seed":25,"version":1,"versionNonce":25,"isDeleted":false,"boundElements":[],"updated":25,"link":null,"locked":false,"fontSize":24,"fontFamily":1,"text":"mppRouter — Architecture Flow","textAlign":"center","verticalAlign":"middle","containerId":null,"originalText":"mppRouter — Architecture Flow","lineHeight":1.25,"baseline":30},
{"type":"text","id":"zone1_label","x":80,"y":85,"width":140,"height":20,"angle":0,"strokeColor":"#1971c2","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":null,"seed":26,"version":1,"versionNonce":26,"isDeleted":false,"boundElements":[],"updated":26,"link":null,"locked":false,"fontSize":14,"fontFamily":1,"text":"CLIENT / AGENT","textAlign":"center","verticalAlign":"middle","containerId":null,"originalText":"CLIENT / AGENT","lineHeight":1.25,"baseline":20},
{"type":"text","id":"zone2_label","x":440,"y":85,"width":180,"height":20,"angle":0,"strokeColor":"#7048e8","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":null,"seed":27,"version":1,"versionNonce":27,"isDeleted":false,"boundElements":[],"updated":27,"link":null,"locked":false,"fontSize":14,"fontFamily":1,"text":"BLIND RELAY (mppRouter)","textAlign":"center","verticalAlign":"middle","containerId":null,"originalText":"BLIND RELAY (mppRouter)","lineHeight":1.25,"baseline":20},
{"type":"text","id":"zone3_label","x":830,"y":85,"width":180,"height":20,"angle":0,"strokeColor":"#2f9e44","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":null,"seed":28,"version":1,"versionNonce":28,"isDeleted":false,"boundElements":[],"updated":28,"link":null,"locked":false,"fontSize":14,"fontFamily":1,"text":"CONFIDENTIAL COMPUTE","textAlign":"center","verticalAlign":"middle","containerId":null,"originalText":"CONFIDENTIAL COMPUTE","lineHeight":1.25,"baseline":20}
],
"appState": {
"viewBackgroundColor": "#ffffff",
"gridSize": null
},
"files": {}
}