bots-garden/mini-mepublic Fork
⑂ v1.0.4
Commits
⬇ Clone ▾
git clone https://git.rickub.com/bots-garden/mini-me.git
git clone ssh://git@rickub.com/bots-garden/mini-me.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP
🛟 Updated. ad83d0e · on v1.0.4 · k33g · 28d ago
dev-team-memory.drawio · 26 lines · 6.9 KBGDScript3 Blame HistoryRaw
 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
<mxfile host="app.diagrams.net">
  <diagram id="dev-team-memory" name="dev.team — one model in memory at a time">
    <mxGraphModel dx="1200" dy="600" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1200" pageHeight="600" background="#F5F7FC" math="0" shadow="0">
      <root>
        <mxCell id="0"/>
        <mxCell id="1" parent="0"/>
        <mxCell id="title" value="&lt;b style=&quot;font-size:25px;color:#1A237E&quot;&gt;dev.team — one model in memory at a time&lt;/b&gt;&lt;br&gt;&lt;i style=&quot;font-size:14px;color:#546E7A&quot;&gt;two hooks of the coordinator unload a model at each hand-off; llmman reloads on the next request&lt;/i&gt;" style="text;html=1;align=center;verticalAlign=middle;strokeColor=none;fillColor=none;" vertex="1" parent="1"><mxGeometry x="150.0" y="12" width="900" height="56" as="geometry"/></mxCell>
        <mxCell id="c7" value="" style="edgeStyle=none;rounded=0;html=1;strokeColor=#37474F;strokeWidth=2;endArrow=block;endFill=1;startArrow=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="270" y="205" as="sourcePoint"/><mxPoint x="400" y="205" as="targetPoint"/></mxGeometry></mxCell>
        <mxCell id="c9" value="" style="edgeStyle=none;rounded=0;html=1;strokeColor=#37474F;strokeWidth=2;endArrow=block;endFill=1;startArrow=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="660" y="205" as="sourcePoint"/><mxPoint x="790" y="205" as="targetPoint"/></mxGeometry></mxCell>
        <mxCell id="c11" value="" style="edgeStyle=none;rounded=0;html=1;strokeColor=#37474F;strokeWidth=2;endArrow=block;endFill=1;startArrow=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="975" y="270" as="sourcePoint"/><mxPoint x="975" y="380" as="targetPoint"/></mxGeometry></mxCell>
        <mxCell id="c13" value="" style="edgeStyle=none;rounded=0;html=1;strokeColor=#37474F;strokeWidth=2;endArrow=block;endFill=1;startArrow=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="790" y="445" as="sourcePoint"/><mxPoint x="270" y="445" as="targetPoint"/></mxGeometry></mxCell>
        <mxCell id="c1" value="🔀&lt;br&gt;&lt;b style=&quot;font-size:16px&quot;&gt;Coordinator&lt;/b&gt;&lt;br&gt;&lt;span style=&quot;font-size:11.5px;font-weight:normal&quot;&gt;Qwen3.5-4B · 3.4 GB&lt;br&gt;decides: ask_agent coder&lt;/span&gt;" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#F3E5F5;gradientColor=#E1BEE7;strokeColor=#6A1B9A;strokeWidth=3;shadow=1;fontSize=20;fontColor=#4A148C;" vertex="1" parent="1"><mxGeometry x="40" y="140" width="230" height="130" as="geometry"/></mxCell>
        <mxCell id="c2" value="&lt;b&gt;★ asks&lt;/b&gt;" style="rounded=1;arcSize=50;html=1;fillColor=#6A1B9A;strokeColor=none;fontColor=#FFFFFF;fontSize=11;" vertex="1" parent="1"><mxGeometry x="222.8" y="128" width="57.2" height="24" as="geometry"/></mxCell>
        <mxCell id="c3" value="⚙️&lt;br&gt;&lt;b style=&quot;font-size:16px&quot;&gt;preAsk hook&lt;/b&gt;&lt;br&gt;&lt;span style=&quot;font-size:11.5px;font-weight:normal&quot;&gt;node hooks/unload.js self&lt;br&gt;unloads the 4B&lt;br&gt;before the agent starts&lt;/span&gt;" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#FFFDE7;gradientColor=#FFF9C4;strokeColor=#F9A825;strokeWidth=2;shadow=1;fontSize=20;fontColor=#E65100;" vertex="1" parent="1"><mxGeometry x="400" y="140" width="260" height="130" as="geometry"/></mxCell>
        <mxCell id="c4" value="🛠️&lt;br&gt;&lt;b style=&quot;font-size:16px&quot;&gt;Team member&lt;/b&gt;&lt;br&gt;&lt;span style=&quot;font-size:11.5px;font-weight:normal&quot;&gt;Mellum2 12B · 8.1 GB  or  Gemma 4 12B · 7.3 GB&lt;br&gt;loaded alone · does the work&lt;/span&gt;" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#E1F5FE;gradientColor=#B3E5FC;strokeColor=#0277BD;strokeWidth=2;shadow=1;fontSize=20;fontColor=#01579B;" vertex="1" parent="1"><mxGeometry x="790" y="140" width="370" height="130" as="geometry"/></mxCell>
        <mxCell id="c5" value="⚙️&lt;br&gt;&lt;b style=&quot;font-size:16px&quot;&gt;postAsk hook&lt;/b&gt;&lt;br&gt;&lt;span style=&quot;font-size:11.5px;font-weight:normal&quot;&gt;node hooks/unload.js asked&lt;br&gt;unloads the 12B&lt;br&gt;before the coordinator reads&lt;/span&gt;" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#FFFDE7;gradientColor=#FFF9C4;strokeColor=#F9A825;strokeWidth=2;shadow=1;fontSize=20;fontColor=#E65100;" vertex="1" parent="1"><mxGeometry x="790" y="380" width="370" height="130" as="geometry"/></mxCell>
        <mxCell id="c6" value="🔀&lt;br&gt;&lt;b style=&quot;font-size:16px&quot;&gt;Coordinator&lt;/b&gt;&lt;br&gt;&lt;span style=&quot;font-size:11.5px;font-weight:normal&quot;&gt;the 4B reloads alone&lt;br&gt;reads the answer · next step&lt;/span&gt;" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#F3E5F5;gradientColor=#E1BEE7;strokeColor=#6A1B9A;strokeWidth=3;shadow=1;fontSize=20;fontColor=#4A148C;" vertex="1" parent="1"><mxGeometry x="40" y="380" width="230" height="130" as="geometry"/></mxCell>
        <mxCell id="c8" value="&lt;b style=&quot;font-size:12.5px;color:#263238&quot;&gt;ask_agent&lt;/b&gt;" style="text;html=1;align=center;verticalAlign=middle;fillColor=#FFFFFF;strokeColor=none;rounded=1;" vertex="1" parent="1"><mxGeometry x="295.0" y="221.0" width="80" height="24" as="geometry"/></mxCell>
        <mxCell id="c10" value="&lt;b style=&quot;font-size:12.5px;color:#263238&quot;&gt;keep_alive: 0&lt;/b&gt;&lt;br&gt;&lt;span style=&quot;font-size:10.5px;color:#78909C&quot;&gt;POST /api/generate&lt;/span&gt;" style="text;html=1;align=center;verticalAlign=middle;fillColor=#FFFFFF;strokeColor=none;rounded=1;" vertex="1" parent="1"><mxGeometry x="670.0" y="185.0" width="110" height="40" as="geometry"/></mxCell>
        <mxCell id="c12" value="&lt;b style=&quot;font-size:12.5px;color:#263238&quot;&gt;answer&lt;/b&gt;" style="text;html=1;align=center;verticalAlign=middle;fillColor=#FFFFFF;strokeColor=none;rounded=1;" vertex="1" parent="1"><mxGeometry x="975.0" y="313.0" width="70" height="24" as="geometry"/></mxCell>
        <mxCell id="c14" value="&lt;b style=&quot;font-size:12.5px;color:#263238&quot;&gt;answer, then&lt;/b&gt;&lt;br&gt;&lt;span style=&quot;font-size:10.5px;color:#78909C&quot;&gt;the 4B reloads&lt;/span&gt;" style="text;html=1;align=center;verticalAlign=middle;fillColor=#FFFFFF;strokeColor=none;rounded=1;" vertex="1" parent="1"><mxGeometry x="470.0" y="425.0" width="120" height="40" as="geometry"/></mxCell>
        <mxCell id="c15" value="Peak: one 12B model (~8 GB + KV cache at 32k) — reformulator &amp;amp; reviewer share Gemma, coder &amp;amp; tutor share Mellum2." style="text;html=1;align=center;verticalAlign=middle;strokeColor=none;fillColor=none;fontSize=12;fontColor=#455A64;fontStyle=2;" vertex="1" parent="1"><mxGeometry x="179.64" y="548" width="840.72" height="18" as="geometry"/></mxCell>
      </root>
    </mxGraphModel>
  </diagram>
</mxfile>