bots-garden/mini-mepublic Fork
⑂ v1.1.1
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. 04a9101 · on v1.1.1 · k33g · 15d ago
dev-team-memory.svg · 59 lines · 6.6 KBXML 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
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
54
55
56
57
58
59
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="600" viewBox="0 0 1200 600" font-family="DejaVu Sans, Verdana, sans-serif">
  <defs>
    <linearGradient id="gBg" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#FFFFFF"/><stop offset="100%" stop-color="#EEF2FA"/></linearGradient>
    <linearGradient id="gBlue" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#E3F2FD"/><stop offset="100%" stop-color="#BBDEFB"/></linearGradient>
    <linearGradient id="gBlue2" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#E1F5FE"/><stop offset="100%" stop-color="#B3E5FC"/></linearGradient>
    <linearGradient id="gPurple" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#F3E5F5"/><stop offset="100%" stop-color="#E1BEE7"/></linearGradient>
    <linearGradient id="gYellow" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#FFFDE7"/><stop offset="100%" stop-color="#FFF9C4"/></linearGradient>
    <linearGradient id="gGrey" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#ECEFF1"/><stop offset="100%" stop-color="#CFD8DC"/></linearGradient>
    <filter id="shadow" x="-30%" y="-30%" width="160%" height="160%"><feDropShadow dx="2" dy="3" stdDeviation="4" flood-color="#000000" flood-opacity="0.25"/></filter>
    <marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0,0 L10,5 L0,10 z" fill="#37474F"/></marker>
  </defs>
  <rect x="0" y="0" width="1200" height="600" fill="url(#gBg)"/>
  <text x="600.0" y="38" text-anchor="middle" font-size="25" font-weight="700" fill="#1A237E">dev.team — one model in memory at a time</text>
  <text x="600.0" y="61" text-anchor="middle" font-size="14" font-style="italic" fill="#546E7A">two hooks of the coordinator unload a model at each hand-off; llmman reloads on the next request</text>
  <path d="M270,205 L400,205" fill="none" stroke="#37474F" stroke-width="2.2" marker-end="url(#arrow)"/>
  <path d="M660,205 L790,205" fill="none" stroke="#37474F" stroke-width="2.2" marker-end="url(#arrow)"/>
  <path d="M975,270 L975,380" fill="none" stroke="#37474F" stroke-width="2.2" marker-end="url(#arrow)"/>
  <path d="M790,445 L270,445" fill="none" stroke="#37474F" stroke-width="2.2" marker-end="url(#arrow)"/>
  <g filter="url(#shadow)"><rect x="40" y="140" width="230" height="130" rx="16" fill="url(#gPurple)" stroke="#6A1B9A" stroke-width="3"/></g>
  <text x="155.0" y="185.0" text-anchor="middle" font-size="22">🔀</text>
  <text x="155.0" y="208.0" text-anchor="middle" font-size="16" font-weight="700" fill="#4A148C">Coordinator</text>
  <text x="155.0" y="226.0" text-anchor="middle" font-size="11.5" fill="#4A148C">Qwen3.5-4B · 3.4 GB</text>
  <text x="155.0" y="243.0" text-anchor="middle" font-size="11.5" fill="#4A148C">decides: ask_agent coder</text>
  <rect x="222.8" y="128" width="57.2" height="24" rx="12" fill="#6A1B9A"/>
  <text x="251.4" y="144" text-anchor="middle" font-size="11.5" font-weight="700" fill="#FFFFFF">★ asks</text>
  <g filter="url(#shadow)"><rect x="400" y="140" width="260" height="130" rx="16" fill="url(#gYellow)" stroke="#F9A825" stroke-width="2"/></g>
  <text x="530.0" y="176.5" text-anchor="middle" font-size="22">⚙️</text>
  <text x="530.0" y="199.5" text-anchor="middle" font-size="16" font-weight="700" fill="#E65100">preAsk hook</text>
  <text x="530.0" y="217.5" text-anchor="middle" font-size="11.5" fill="#E65100">node hooks/unload.js self</text>
  <text x="530.0" y="234.5" text-anchor="middle" font-size="11.5" fill="#E65100">unloads the 4B</text>
  <text x="530.0" y="251.5" text-anchor="middle" font-size="11.5" fill="#E65100">before the agent starts</text>
  <g filter="url(#shadow)"><rect x="790" y="140" width="370" height="130" rx="16" fill="url(#gBlue2)" stroke="#0277BD" stroke-width="2"/></g>
  <text x="975.0" y="185.0" text-anchor="middle" font-size="22">🛠️</text>
  <text x="975.0" y="208.0" text-anchor="middle" font-size="16" font-weight="700" fill="#01579B">Team member</text>
  <text x="975.0" y="226.0" text-anchor="middle" font-size="11.5" fill="#01579B">Mellum2 12B · 8.1 GB  or  Gemma 4 12B · 7.3 GB</text>
  <text x="975.0" y="243.0" text-anchor="middle" font-size="11.5" fill="#01579B">loaded alone · does the work</text>
  <g filter="url(#shadow)"><rect x="790" y="380" width="370" height="130" rx="16" fill="url(#gYellow)" stroke="#F9A825" stroke-width="2"/></g>
  <text x="975.0" y="416.5" text-anchor="middle" font-size="22">⚙️</text>
  <text x="975.0" y="439.5" text-anchor="middle" font-size="16" font-weight="700" fill="#E65100">postAsk hook</text>
  <text x="975.0" y="457.5" text-anchor="middle" font-size="11.5" fill="#E65100">node hooks/unload.js asked</text>
  <text x="975.0" y="474.5" text-anchor="middle" font-size="11.5" fill="#E65100">unloads the 12B</text>
  <text x="975.0" y="491.5" text-anchor="middle" font-size="11.5" fill="#E65100">before the coordinator reads</text>
  <g filter="url(#shadow)"><rect x="40" y="380" width="230" height="130" rx="16" fill="url(#gPurple)" stroke="#6A1B9A" stroke-width="3"/></g>
  <text x="155.0" y="425.0" text-anchor="middle" font-size="22">🔀</text>
  <text x="155.0" y="448.0" text-anchor="middle" font-size="16" font-weight="700" fill="#4A148C">Coordinator</text>
  <text x="155.0" y="466.0" text-anchor="middle" font-size="11.5" fill="#4A148C">the 4B reloads alone</text>
  <text x="155.0" y="483.0" text-anchor="middle" font-size="11.5" fill="#4A148C">reads the answer · next step</text>
  <rect x="295.0" y="221.0" width="80" height="24" rx="5" fill="#FFFFFF"/>
  <text x="335" y="237.5" text-anchor="middle" font-size="12.5" font-weight="700" fill="#263238">ask_agent</text>
  <rect x="670.0" y="185.0" width="110" height="40" rx="5" fill="#FFFFFF"/>
  <text x="725" y="202" text-anchor="middle" font-size="12.5" font-weight="700" fill="#263238">keep_alive: 0</text>
  <text x="725" y="218" text-anchor="middle" font-size="10.5" fill="#78909C">POST /api/generate</text>
  <rect x="975.0" y="313.0" width="70" height="24" rx="5" fill="#FFFFFF"/>
  <text x="1010" y="329.5" text-anchor="middle" font-size="12.5" font-weight="700" fill="#263238">answer</text>
  <rect x="470.0" y="425.0" width="120" height="40" rx="5" fill="#FFFFFF"/>
  <text x="530" y="442" text-anchor="middle" font-size="12.5" font-weight="700" fill="#263238">answer, then</text>
  <text x="530" y="458" text-anchor="middle" font-size="10.5" fill="#78909C">the 4B reloads</text>
  <text x="600" y="560" text-anchor="middle" font-size="12" fill="#455A64" font-style="italic">Peak: one 12B model (~8 GB + KV cache at 32k) — reformulator &amp; reviewer share Gemma, coder &amp; tutor share Mellum2.</text>
</svg>