{ "type": "excalidraw", "version": 2, "source": "https://github.com/ShenSeanChen/waku-agent", "elements": [ { "id": "title", "type": "text", "x": 60, "y": 30, "width": 510.40000000000003, "height": 41.6, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 478163328, "version": 1, "versionNonce": 107420370, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "pi \u2014 the minimal coding agent", "fontSize": 32, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "pi \u2014 the minimal coding agent", "lineHeight": 1.25, "baseline": 32 }, { "id": "subtitle", "type": "text", "x": 60, "y": 80, "width": 462.00000000000006, "height": 36.4, "angle": 0, "strokeColor": "#666666", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 1181241944, "version": 1, "versionNonce": 1051802513, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "github.com/earendil-works/pi \u00b7 72K stars \u00b7 TypeScript \u00b7 MIT\nby Mario Zechner (libGDX) \u00b7 now at Earendil (Armin Ronacher)", "fontSize": 14, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "github.com/earendil-works/pi \u00b7 72K stars \u00b7 TypeScript \u00b7 MIT\nby Mario Zechner (libGDX) \u00b7 now at Earendil (Armin Ronacher)", "lineHeight": 1.25, "baseline": 14 }, { "id": "boundary", "type": "rectangle", "x": 40, "y": 140, "width": 1720, "height": 950, "angle": 0, "strokeColor": "#e03131", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "dashed", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "seed": 958682847, "version": 1, "versionNonce": 599310826, "isDeleted": false, "boundElements": [ { "id": "boundary-label", "type": "text" } ], "updated": 1752700000000, "link": null, "locked": false }, { "id": "boundary-label", "type": "text", "x": 50, "y": 599.0, "width": 1700, "height": 32, "angle": 0, "strokeColor": "#e03131", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 440213416, "version": 1, "versionNonce": 373399427, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "", "fontSize": 16, "fontFamily": 1, "textAlign": "center", "verticalAlign": "middle", "containerId": "boundary", "originalText": "", "lineHeight": 1.25, "baseline": 16 }, { "id": "boundary-note", "type": "text", "x": 60, "y": 1100, "width": 660.0, "height": 39.0, "angle": 0, "strokeColor": "#e03131", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 1812140442, "version": 1, "versionNonce": 136505588, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "NO permission system \u2014 on purpose. pi runs with YOUR user's powers.\n\"If you need stronger boundaries, containerize\" \u2014 the container IS the boundary.", "fontSize": 15, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "NO permission system \u2014 on purpose. pi runs with YOUR user's powers.\n\"If you need stronger boundaries, containerize\" \u2014 the container IS the boundary.", "lineHeight": 1.25, "baseline": 15 }, { "id": "fe-head", "type": "text", "x": 80, "y": 170, "width": 343.20000000000005, "height": 20.8, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 127978095, "version": 1, "versionNonce": 402418011, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "FRONTENDS \u2014 one EventStream, four faces", "fontSize": 16, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "FRONTENDS \u2014 one EventStream, four faces", "lineHeight": 1.25, "baseline": 16 }, { "id": "fe-tui", "type": "rectangle", "x": 80, "y": 210, "width": 200, "height": 54, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "#e7f5ff", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "seed": 939042956, "version": 1, "versionNonce": 999270937, "isDeleted": false, "boundElements": [ { "id": "fe-tui-label", "type": "text" } ], "updated": 1752700000000, "link": null, "locked": false }, { "id": "fe-tui-label", "type": "text", "x": 90, "y": 223.0, "width": 180, "height": 28, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 113971124, "version": 1, "versionNonce": 854001194, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "TUI (interactive)\npi", "fontSize": 14, "fontFamily": 1, "textAlign": "center", "verticalAlign": "middle", "containerId": "fe-tui", "originalText": "TUI (interactive)\npi", "lineHeight": 1.25, "baseline": 14 }, { "id": "fe-print", "type": "rectangle", "x": 80, "y": 280, "width": 200, "height": 54, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "#e7f5ff", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "seed": 1801823909, "version": 1, "versionNonce": 946785249, "isDeleted": false, "boundElements": [ { "id": "fe-print-label", "type": "text" } ], "updated": 1752700000000, "link": null, "locked": false }, { "id": "fe-print-label", "type": "text", "x": 90, "y": 293.0, "width": 180, "height": 28, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 1929338155, "version": 1, "versionNonce": 1194819985, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "print mode\npi -p \"task\"", "fontSize": 14, "fontFamily": 1, "textAlign": "center", "verticalAlign": "middle", "containerId": "fe-print", "originalText": "print mode\npi -p \"task\"", "lineHeight": 1.25, "baseline": 14 }, { "id": "fe-json", "type": "rectangle", "x": 80, "y": 350, "width": 200, "height": 54, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "#e7f5ff", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "seed": 27911968, "version": 1, "versionNonce": 685731525, "isDeleted": false, "boundElements": [ { "id": "fe-json-label", "type": "text" } ], "updated": 1752700000000, "link": null, "locked": false }, { "id": "fe-json-label", "type": "text", "x": 90, "y": 363.0, "width": 180, "height": 28, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 1815115026, "version": 1, "versionNonce": 1461364855, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "event stream\npi --mode json", "fontSize": 14, "fontFamily": 1, "textAlign": "center", "verticalAlign": "middle", "containerId": "fe-json", "originalText": "event stream\npi --mode json", "lineHeight": 1.25, "baseline": 14 }, { "id": "fe-rpc", "type": "rectangle", "x": 80, "y": 420, "width": 200, "height": 54, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "#e7f5ff", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "seed": 1193448330, "version": 1, "versionNonce": 667779377, "isDeleted": false, "boundElements": [ { "id": "fe-rpc-label", "type": "text" } ], "updated": 1752700000000, "link": null, "locked": false }, { "id": "fe-rpc-label", "type": "text", "x": 90, "y": 433.0, "width": 180, "height": 28, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 924765564, "version": 1, "versionNonce": 1445662586, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "long-lived RPC\npi --mode rpc", "fontSize": 14, "fontFamily": 1, "textAlign": "center", "verticalAlign": "middle", "containerId": "fe-rpc", "originalText": "long-lived RPC\npi --mode rpc", "lineHeight": 1.25, "baseline": 14 }, { "id": "fe-note", "type": "text", "x": 80, "y": 492, "width": 221.65, "height": 33.800000000000004, "angle": 0, "strokeColor": "#1971c2", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 438989806, "version": 1, "versionNonce": 398340370, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "same events \u2192 any frontend\n(this is how Waku plugs in: -p)", "fontSize": 13, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "same events \u2192 any frontend\n(this is how Waku plugs in: -p)", "lineHeight": 1.25, "baseline": 13 }, { "id": "a-fe-loop", "type": "arrow", "x": 290, "y": 340, "width": 130, "height": 0, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": { "type": 2 }, "seed": 1631775358, "version": 1, "versionNonce": 415393688, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "points": [ [ 0, 0 ], [ 130, 0 ] ], "lastCommittedPoint": null, "startBinding": null, "endBinding": null, "startArrowhead": null, "endArrowhead": "arrow" }, { "id": "loop", "type": "rectangle", "x": 430, "y": 200, "width": 430, "height": 330, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "#fff9db", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "seed": 1541804687, "version": 1, "versionNonce": 1477278578, "isDeleted": false, "boundElements": [ { "id": "loop-label", "type": "text" } ], "updated": 1752700000000, "link": null, "locked": false }, { "id": "loop-label", "type": "text", "x": 440, "y": 349.0, "width": 410, "height": 32, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 1136108455, "version": 1, "versionNonce": 186618212, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "", "fontSize": 16, "fontFamily": 1, "textAlign": "center", "verticalAlign": "middle", "containerId": "loop", "originalText": "", "lineHeight": 1.25, "baseline": 16 }, { "id": "loop-head", "type": "text", "x": 450, "y": 215, "width": 264.0, "height": 26.0, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 1973214823, "version": 1, "versionNonce": 536124281, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "THE LOOP \u2014 pi-agent-core", "fontSize": 20, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "THE LOOP \u2014 pi-agent-core", "lineHeight": 1.25, "baseline": 20 }, { "id": "loop-body", "type": "text", "x": 450, "y": 255, "width": 323.40000000000003, "height": 182.0, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 1625792788, "version": 1, "versionNonce": 338444265, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "a ~792-line while-loop in an EventStream\n\nwhile (tool calls or queued messages):\n inject STEERING (you can talk mid-run)\n stream one model turn\n run tool calls (parallel by default)\n emit events (turn_end, ...)\n\ncompaction: auto-summarize when\ncontext overflows", "fontSize": 14, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "a ~792-line while-loop in an EventStream\n\nwhile (tool calls or queued messages):\n inject STEERING (you can talk mid-run)\n stream one model turn\n run tool calls (parallel by default)\n emit events (turn_end, ...)\n\ncompaction: auto-summarize when\ncontext overflows", "lineHeight": 1.25, "baseline": 14 }, { "id": "loop-scar", "type": "text", "x": 450, "y": 470, "width": 307.45000000000005, "height": 33.800000000000004, "angle": 0, "strokeColor": "#e8590c", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 1259191106, "version": 1, "versionNonce": 1553210609, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "scar tissue: truncated response? \u2192 fail ALL\ntool calls (half-parsed JSON args lie)", "fontSize": 13, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "scar tissue: truncated response? \u2192 fail ALL\ntool calls (half-parsed JSON args lie)", "lineHeight": 1.25, "baseline": 13 }, { "id": "tools-head", "type": "text", "x": 430, "y": 570, "width": 237.60000000000002, "height": 23.400000000000002, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 825873197, "version": 1, "versionNonce": 298737107, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "TOOLS \u2014 four. that's it.", "fontSize": 18, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "TOOLS \u2014 four. that's it.", "lineHeight": 1.25, "baseline": 18 }, { "id": "tool-read", "type": "rectangle", "x": 430, "y": 610, "width": 100, "height": 60, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "#d3f9d8", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "seed": 196814234, "version": 1, "versionNonce": 978815631, "isDeleted": false, "boundElements": [ { "id": "tool-read-label", "type": "text" } ], "updated": 1752700000000, "link": null, "locked": false }, { "id": "tool-read-label", "type": "text", "x": 440, "y": 627.0, "width": 80, "height": 26, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 1242911822, "version": 1, "versionNonce": 342703922, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "read\nfiles+images", "fontSize": 13, "fontFamily": 1, "textAlign": "center", "verticalAlign": "middle", "containerId": "tool-read", "originalText": "read\nfiles+images", "lineHeight": 1.25, "baseline": 13 }, { "id": "tool-bash", "type": "rectangle", "x": 542, "y": 610, "width": 100, "height": 60, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "#d3f9d8", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "seed": 999829241, "version": 1, "versionNonce": 433797841, "isDeleted": false, "boundElements": [ { "id": "tool-bash-label", "type": "text" } ], "updated": 1752700000000, "link": null, "locked": false }, { "id": "tool-bash-label", "type": "text", "x": 552, "y": 627.0, "width": 80, "height": 26, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 1632629720, "version": 1, "versionNonce": 1193887546, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "bash\nrun anything", "fontSize": 13, "fontFamily": 1, "textAlign": "center", "verticalAlign": "middle", "containerId": "tool-bash", "originalText": "bash\nrun anything", "lineHeight": 1.25, "baseline": 13 }, { "id": "tool-edit", "type": "rectangle", "x": 654, "y": 610, "width": 100, "height": 60, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "#d3f9d8", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "seed": 1947382420, "version": 1, "versionNonce": 1566942274, "isDeleted": false, "boundElements": [ { "id": "tool-edit-label", "type": "text" } ], "updated": 1752700000000, "link": null, "locked": false }, { "id": "tool-edit-label", "type": "text", "x": 664, "y": 627.0, "width": 80, "height": 26, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 698594026, "version": 1, "versionNonce": 1589915145, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "edit\nexact replace", "fontSize": 13, "fontFamily": 1, "textAlign": "center", "verticalAlign": "middle", "containerId": "tool-edit", "originalText": "edit\nexact replace", "lineHeight": 1.25, "baseline": 13 }, { "id": "tool-write", "type": "rectangle", "x": 766, "y": 610, "width": 100, "height": 60, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "#d3f9d8", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "seed": 1525876052, "version": 1, "versionNonce": 899825839, "isDeleted": false, "boundElements": [ { "id": "tool-write-label", "type": "text" } ], "updated": 1752700000000, "link": null, "locked": false }, { "id": "tool-write-label", "type": "text", "x": 776, "y": 627.0, "width": 80, "height": 26, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 1146660998, "version": 1, "versionNonce": 306671448, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "write\nnew files", "fontSize": 13, "fontFamily": 1, "textAlign": "center", "verticalAlign": "middle", "containerId": "tool-write", "originalText": "write\nnew files", "lineHeight": 1.25, "baseline": 13 }, { "id": "tools-opt", "type": "rectangle", "x": 430, "y": 690, "width": 320, "height": 44, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "dashed", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "seed": 735034882, "version": 1, "versionNonce": 1051454924, "isDeleted": false, "boundElements": [ { "id": "tools-opt-label", "type": "text" } ], "updated": 1752700000000, "link": null, "locked": false }, { "id": "tools-opt-label", "type": "text", "x": 440, "y": 699.0, "width": 300, "height": 26, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 701808368, "version": 1, "versionNonce": 1985392499, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "opt-in extras: grep \u00b7 find \u00b7 ls", "fontSize": 13, "fontFamily": 1, "textAlign": "center", "verticalAlign": "middle", "containerId": "tools-opt", "originalText": "opt-in extras: grep \u00b7 find \u00b7 ls", "lineHeight": 1.25, "baseline": 13 }, { "id": "tools-note", "type": "text", "x": 430, "y": 750, "width": 269.5, "height": 18.2, "angle": 0, "strokeColor": "#2f9e44", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 1629748728, "version": 1, "versionNonce": 1159417076, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "everything else is NOT a built-in \u2192", "fontSize": 14, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "everything else is NOT a built-in \u2192", "lineHeight": 1.25, "baseline": 14 }, { "id": "a-tools-ext", "type": "arrow", "x": 700, "y": 760, "width": 240, "height": -60, "angle": 0, "strokeColor": "#2f9e44", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "dashed", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": { "type": 2 }, "seed": 943239975, "version": 1, "versionNonce": 1392783744, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "points": [ [ 0, 0 ], [ 240, -60 ] ], "lastCommittedPoint": null, "startBinding": null, "endBinding": null, "startArrowhead": null, "endArrowhead": "arrow" }, { "id": "ext", "type": "rectangle", "x": 950, "y": 200, "width": 380, "height": 560, "angle": 0, "strokeColor": "#7048e8", "backgroundColor": "#f3f0ff", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "seed": 240251662, "version": 1, "versionNonce": 983753978, "isDeleted": false, "boundElements": [ { "id": "ext-label", "type": "text" } ], "updated": 1752700000000, "link": null, "locked": false }, { "id": "ext-label", "type": "text", "x": 960, "y": 464.0, "width": 360, "height": 32, "angle": 0, "strokeColor": "#7048e8", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 137869476, "version": 1, "versionNonce": 1354860541, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "", "fontSize": 16, "fontFamily": 1, "textAlign": "center", "verticalAlign": "middle", "containerId": "ext", "originalText": "", "lineHeight": 1.25, "baseline": 16 }, { "id": "ext-head", "type": "text", "x": 970, "y": 215, "width": 316.8, "height": 23.400000000000002, "angle": 0, "strokeColor": "#7048e8", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 1722989660, "version": 1, "versionNonce": 1149938335, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "EXTENSIONS \u2014 where features live", "fontSize": 18, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "EXTENSIONS \u2014 where features live", "lineHeight": 1.25, "baseline": 18 }, { "id": "ext-body", "type": "text", "x": 970, "y": 255, "width": 315.70000000000005, "height": 309.40000000000003, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 284277890, "version": 1, "versionNonce": 906164397, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "plain TypeScript files, hot-loaded (jiti)\n~/.pi/agent/extensions/*.ts or .pi/\n\n~30 lifecycle hooks:\n input \u00b7 tool_call (can BLOCK) \u00b7\n context \u00b7 session_compact \u00b7 ...\n\npi.registerTool / Command / Provider\n\n~70 examples shipped:\n permission-gate (opt-in safety!)\n plan mode \u00b7 subagents\n git-checkpoint \u00b7 micro-VM sandbox\n ...a playable DOOM overlay\n\n\"pi can create extensions.\n Ask it to build one.\" \u2190 the thesis", "fontSize": 14, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "plain TypeScript files, hot-loaded (jiti)\n~/.pi/agent/extensions/*.ts or .pi/\n\n~30 lifecycle hooks:\n input \u00b7 tool_call (can BLOCK) \u00b7\n context \u00b7 session_compact \u00b7 ...\n\npi.registerTool / Command / Provider\n\n~70 examples shipped:\n permission-gate (opt-in safety!)\n plan mode \u00b7 subagents\n git-checkpoint \u00b7 micro-VM sandbox\n ...a playable DOOM overlay\n\n\"pi can create extensions.\n Ask it to build one.\" \u2190 the thesis", "lineHeight": 1.25, "baseline": 14 }, { "id": "piai", "type": "rectangle", "x": 80, "y": 800, "width": 560, "height": 210, "angle": 0, "strokeColor": "#c2255c", "backgroundColor": "#fff0f6", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "seed": 1351531224, "version": 1, "versionNonce": 913224048, "isDeleted": false, "boundElements": [ { "id": "piai-label", "type": "text" } ], "updated": 1752700000000, "link": null, "locked": false }, { "id": "piai-label", "type": "text", "x": 90, "y": 889.0, "width": 540, "height": 32, "angle": 0, "strokeColor": "#c2255c", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 2144181938, "version": 1, "versionNonce": 1699226065, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "", "fontSize": 16, "fontFamily": 1, "textAlign": "center", "verticalAlign": "middle", "containerId": "piai", "originalText": "", "lineHeight": 1.25, "baseline": 16 }, { "id": "piai-head", "type": "text", "x": 100, "y": 815, "width": 267.3, "height": 23.400000000000002, "angle": 0, "strokeColor": "#c2255c", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 1970753706, "version": 1, "versionNonce": 613628804, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "pi-ai \u2014 the provider funnel", "fontSize": 18, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "pi-ai \u2014 the provider funnel", "lineHeight": 1.25, "baseline": 18 }, { "id": "piai-body", "type": "text", "x": 100, "y": 855, "width": 385.00000000000006, "height": 109.2, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 1137651679, "version": 1, "versionNonce": 599707678, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "37 providers (Anthropic, OpenAI, Google, Groq,\nOpenRouter, DeepSeek, MiniMax, Kimi, ...)\n \u2193 collapse onto \u2193\n11 wire-format adapters (a provider = just data)\n\nContext is plain JSON \u2192 swap providers MID-SESSION", "fontSize": 14, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "37 providers (Anthropic, OpenAI, Google, Groq,\nOpenRouter, DeepSeek, MiniMax, Kimi, ...)\n \u2193 collapse onto \u2193\n11 wire-format adapters (a provider = just data)\n\nContext is plain JSON \u2192 swap providers MID-SESSION", "lineHeight": 1.25, "baseline": 14 }, { "id": "sess", "type": "rectangle", "x": 680, "y": 800, "width": 560, "height": 210, "angle": 0, "strokeColor": "#087f5b", "backgroundColor": "#e6fcf5", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "seed": 1059257081, "version": 1, "versionNonce": 1128466621, "isDeleted": false, "boundElements": [ { "id": "sess-label", "type": "text" } ], "updated": 1752700000000, "link": null, "locked": false }, { "id": "sess-label", "type": "text", "x": 690, "y": 889.0, "width": 540, "height": 32, "angle": 0, "strokeColor": "#087f5b", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 1840109256, "version": 1, "versionNonce": 1715412120, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "", "fontSize": 16, "fontFamily": 1, "textAlign": "center", "verticalAlign": "middle", "containerId": "sess", "originalText": "", "lineHeight": 1.25, "baseline": 16 }, { "id": "sess-head", "type": "text", "x": 700, "y": 815, "width": 326.70000000000005, "height": 23.400000000000002, "angle": 0, "strokeColor": "#087f5b", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 1554762904, "version": 1, "versionNonce": 941975481, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "SESSIONS \u2014 one JSONL file, a TREE", "fontSize": 18, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "SESSIONS \u2014 one JSONL file, a TREE", "lineHeight": 1.25, "baseline": 18 }, { "id": "sess-body", "type": "text", "x": 700, "y": 855, "width": 331.1, "height": 109.2, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 594130309, "version": 1, "versionNonce": 2119634400, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "every line: {id, parentId, message}\n\u2192 branch IN-PLACE: /tree time-travel, /fork\n\u2192 /share (gist) \u00b7 publish to Hugging Face\n\nopen sessions instead of benchmarks:\nthe community's eval substrate", "fontSize": 14, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "every line: {id, parentId, message}\n\u2192 branch IN-PLACE: /tree time-travel, /fork\n\u2192 /share (gist) \u00b7 publish to Hugging Face\n\nopen sessions instead of benchmarks:\nthe community's eval substrate", "lineHeight": 1.25, "baseline": 14 }, { "id": "op-head", "type": "text", "x": 1380, "y": 200, "width": 196.35000000000002, "height": 44.2, "angle": 0, "strokeColor": "#e03131", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 390452953, "version": 1, "versionNonce": 202363286, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "MY TAKE (from reading\nthe source):", "fontSize": 17, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "MY TAKE (from reading\nthe source):", "lineHeight": 1.25, "baseline": 17 }, { "id": "op-elegant", "type": "text", "x": 1380, "y": 270, "width": 223.3, "height": 127.4, "angle": 0, "strokeColor": "#2f9e44", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 470939446, "version": 1, "versionNonce": 656448480, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "elegant:\n+ 4-tool discipline is REAL\n (extensions carry the rest)\n+ one event stream,\n four frontends\n+ providers = data,\n not code", "fontSize": 14, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "elegant:\n+ 4-tool discipline is REAL\n (extensions carry the rest)\n+ one event stream,\n four frontends\n+ providers = data,\n not code", "lineHeight": 1.25, "baseline": 14 }, { "id": "op-gaps", "type": "text", "x": 1380, "y": 470, "width": 215.60000000000002, "height": 127.4, "angle": 0, "strokeColor": "#e03131", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 687117442, "version": 1, "versionNonce": 1813163241, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "gaps (by design):\n- NO MEMORY\n compaction != remembering\n- NO EVALS\n sessions != a release gate\n- no safety net\n (container or YOLO)", "fontSize": 14, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "gaps (by design):\n- NO MEMORY\n compaction != remembering\n- NO EVALS\n sessions != a release gate\n- no safety net\n (container or YOLO)", "lineHeight": 1.25, "baseline": 14 }, { "id": "a-gap-waku1", "type": "arrow", "x": 1575, "y": 500, "width": 75, "height": 0, "angle": 0, "strokeColor": "#e03131", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": { "type": 2 }, "seed": 272849425, "version": 1, "versionNonce": 1652563014, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "points": [ [ 0, 0 ], [ 75, 0 ] ], "lastCommittedPoint": null, "startBinding": null, "endBinding": null, "startArrowhead": null, "endArrowhead": "arrow" }, { "id": "a-gap-waku2", "type": "arrow", "x": 1575, "y": 545, "width": 75, "height": 0, "angle": 0, "strokeColor": "#e03131", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": { "type": 2 }, "seed": 1639042339, "version": 1, "versionNonce": 2010258947, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "points": [ [ 0, 0 ], [ 75, 0 ] ], "lastCommittedPoint": null, "startBinding": null, "endBinding": null, "startArrowhead": null, "endArrowhead": "arrow" }, { "id": "op-waku", "type": "text", "x": 1655, "y": 495, "width": 82.5, "height": 39.0, "angle": 0, "strokeColor": "#1971c2", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 1079815405, "version": 1, "versionNonce": 49310609, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "\u2192 Waku's\n pillars", "fontSize": 15, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "\u2192 Waku's\n pillars", "lineHeight": 1.25, "baseline": 15 }, { "id": "op-thesis", "type": "text", "x": 1380, "y": 640, "width": 198.00000000000003, "height": 156.0, "angle": 0, "strokeColor": "#1971c2", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 2, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 491995980, "version": 1, "versionNonce": 1146005449, "isDeleted": false, "boundElements": [], "updated": 1752700000000, "link": null, "locked": false, "text": "the collab thesis:\nmemory + evals belong to\nthe ORCHESTRATOR (Waku).\ntools belong to the\nSPECIALIST (pi).\n\nso Waku hires pi:\ndelegate_task \u2192 pi -p", "fontSize": 15, "fontFamily": 1, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "the collab thesis:\nmemory + evals belong to\nthe ORCHESTRATOR (Waku).\ntools belong to the\nSPECIALIST (pi).\n\nso Waku hires pi:\ndelegate_task \u2192 pi -p", "lineHeight": 1.25, "baseline": 15 } ], "appState": { "viewBackgroundColor": "#ffffff", "gridSize": null }, "files": {} }