<svg viewBox="0 0 1540 900" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" font-family="-apple-system, 'Segoe UI', Helvetica, Arial, sans-serif">
  <rect width="1540" height="900" fill="#ffffff"/>
  <defs>
    <marker id="arr" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
      <path d="M 0 0 L 10 5 L 0 10 z" fill="#64748b"/>
    </marker>
    <g id="i-person" fill="none"><circle cx="9" cy="4.5" r="3.5"/><path d="M2 17 c0 -5 3.5 -7 7 -7 s7 2 7 7"/></g>
    <g id="i-robot" fill="none"><rect x="2" y="6" width="14" height="9" rx="2"/><line x1="9" y1="6" x2="9" y2="2.5"/><circle cx="9" cy="1.8" r="1"/><circle cx="6.3" cy="10.5" r="1"/><circle cx="11.7" cy="10.5" r="1"/></g>
    <g id="i-funnel" fill="none"><path d="M1 2 h16 l-6 7 v7 l-4 -2.5 v-4.5 z"/></g>
    <g id="i-chip" fill="none"><rect x="4" y="4" width="10" height="10" rx="1.5"/><rect x="7" y="7" width="4" height="4"/><line x1="6.5" y1="4" x2="6.5" y2="1.5"/><line x1="11.5" y1="4" x2="11.5" y2="1.5"/><line x1="6.5" y1="14" x2="6.5" y2="16.5"/><line x1="11.5" y1="14" x2="11.5" y2="16.5"/><line x1="4" y1="6.5" x2="1.5" y2="6.5"/><line x1="4" y1="11.5" x2="1.5" y2="11.5"/><line x1="14" y1="6.5" x2="16.5" y2="6.5"/><line x1="14" y1="11.5" x2="16.5" y2="11.5"/></g>
    <g id="i-server" fill="none"><rect x="1" y="2" width="16" height="6" rx="1.5"/><rect x="1" y="10" width="16" height="6" rx="1.5"/><circle cx="4.5" cy="5" r="0.9"/><circle cx="4.5" cy="13" r="0.9"/></g>
  </defs>

  <text x="60" y="64" font-size="30" font-weight="700" fill="#0f172a">代理堆疊中誰能讀取你的提示詞</text>
  <text x="60" y="96" font-size="19" fill="#475569">主路徑上的每個方塊都會處理明文；是否保留則依各方塊政策而定。</text>

  <!-- legend -->
  <rect x="1050" y="38" width="430" height="94" rx="10" fill="#f8fafc" stroke="#e2e8f0" stroke-width="1.5"/>
  <circle cx="1076" cy="60" r="7" fill="#dc2626"/>
  <text x="1092" y="65" font-size="15" fill="#0f172a">預設或依設計保留酬載</text>
  <circle cx="1076" cy="86" r="7" fill="#d97706"/>
  <text x="1092" y="91" font-size="15" fill="#0f172a">保留取決於方案、設定或合約</text>
  <circle cx="1076" cy="112" r="7" fill="#059669"/>
  <text x="1092" y="117" font-size="15" fill="#0f172a">保留由你自行設定</text>

  <!-- Column 1: user -->
  <rect x="60" y="255" width="180" height="100" rx="14" fill="#f1f5f9" stroke="#94a3b8" stroke-width="2"/>
  <use xlink:href="#i-person" href="#i-person" transform="translate(138,264) scale(1.3)" stroke="#334155" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
  <text x="150" y="314" font-size="21" font-weight="600" fill="#0f172a" text-anchor="middle">你的使用者</text>
  <text x="150" y="338" font-size="16" fill="#475569" text-anchor="middle">提示詞誕生</text>
  <text x="150" y="380" font-size="14" fill="#b45309" text-anchor="middle">瀏覽器擴充功能曾在此擷取</text>
  <text x="150" y="399" font-size="14" fill="#b45309" text-anchor="middle">8M 位使用者的 AI 聊天 (2025)</text>

  <line x1="240" y1="315" x2="286" y2="315" stroke="#64748b" stroke-width="3" marker-end="url(#arr)"/>

  <!-- Column 2: agent layer -->
  <rect x="290" y="150" width="300" height="334" rx="16" fill="#eef2ff" stroke="#6366f1" stroke-width="2.5"/>
  <use xlink:href="#i-robot" href="#i-robot" transform="translate(385,169) scale(1.2)" stroke="#334155" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
  <text x="454" y="188" font-size="22" font-weight="700" fill="#0f172a" text-anchor="middle">代理層</text>
  <rect x="306" y="208" width="268" height="56" rx="10" fill="#ffffff" stroke="#a5b4fc" stroke-width="1.5"/>
  <circle cx="326" cy="236" r="7" fill="#d97706"/>
  <text x="342" y="241" font-size="16" fill="#0f172a">應用程式 / 框架遙測</text>
  <rect x="306" y="276" width="268" height="56" rx="10" fill="#ffffff" stroke="#a5b4fc" stroke-width="1.5"/>
  <circle cx="326" cy="304" r="7" fill="#dc2626"/>
  <text x="342" y="309" font-size="16" fill="#0f172a">追蹤 / 可觀測性 SaaS</text>
  <rect x="306" y="344" width="268" height="56" rx="10" fill="#ffffff" stroke="#a5b4fc" stroke-width="1.5"/>
  <circle cx="326" cy="372" r="7" fill="#dc2626"/>
  <text x="342" y="377" font-size="16" fill="#0f172a">記憶 / 向量儲存庫</text>
  <rect x="306" y="412" width="268" height="56" rx="10" fill="#ffffff" stroke="#a5b4fc" stroke-width="1.5"/>
  <circle cx="326" cy="440" r="7" fill="#dc2626"/>
  <text x="342" y="445" font-size="16" fill="#0f172a">工作階段重播 / 分析</text>

  <line x1="590" y1="315" x2="646" y2="315" stroke="#64748b" stroke-width="3" marker-end="url(#arr)"/>

  <!-- Column 3: gateway -->
  <rect x="650" y="150" width="260" height="406" rx="16" fill="#ecfdf5" stroke="#10b981" stroke-width="2.5"/>
  <use xlink:href="#i-funnel" href="#i-funnel" transform="translate(720,169) scale(1.2)" stroke="#334155" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
  <text x="794" y="188" font-size="22" font-weight="700" fill="#0f172a" text-anchor="middle">AI 閘道</text>
  <rect x="662" y="208" width="236" height="72" rx="10" fill="#ffffff" stroke="#6ee7b7" stroke-width="1.5"/>
  <circle cx="682" cy="234" r="7" fill="#d97706"/>
  <text x="698" y="239" font-size="16" fill="#0f172a">SaaS 彙整器閘道</text>
  <text x="698" y="262" font-size="14" fill="#64748b">其政策 + 路由目標政策</text>
  <rect x="662" y="292" width="236" height="52" rx="10" fill="#ffffff" stroke="#6ee7b7" stroke-width="1.5"/>
  <circle cx="682" cy="318" r="7" fill="#dc2626"/>
  <text x="698" y="323" font-size="16" fill="#0f172a">安全性 / DLP 閘道</text>
  <rect x="662" y="356" width="236" height="52" rx="10" fill="#ffffff" stroke="#6ee7b7" stroke-width="1.5"/>
  <circle cx="682" cy="382" r="7" fill="#dc2626"/>
  <text x="698" y="387" font-size="16" fill="#0f172a">可觀測性主控台</text>
  <rect x="662" y="420" width="236" height="52" rx="10" fill="#ffffff" stroke="#6ee7b7" stroke-width="1.5"/>
  <circle cx="682" cy="446" r="7" fill="#dc2626"/>
  <text x="698" y="451" font-size="16" fill="#0f172a">閘道端快取</text>
  <rect x="662" y="484" width="236" height="52" rx="10" fill="#ffffff" stroke="#6ee7b7" stroke-width="1.5"/>
  <circle cx="682" cy="510" r="7" fill="#059669"/>
  <text x="698" y="515" font-size="16" fill="#0f172a">自架閘道</text>

  <line x1="910" y1="315" x2="966" y2="315" stroke="#64748b" stroke-width="3" marker-end="url(#arr)"/>

  <!-- Column 4: providers -->
  <rect x="970" y="150" width="330" height="384" rx="16" fill="#fff7ed" stroke="#f59e0b" stroke-width="2.5"/>
  <use xlink:href="#i-chip" href="#i-chip" transform="translate(1057,169) scale(1.2)" stroke="#334155" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
  <text x="1149" y="188" font-size="22" font-weight="700" fill="#0f172a" text-anchor="middle">推論供應商</text>
  <rect x="992" y="208" width="286" height="72" rx="10" fill="#ffffff" stroke="#fcd34d" stroke-width="1.5"/>
  <circle cx="1012" cy="232" r="7" fill="#d97706"/>
  <text x="1028" y="237" font-size="17" fill="#0f172a">模型廠商的官方 API</text>
  <text x="1028" y="261" font-size="14" fill="#64748b">在廠商的環境中執行</text>
  <rect x="992" y="292" width="286" height="72" rx="10" fill="#ffffff" stroke="#fcd34d" stroke-width="1.5"/>
  <circle cx="1012" cy="316" r="7" fill="#d97706"/>
  <text x="1028" y="321" font-size="17" fill="#0f172a">雲端託管模型</text>
  <text x="1028" y="345" font-size="14" fill="#64748b">區域鎖定，雲端為處理者</text>
  <rect x="992" y="376" width="286" height="72" rx="10" fill="#ffffff" stroke="#fcd34d" stroke-width="1.5"/>
  <circle cx="1012" cy="400" r="7" fill="#d97706"/>
  <text x="1028" y="405" font-size="17" fill="#0f172a">GPU 主機，開放權重</text>
  <text x="1028" y="429" font-size="14" fill="#64748b">政策因主機而異</text>
  <text x="1135" y="482" font-size="14" fill="#475569" text-anchor="middle">另有：快取、批次檔案、濫用紀錄、</text>
  <text x="1135" y="504" font-size="14" fill="#475569" text-anchor="middle">安全分類器、次級處理者、備份</text>

  <!-- self-host branch -->
  <line x1="780" y1="556" x2="780" y2="656" stroke="#64748b" stroke-width="3" stroke-dasharray="8 6" marker-end="url(#arr)"/>
  <rect x="560" y="664" width="440" height="150" rx="16" fill="#f8fafc" stroke="#64748b" stroke-width="2.5"/>
  <use xlink:href="#i-server" href="#i-server" transform="translate(683,684) scale(1.2)" stroke="#334155" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
  <text x="806" y="702" font-size="21" font-weight="700" fill="#0f172a" text-anchor="middle">自架推論（旁路）</text>
  <rect x="582" y="718" width="190" height="74" rx="10" fill="#ffffff" stroke="#cbd5e1" stroke-width="1.5"/>
  <circle cx="598" cy="755" r="7" fill="#059669"/>
  <text x="677" y="748" font-size="16" fill="#0f172a" text-anchor="middle">專用雲端</text>
  <text x="677" y="770" font-size="16" fill="#0f172a" text-anchor="middle">租戶 / VPC</text>
  <rect x="788" y="718" width="190" height="74" rx="10" fill="#ffffff" stroke="#cbd5e1" stroke-width="1.5"/>
  <circle cx="803" cy="755" r="7" fill="#059669"/>
  <text x="883" y="748" font-size="16" fill="#0f172a" text-anchor="middle">你自己的</text>
  <text x="883" y="770" font-size="16" fill="#0f172a" text-anchor="middle">資料中心 GPUs</text>
  <text x="780" y="842" font-size="15" fill="#475569" text-anchor="middle">沒有第三方能看到明文，但你自己的存取紀錄與追蹤會成為資料保留面</text>
</svg>
