Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python agent-contextagent-memoryagent-pluginsagentic-ragcontext-databasedsh-pluginknowledge-basememorymemory-managementself-evolvingvector-database
<svg xmlns="http://www.w3.org/2000/svg" width="1500" height="994" viewBox="0 0 1500 994">
<rect x="0" y="0" width="1500" height="994" rx="20" fill="#FFFFFF"/>
<text x="40" y="52" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="24" font-weight="700" fill="#1F2329" text-anchor="start">打开 OpenViking 工具后,一条回复里发生了什么</text>
<text x="40" y="80" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#646A73" text-anchor="start">客户端只发一条消息、收一条回复;多步的查、读、写都在网关和模型之间完成</text>
<rect x="30" y="290" width="1440" height="236" rx="10" fill="#FCFBFF" stroke="#7F3BF5" stroke-width="1.5" stroke-dasharray="6 4"/>
<rect x="30" y="612" width="1050" height="92" rx="8" fill="#F5F6F7" stroke="#8F959E" stroke-width="1.5" stroke-dasharray="6 4"/>
<polyline points="170,150 170,706" fill="none" stroke="#8F959E" stroke-width="1.5" stroke-linejoin="round" stroke-dasharray="4 6"/>
<polyline points="560,150 560,706" fill="none" stroke="#8F959E" stroke-width="1.5" stroke-linejoin="round" stroke-dasharray="4 6"/>
<polyline points="950,150 950,706" fill="none" stroke="#8F959E" stroke-width="1.5" stroke-linejoin="round" stroke-dasharray="4 6"/>
<polyline points="1320,150 1320,706" fill="none" stroke="#8F959E" stroke-width="1.5" stroke-linejoin="round" stroke-dasharray="4 6"/>
<rect x="50" y="100" width="240" height="50" rx="10" fill="#EAF2FF" stroke="#3370FF" stroke-width="1.5"/>
<text x="170" y="122" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="18" font-weight="700" fill="#1F2329" text-anchor="middle">客户端</text>
<text x="170" y="142" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="14" font-weight="400" fill="#646A73" text-anchor="middle">聊天应用 · API 应用 · SDK</text>
<rect x="440" y="100" width="240" height="50" rx="10" fill="#F3EEFF" stroke="#7F3BF5" stroke-width="2.5"/>
<text x="560" y="131" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="18" font-weight="700" fill="#1F2329" text-anchor="middle">OpenViking 网关</text>
<rect x="830" y="100" width="240" height="50" rx="10" fill="#FFF3E8" stroke="#FF8800" stroke-width="1.5"/>
<text x="950" y="131" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="18" font-weight="700" fill="#1F2329" text-anchor="middle">上游模型</text>
<rect x="1200" y="100" width="240" height="50" rx="10" fill="#E6DCFF" stroke="#6425D0" stroke-width="1.5"/>
<text x="1320" y="131" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="18" font-weight="700" fill="#1F2329" text-anchor="middle">OpenViking</text>
<polyline points="170,190 551,190" fill="none" stroke="#646A73" stroke-width="2" stroke-linejoin="round"/>
<polygon points="560,190 550,194 550,186" fill="#646A73"/>
<rect x="249.5" y="165.75" width="231" height="19.5" rx="3" fill="#FFFFFF"/>
<text x="365" y="180" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#1F2329" text-anchor="middle">发一条消息(可以不带任何工具)</text>
<circle cx="194" cy="190" r="13" fill="#7F3BF5"/>
<text x="194" y="195.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="700" fill="#FFFFFF" text-anchor="middle">1</text>
<polyline points="560,246 941,246" fill="none" stroke="#7F3BF5" stroke-width="2" stroke-linejoin="round"/>
<polygon points="950,246 940,250 940,242" fill="#7F3BF5"/>
<rect x="596.75" y="221.75" width="316.5" height="19.5" rx="3" fill="#FFFFFF"/>
<text x="755" y="236" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#1F2329" text-anchor="middle">原请求 + 召回的记忆 + OpenViking 工具定义</text>
<circle cx="584" cy="246" r="13" fill="#7F3BF5"/>
<text x="584" y="251.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="700" fill="#FFFFFF" text-anchor="middle">2</text>
<text x="755" y="270" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="14" font-weight="400" fill="#646A73" text-anchor="middle">工具清单在对话的第一个请求时定下,之后不变</text>
<rect x="44" y="279" width="48" height="22" rx="11" fill="#FFFFFF" stroke="#7F3BF5" stroke-width="1.2"/>
<text x="68" y="295.04" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="14" font-weight="700" fill="#7F3BF5" text-anchor="middle">循环</text>
<polyline points="950,320 569,320" fill="none" stroke="#FF8800" stroke-width="2" stroke-linejoin="round"/>
<polygon points="560,320 570,316 570,324" fill="#FF8800"/>
<rect x="613.25" y="295.75" width="283.5" height="19.5" rx="3" fill="#FCFBFF"/>
<text x="755" y="310" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#1F2329" text-anchor="middle">流式输出文字 + 调用 openviking_find</text>
<circle cx="926" cy="320" r="13" fill="#7F3BF5"/>
<text x="926" y="325.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="700" fill="#FFFFFF" text-anchor="middle">3</text>
<polyline points="560,348 179,348" fill="none" stroke="#3370FF" stroke-width="2" stroke-linejoin="round" stroke-dasharray="6 4"/>
<polygon points="170,348 180,344 180,352" fill="#3370FF"/>
<rect x="294.5" y="323.75" width="141" height="19.5" rx="3" fill="#FCFBFF"/>
<text x="365" y="338" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#1F2329" text-anchor="middle">文字实时转给客户端</text>
<polyline points="560,394 1311,394" fill="none" stroke="#6425D0" stroke-width="2" stroke-linejoin="round"/>
<polygon points="1320,394 1310,398 1310,390" fill="#6425D0"/>
<rect x="820" y="369.75" width="240" height="19.5" rx="3" fill="#FCFBFF"/>
<text x="940" y="384" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#1F2329" text-anchor="middle">用该用户的 OpenViking 密钥执行</text>
<circle cx="584" cy="394" r="13" fill="#7F3BF5"/>
<text x="584" y="399.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="700" fill="#FFFFFF" text-anchor="middle">4</text>
<polyline points="1320,440 569,440" fill="none" stroke="#6425D0" stroke-width="2" stroke-linejoin="round" stroke-dasharray="6 4"/>
<polygon points="560,440 570,436 570,444" fill="#6425D0"/>
<rect x="907" y="415.75" width="66" height="19.5" rx="3" fill="#FCFBFF"/>
<text x="940" y="430" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#1F2329" text-anchor="middle">检索结果</text>
<rect x="853" y="452" width="174" height="24" rx="12" fill="#FDECEC" stroke="#F54A45" stroke-width="1.2"/>
<text x="940" y="469.04" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="14" font-weight="400" fill="#F54A45" text-anchor="middle">不经过客户端的权限确认</text>
<polyline points="560,422 179,422" fill="none" stroke="#3370FF" stroke-width="2" stroke-linejoin="round" stroke-dasharray="6 4"/>
<polygon points="170,422 180,418 180,426" fill="#3370FF"/>
<rect x="195.1" y="409" width="351.8" height="26" rx="13" fill="#F5F6F7" stroke="#8F959E" stroke-width="1.2"/>
<text x="371" y="427.04" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="14" font-weight="400" fill="#646A73" text-anchor="middle">> OpenViking find: "上次定的发布日期" — done</text>
<text x="371" y="401" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="14" font-weight="400" fill="#646A73" text-anchor="middle">提示行</text>
<polyline points="560,508 941,508" fill="none" stroke="#7F3BF5" stroke-width="2" stroke-linejoin="round"/>
<polygon points="950,508 940,512 940,504" fill="#7F3BF5"/>
<rect x="632" y="483.75" width="246" height="19.5" rx="3" fill="#FCFBFF"/>
<text x="755" y="498" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#1F2329" text-anchor="middle">调用和结果接回请求,再问一次模型</text>
<circle cx="584" cy="508" r="13" fill="#7F3BF5"/>
<text x="584" y="513.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="700" fill="#FFFFFF" text-anchor="middle">5</text>
<text x="540" y="474" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="700" fill="#7F3BF5" text-anchor="end">循环,直到模型不再调用</text>
<text x="540" y="495" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="14" font-weight="400" fill="#646A73" text-anchor="end">设置的轮数或 token 上限用完:拒绝后续调用</text>
<text x="540" y="515" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="14" font-weight="400" fill="#646A73" text-anchor="end">单次超 30 秒:该次报错 · 超过所设总时长:请求失败</text>
<polyline points="1440,508 1456,508 1456,320 1447,320" fill="none" stroke="#7F3BF5" stroke-width="2" stroke-linejoin="round" stroke-dasharray="6 4"/>
<polygon points="1438,320 1448,316 1448,324" fill="#7F3BF5"/>
<polyline points="950,566 569,566" fill="none" stroke="#FF8800" stroke-width="2" stroke-linejoin="round"/>
<polygon points="560,566 570,562 570,570" fill="#FF8800"/>
<rect x="612.5" y="541.75" width="285" height="19.5" rx="3" fill="#FFFFFF"/>
<text x="755" y="556" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#1F2329" text-anchor="middle">最终回答(不再调用 OpenViking 工具)</text>
<circle cx="926" cy="566" r="13" fill="#7F3BF5"/>
<text x="926" y="571.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="700" fill="#FFFFFF" text-anchor="middle">6</text>
<polyline points="560,594 179,594" fill="none" stroke="#3370FF" stroke-width="3" stroke-linejoin="round"/>
<polygon points="170,594 180,590 180,598" fill="#3370FF"/>
<rect x="263" y="569.75" width="204" height="19.5" rx="3" fill="#FFFFFF"/>
<text x="365" y="584" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#1F2329" text-anchor="middle">一条连贯回复:提示行 + 回答</text>
<rect x="44" y="620" width="174" height="24" rx="12" fill="#FFFFFF" stroke="#3370FF" stroke-width="1.2"/>
<text x="131" y="637.04" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="14" font-weight="400" fill="#3370FF" text-anchor="middle">混用:客户端自己的工具</text>
<polyline points="950,658 569,658" fill="none" stroke="#FF8800" stroke-width="2" stroke-linejoin="round" stroke-dasharray="6 4"/>
<polygon points="560,658 570,654 570,662" fill="#FF8800"/>
<rect x="639.5" y="633.75" width="231" height="19.5" rx="3" fill="#F5F6F7"/>
<text x="755" y="648" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#1F2329" text-anchor="middle">模型同时调用 Bash 等客户端工具</text>
<polyline points="560,690 179,690" fill="none" stroke="#3370FF" stroke-width="2" stroke-linejoin="round"/>
<polygon points="170,690 180,686 180,694" fill="#3370FF"/>
<rect x="219.5" y="665.75" width="291" height="19.5" rx="3" fill="#F5F6F7"/>
<text x="365" y="680" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#1F2329" text-anchor="middle">原样交给客户端执行,照常经过客户端确认</text>
<text x="40" y="744" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="17" font-weight="700" fill="#1F2329" text-anchor="start">客户端看到的回复</text>
<rect x="40" y="756" width="680" height="124" rx="14" fill="#F5F6F7" stroke="#8F959E" stroke-width="1.5"/>
<text x="64" y="790" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#646A73" text-anchor="start">> OpenViking find: "上次定的发布日期" — done</text>
<text x="64" y="818" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#646A73" text-anchor="start">> OpenViking read: viking://user/alice/memories/events/release.md — done</text>
<text x="64" y="856" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="16" font-weight="400" fill="#1F2329" text-anchor="start">上次定在 10 月 20 日发布,依据是 9 月 28 日的评审记录。</text>
<text x="40" y="904" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="14" font-weight="400" fill="#646A73" text-anchor="start">提示行只显示工具名和查询词、URI 等调用对象,用户看不到完整参数和结果;</text>
<text x="40" y="924" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="14" font-weight="400" fill="#646A73" text-anchor="start">模型看不到提示行,它收到的是真实的调用和结果</text>
<text x="760" y="744" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="17" font-weight="700" fill="#1F2329" text-anchor="start">下一轮:工具往返原样放回</text>
<ellipse cx="850" cy="856" rx="80" ry="16" fill="#FAF8FF" stroke="#7F3BF5" stroke-width="1.5"/>
<rect x="770" y="778" width="160" height="78" fill="#FAF8FF" stroke="none"/>
<line x1="770" y1="778" x2="770" y2="856" stroke="#7F3BF5" stroke-width="1.5"/>
<line x1="930" y1="778" x2="930" y2="856" stroke="#7F3BF5" stroke-width="1.5"/>
<ellipse cx="850" cy="778" rx="80" ry="16" fill="#FFFFFF" stroke="#7F3BF5" stroke-width="1.5"/>
<text x="850" y="820" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="700" fill="#1F2329" text-anchor="middle">网关状态库</text>
<text x="850" y="843" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="14" font-weight="400" fill="#646A73" text-anchor="middle">存下工具往返</text>
<polyline points="934,818 949,818" fill="none" stroke="#7F3BF5" stroke-width="2" stroke-linejoin="round"/>
<polygon points="958,818 948,822 948,814" fill="#7F3BF5"/>
<rect x="962" y="798" width="93.2" height="40" rx="6" fill="#FFFFFF" stroke="#8F959E" stroke-width="1.5"/>
<text x="1008.6" y="823.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#1F2329" text-anchor="middle">消息 1</text>
<rect x="1063.2" y="798" width="93.2" height="40" rx="6" fill="#EDE6FF" stroke="#7F3BF5" stroke-width="1.5"/>
<text x="1109.8" y="823.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="600" fill="#1F2329" text-anchor="middle">工具调用</text>
<rect x="1164.4" y="798" width="93.2" height="40" rx="6" fill="#EDE6FF" stroke="#7F3BF5" stroke-width="1.5"/>
<text x="1211" y="823.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="600" fill="#1F2329" text-anchor="middle">工具结果</text>
<rect x="1265.6" y="798" width="93.2" height="40" rx="6" fill="#FFFFFF" stroke="#8F959E" stroke-width="1.5"/>
<text x="1312.2" y="823.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#1F2329" text-anchor="middle">回答 1</text>
<rect x="1366.8" y="798" width="93.2" height="40" rx="6" fill="#FFFFFF" stroke="#3370FF" stroke-width="1.5"/>
<text x="1413.4" y="823.5" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#1F2329" text-anchor="middle">消息 2</text>
<polyline points="1063.2,792 1063.2,788 1257.6,788 1257.6,792" fill="none" stroke="#7F3BF5" stroke-width="1.5" stroke-linejoin="round"/>
<text x="1160.4" y="782" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="13" font-weight="600" fill="#7F3BF5" text-anchor="middle">网关放回</text>
<text x="962" y="868" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#1F2329" text-anchor="start">模型记得查到过什么;前缀不变,提示缓存继续命中</text>
<polyline points="40,959 68,959" fill="none" stroke="#646A73" stroke-width="2" stroke-linejoin="round"/>
<text x="76" y="964" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#646A73" text-anchor="start">每次都走</text>
<text x="136" y="964" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#646A73" text-anchor="start"> · </text>
<polyline points="175,959 203,959" fill="none" stroke="#646A73" stroke-width="2" stroke-linejoin="round" stroke-dasharray="6 4"/>
<text x="211" y="964" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#646A73" text-anchor="start">回传或分支</text>
<text x="286" y="964" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#646A73" text-anchor="start"> · </text>
<circle cx="331.0" cy="959" r="6" fill="#7F3BF5"/>
<text x="343" y="964" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#646A73" text-anchor="start">网关</text>
<text x="373" y="964" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#646A73" text-anchor="start"> · </text>
<circle cx="418.0" cy="959" r="6" fill="#3370FF"/>
<text x="430" y="964" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#646A73" text-anchor="start">客户端</text>
<text x="475" y="964" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#646A73" text-anchor="start"> · </text>
<circle cx="520.0" cy="959" r="6" fill="#FF8800"/>
<text x="532" y="964" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#646A73" text-anchor="start">上游模型</text>
<text x="592" y="964" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#646A73" text-anchor="start"> · </text>
<circle cx="637.0" cy="959" r="6" fill="#6425D0"/>
<text x="649" y="964" font-family="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="15" font-weight="400" fill="#646A73" text-anchor="start">OpenViking</text>
</svg>