{ "type": "excalidraw", "version": 2, "source": "https://excalidraw.com", "elements": [ { "id": "n-6_ELLIiAPR3st_k62kF", "type": "text", "x": 24, "y": 20, "width": 670.2897338867188, "height": 34.5, "angle": 0, "strokeColor": "#243247", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 1.6, "strokeStyle": "solid", "roughness": 0.8, "opacity": 100, "groupIds": [], "frameId": null, "index": "a0", "roundness": null, "seed": 32113, "version": 3, "versionNonce": 2078944935, "isDeleted": false, "boundElements": null, "updated": 1788943504332, "link": null, "locked": false, "text": "One selected fact becomes one derived fact.", "fontSize": 30, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "One selected fact becomes one derived fact.", "autoResize": true, "lineHeight": 1.15 }, { "id": "dftrNRfGF5GAT9m4yuA0o", "type": "text", "x": 24, "y": 64, "width": 647.5394287109375, "height": 23, "angle": 0, "strokeColor": "#627083", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 1.6, "strokeStyle": "solid", "roughness": 0.8, "opacity": 100, "groupIds": [], "frameId": null, "index": "a1", "roundness": null, "seed": 32226, "version": 3, "versionNonce": 840086345, "isDeleted": false, "boundElements": null, "updated": 1788943504332, "link": null, "locked": false, "text": "The runnable example uses an embedded, trusted Go room agent.", "fontSize": 20, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "The runnable example uses an embedded, trusted Go room agent.", "autoResize": true, "lineHeight": 1.15 }, { "id": "676_RpRPb-wTO7aIxLtUb", "type": "rectangle", "x": 28, "y": 133, "width": 236, "height": 150, "angle": 0, "strokeColor": "#0f766e", "backgroundColor": "#f0fdfa", "fillStyle": "solid", "strokeWidth": 1.6, "strokeStyle": "solid", "roughness": 0.8, "opacity": 100, "groupIds": [ "g2" ], "frameId": null, "index": "a2", "roundness": { "type": 3 }, "seed": 32339, "version": 3, "versionNonce": 874234311, "isDeleted": false, "boundElements": null, "updated": 1788943504332, "link": null, "locked": false }, { "id": "F1YRaTgPl1g_ZFGrAfO3v", "type": "text", "x": 46, "y": 149, "width": 133.10093688964844, "height": 26.45, "angle": 0, "strokeColor": "#0f766e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 1.6, "strokeStyle": "solid", "roughness": 0.8, "opacity": 100, "groupIds": [ "g2" ], "frameId": null, "index": "a3", "roundness": null, "seed": 32452, "version": 3, "versionNonce": 2110743081, "isDeleted": false, "boundElements": null, "updated": 1788943504332, "link": null, "locked": false, "text": "Input event", "fontSize": 23, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "Input event", "autoResize": true, "lineHeight": 1.15 }, { "id": "sJWjCL0eX18eqS1wD9rt5", "type": "text", "x": 46, "y": 183, "width": 205.9099578857422, "height": 61.479222915457754, "angle": 0, "strokeColor": "#243247", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 1.6, "strokeStyle": "solid", "roughness": 0.8, "opacity": 100, "groupIds": [ "g2" ], "frameId": null, "index": "a4", "roundness": null, "seed": 32565, "version": 3, "versionNonce": 317583591, "isDeleted": false, "boundElements": null, "updated": 1788943504332, "link": null, "locked": false, "text": "chat\ntext.message.committed\nCustomer identity", "fontSize": 17.820064613176164, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "chat\ntext.message.committed\nCustomer identity", "autoResize": true, "lineHeight": 1.15 }, { "id": "XVYB_gVMRUUaNcdVcx2YQ", "type": "rectangle", "x": 345, "y": 133, "width": 267, "height": 150, "angle": 0, "strokeColor": "#7950b3", "backgroundColor": "#faf7ff", "fillStyle": "solid", "strokeWidth": 1.6, "strokeStyle": "solid", "roughness": 0.8, "opacity": 100, "groupIds": [ "g5" ], "frameId": null, "index": "a5", "roundness": { "type": 3 }, "seed": 32678, "version": 3, "versionNonce": 1339241737, "isDeleted": false, "boundElements": null, "updated": 1788943504332, "link": null, "locked": false }, { "id": "9GOsMwLI1DL-oe_XObbpl", "type": "text", "x": 363, "y": 149, "width": 225.35391235351562, "height": 26.45, "angle": 0, "strokeColor": "#7950b3", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 1.6, "strokeStyle": "solid", "roughness": 0.8, "opacity": 100, "groupIds": [ "g5" ], "frameId": null, "index": "a6", "roundness": null, "seed": 32791, "version": 3, "versionNonce": 837630983, "isDeleted": false, "boundElements": null, "updated": 1788943504332, "link": null, "locked": false, "text": "MessageStatsAgent", "fontSize": 23, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "MessageStatsAgent", "autoResize": true, "lineHeight": 1.15 }, { "id": "HSJ70MSuQwM8sP_KI3V7d", "type": "text", "x": 363, "y": 183, "width": 198.47381591796875, "height": 65.55, "angle": 0, "strokeColor": "#243247", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 1.6, "strokeStyle": "solid", "roughness": 0.8, "opacity": 100, "groupIds": [ "g5" ], "frameId": null, "index": "a7", "roundness": null, "seed": 32904, "version": 3, "versionNonce": 463055849, "isDeleted": false, "boundElements": null, "updated": 1788943504332, "link": null, "locked": false, "text": "Read chat\nValidate the text\nPublish measurements", "fontSize": 19, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "Read chat\nValidate the text\nPublish measurements", "autoResize": true, "lineHeight": 1.15 }, { "id": "SMjTFejTXrClB6J9jNuVP", "type": "rectangle", "x": 691, "y": 133, "width": 249, "height": 150, "angle": 0, "strokeColor": "#0f766e", "backgroundColor": "#f0fdfa", "fillStyle": "solid", "strokeWidth": 1.6, "strokeStyle": "solid", "roughness": 0.8, "opacity": 100, "groupIds": [ "g8" ], "frameId": null, "index": "a8", "roundness": { "type": 3 }, "seed": 33017, "version": 3, "versionNonce": 1159078695, "isDeleted": false, "boundElements": null, "updated": 1788943504332, "link": null, "locked": false }, { "id": "xLV5URj1lkHm4QhCVRpos", "type": "text", "x": 709, "y": 149, "width": 155.57191467285156, "height": 26.45, "angle": 0, "strokeColor": "#0f766e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 1.6, "strokeStyle": "solid", "roughness": 0.8, "opacity": 100, "groupIds": [ "g8" ], "frameId": null, "index": "a9", "roundness": null, "seed": 33130, "version": 3, "versionNonce": 1496205001, "isDeleted": false, "boundElements": null, "updated": 1788943504332, "link": null, "locked": false, "text": "Derived event", "fontSize": 23, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "Derived event", "autoResize": true, "lineHeight": 1.15 }, { "id": "ASsCai5UC0EGFyQ_YQQeR", "type": "text", "x": 709, "y": 183, "width": 215.38380432128906, "height": 65.55, "angle": 0, "strokeColor": "#243247", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 1.6, "strokeStyle": "solid", "roughness": 0.8, "opacity": 100, "groupIds": [ "g8" ], "frameId": null, "index": "aA", "roundness": null, "seed": 33243, "version": 3, "versionNonce": 1289037383, "isDeleted": false, "boundElements": null, "updated": 1788943504332, "link": null, "locked": false, "text": "measurements\ndemo.message.measured\nAgent identity", "fontSize": 19, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "measurements\ndemo.message.measured\nAgent identity", "autoResize": true, "lineHeight": 1.15 }, { "id": "D-qOKIyJEGSCCJd5dWPy2", "type": "arrow", "x": 277, "y": 204, "width": 54, "height": 0, "angle": 0, "strokeColor": "#0f766e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 1.6, "strokeStyle": "solid", "roughness": 0.8, "opacity": 100, "groupIds": [], "frameId": null, "index": "aB", "roundness": null, "seed": 33356, "version": 3, "versionNonce": 1932297641, "isDeleted": false, "boundElements": null, "updated": 1788943504332, "link": null, "locked": false, "points": [ [ 0.5, 0 ], [ 53.5, 0 ] ], "lastCommittedPoint": null, "startBinding": null, "endBinding": null, "startArrowhead": null, "endArrowhead": "arrow", "elbowed": false }, { "id": "z1h5MangfJ0o8YVCN1hOl", "type": "arrow", "x": 625, "y": 204, "width": 53, "height": 0, "angle": 0, "strokeColor": "#0f766e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 1.6, "strokeStyle": "solid", "roughness": 0.8, "opacity": 100, "groupIds": [], "frameId": null, "index": "aC", "roundness": null, "seed": 33469, "version": 3, "versionNonce": 134661479, "isDeleted": false, "boundElements": null, "updated": 1788943504332, "link": null, "locked": false, "points": [ [ 0.5, 0 ], [ 52.5, 0 ] ], "lastCommittedPoint": null, "startBinding": null, "endBinding": null, "startArrowhead": null, "endArrowhead": "arrow", "elbowed": false }, { "id": "05KYXDf_xJZ270BJkumcD", "type": "text", "x": 29, "y": 329, "width": 910.6990356445312, "height": 23.111123694921247, "angle": 0, "strokeColor": "#243247", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 1.6, "strokeStyle": "solid", "roughness": 0.8, "opacity": 100, "groupIds": [], "frameId": null, "index": "aD", "roundness": null, "seed": 33582, "version": 3, "versionNonce": 1958733961, "isDeleted": false, "boundElements": null, "updated": 1788943504332, "link": null, "locked": false, "text": "Output references the input and preserves its visibility. The original fact stays unchanged.", "fontSize": 20.09662929993152, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "Output references the input and preserves its visibility. The original fact stays unchanged.", "autoResize": true, "lineHeight": 1.15 } ], "appState": { "viewBackgroundColor": "#ffffff", "gridSize": null }, "files": {}, "customData": { "title": "A small embedded extension", "description": "A customer publishes text.message.committed to chat. MessageStatsAgent has grants to read chat and publish measurements. It validates the text, counts whitespace-separated words, and returns demo.message.measured under its agent identity, referencing the original event and preserving visibility.", "caption": "The host wires the agent once. Clients observe its derived output through ordinary authorized pub/sub." } }