docs(consistency): 18 架构 SVG 门面图版本标注 2.0.2→2.0.3(升级一致性尾)
承 c3728377 升级 + ee631be6 SoT 一致性:18 个生成引擎架构 SVG 共 45 处 「AgentScope 2.0.2」当前能力/选型标注(官方件/内置/自带/源码实证/锁版/默认值) 统一到 2.0.3——等长纯文本替换、零布局影响(44 增 44 删对等)。无历史句需保留。 两处「从错变对」:t2-B-03 左框「官方软刹 ReplyBudgetControlMiddleware」徽章原标 「AgentScope 2.0.2 自带」——但 2.0.2 源码实无该类(见 §15),2.0.3 才补进 middleware/_budget.py,改 2.0.3 后标注方准确;t2-A-04 脚注 _budget.py 同理。 图的对照结构本就对(官方软刹现成但剪不住烧钱→自建 ¥ 两段式 fail-closed 硬闸= 护城河),仅版本标注跟上。qlmanage 渲染 t2-B-03/t2-A-02/01-系统全景 确认布局无破坏。 deeper follow-up(超版本标注范围、随 SVG 深核波):部分 SVG 脚注引 2.0.2 源码行号 (如 get_toolkit 已迁 _chat.py:354)未逐一重核;max_iters 默认值 / on_acting 工具级 洋葱语义细化待议。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ -34,7 +34,7 @@
|
||||
<!-- tier2 agentic service -->
|
||||
<rect x="440" y="90" width="470" height="400" rx="12" fill="#f0fdf4" stroke="#16a34a" stroke-width="2.5"/>
|
||||
<text x="456" y="113" class="t h2">tier2 agentic service 〔主角〕</text>
|
||||
<text x="456" y="132" class="mut xs">独立进程 / 容器 · AgentScope 2.0.2 · create_app(FastAPI)</text>
|
||||
<text x="456" y="132" class="mut xs">独立进程 / 容器 · AgentScope 2.0.3 · create_app(FastAPI)</text>
|
||||
<rect x="458" y="144" width="434" height="46" rx="8" fill="#dcfce7" stroke="#16a34a" stroke-width="1.6"/>
|
||||
<text x="468" y="166" class="t sm">Agent Service(REST + SSE)</text>
|
||||
<text x="468" y="183" class="mut xs">多租户 · 会话 · HITL · 取消 · /sessions /chat /schedule</text>
|
||||
@ -112,5 +112,5 @@
|
||||
<rect x="160" y="616" width="34" height="20" rx="5" fill="#fff" stroke="#16a34a" stroke-width="2"/><text x="202" y="631" class="t xs">实线〔官方现成〕</text>
|
||||
<rect x="360" y="616" width="34" height="20" rx="5" fill="#fff" stroke="#475569" stroke-width="1.8" stroke-dasharray="6 4"/><text x="402" y="631" class="t xs">虚线〔自建/零耦合〕</text>
|
||||
<rect x="580" y="616" width="34" height="20" rx="5" fill="#fff" stroke="#2563eb" stroke-width="2.8"/><text x="622" y="631" class="t xs">双线〔公共组件〕</text>
|
||||
<text x="40" y="668" class="mut xs">映射:agentic运行时架构图说.md §5.1 运行时形态 / §5.8 四层职责 | 基于 agentscope 2.0.2 源码实证 | 设计变动须同步本图</text>
|
||||
<text x="40" y="668" class="mut xs">映射:agentic运行时架构图说.md §5.1 运行时形态 / §5.8 四层职责 | 基于 agentscope 2.0.3 源码实证 | 设计变动须同步本图</text>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 9.9 KiB After Width: | Height: | Size: 9.9 KiB |
@ -72,5 +72,5 @@
|
||||
|
||||
<line x1="60" y1="1140" x2="110" y2="1140" class="req" marker-end="url(#arrow)"/><text x="118" y="1144" class="t xs">REST 请求 / 动作</text>
|
||||
<line x1="300" y1="1140" x2="350" y2="1140" class="sse" marker-end="url(#arrowB)"/><text x="358" y="1144" class="t xs">SSE 事件流(可恢复)</text>
|
||||
<text x="640" y="1144" class="mut xs">映射:agentic运行时架构图说.md §5 控制面与运行时形态|基于 agentscope 2.0.2 Agent Service + Agent Team 源码实证|设计变动须同步本图</text>
|
||||
<text x="640" y="1144" class="mut xs">映射:agentic运行时架构图说.md §5 控制面与运行时形态|基于 agentscope 2.0.3 Agent Service + Agent Team 源码实证|设计变动须同步本图</text>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 7.9 KiB |
@ -116,5 +116,5 @@
|
||||
<rect x="170" y="886" width="34" height="20" rx="5" fill="#fff" stroke="#16a34a" stroke-width="2"/><text x="212" y="901" class="t xs">实线〔官方〕</text>
|
||||
<rect x="320" y="886" width="34" height="20" rx="5" fill="#fff" stroke="#475569" stroke-width="1.8" stroke-dasharray="6 4"/><text x="362" y="901" class="t xs">虚线〔自建〕</text>
|
||||
<text x="480" y="901" class="mut xs">生产维度:可靠 / 安全 / 数据 / 可观测 / 质量(标在对应组件角)</text>
|
||||
<text x="50" y="958" class="mut xs">映射:agentic运行时架构图说.md §5.8 四层职责 / §5.1 运行时形态 | 基于 agentscope 2.0.2 源码实证(Agent 双轴持有 Workspace · Agent 非常驻 · Middleware 洋葱) | 设计变动须同步本图</text>
|
||||
<text x="50" y="958" class="mut xs">映射:agentic运行时架构图说.md §5.8 四层职责 / §5.1 运行时形态 | 基于 agentscope 2.0.3 源码实证(Agent 双轴持有 Workspace · Agent 非常驻 · Middleware 洋葱) | 设计变动须同步本图</text>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
@ -75,5 +75,5 @@
|
||||
<text x="634" y="820" class="t xs" font-weight="700">载体类型(AgentScope 扩展点):</text>
|
||||
<text x="634" y="842" class="xs"><tspan fill="#2563eb" font-weight="700">Tool</tspan>=工具函数 <tspan fill="#ea580c" font-weight="700">Middleware</tspan>=hook 拦截 <tspan fill="#7c3aed" font-weight="700">Skill</tspan>=SKILL.md <tspan fill="#16a34a" font-weight="700">Prompt</tspan>=指令 <tspan fill="#0891b2" font-weight="700">Memory</tspan>=ReMe <tspan fill="#64748b" font-weight="700">Schema</tspan>=契约数据 <tspan fill="#334155" font-weight="700">独立</tspan>=框架外</text>
|
||||
|
||||
<text x="40" y="922" class="mut xs">映射:agentic运行时架构图说.md §5.8 四层职责 / §5.5 能力面 | 基于 agentscope 2.0.2 源码逐项核对(官方已有/真自建 + 载体类型) | 设计变动须同步本图</text>
|
||||
<text x="40" y="922" class="mut xs">映射:agentic运行时架构图说.md §5.8 四层职责 / §5.5 能力面 | 基于 agentscope 2.0.3 源码逐项核对(官方已有/真自建 + 载体类型) | 设计变动须同步本图</text>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.1 KiB |
@ -32,7 +32,7 @@
|
||||
|
||||
<!-- ② 官方 Agent Service -->
|
||||
<rect x="318" y="142" width="800" height="118" rx="10" fill="#eff6ff" stroke="#2563eb" stroke-width="1.6"/>
|
||||
<text x="336" y="172" class="box">官方 Agent Service · AgentScope 2.0.2</text>
|
||||
<text x="336" y="172" class="box">官方 Agent Service · AgentScope 2.0.3</text>
|
||||
<rect x="336" y="184" width="48" height="20" rx="5" fill="#2563eb"/><text x="360" y="198" class="bj" text-anchor="middle">现成</text>
|
||||
<text x="394" y="200" class="mut xs">= create_app 拉起的 FastAPI(REST + SSE);tier2 不自造 API,接官方的。</text>
|
||||
<text x="336" y="228" class="mut xs">天生多租户 + durable session:会话状态 AgentState 落库可恢复(配 StorageBase 落 Redis)。</text>
|
||||
|
||||
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
@ -19,8 +19,8 @@
|
||||
|
||||
<!-- 状态约定条:整图待建 -->
|
||||
<rect x="40" y="74" width="1400" height="46" rx="9" fill="#f5f3ff" stroke="#7c3aed" stroke-width="1.5"/>
|
||||
<text x="58" y="98" class="t sm">整图状态 = 建:tier2 整轨待 0号 spike 验证、尚未落代码;但 AgentState / StorageBase 的结构与字段已按 AgentScope 2.0.2 源码逐条核过。</text>
|
||||
<text x="58" y="114" class="mut xs">实线 = 现行已落(官方 AgentScope 2.0.2 现成件:AgentState 模型 / StorageBase / RedisStorage);虚线(stroke-dasharray 6 4)= tier2 专属待建机制(非常驻装配、每轮 checkpoint 落 Redis、resume 续跑)。</text>
|
||||
<text x="58" y="98" class="t sm">整图状态 = 建:tier2 整轨待 0号 spike 验证、尚未落代码;但 AgentState / StorageBase 的结构与字段已按 AgentScope 2.0.3 源码逐条核过。</text>
|
||||
<text x="58" y="114" class="mut xs">实线 = 现行已落(官方 AgentScope 2.0.3 现成件:AgentState 模型 / StorageBase / RedisStorage);虚线(stroke-dasharray 6 4)= tier2 专属待建机制(非常驻装配、每轮 checkpoint 落 Redis、resume 续跑)。</text>
|
||||
|
||||
<!-- 生产维度徽章 -->
|
||||
<rect x="40" y="134" width="200" height="26" rx="7" fill="#fff" stroke="#cbd5e1" stroke-width="1.2"/>
|
||||
@ -32,7 +32,7 @@
|
||||
<rect x="40" y="180" width="440" height="298" rx="11" fill="#fff" stroke="#64748b" stroke-width="1.6" stroke-dasharray="6 4"/>
|
||||
<text x="60" y="210" class="box">Agent · 无状态 ReAct 引擎</text>
|
||||
<rect x="60" y="222" width="58" height="20" rx="5" fill="#7c3aed"/><text x="89" y="236" class="bj" text-anchor="middle">待建</text>
|
||||
<text x="128" y="237" class="mut xs">(引擎本体 = 官方 AgentScope 2.0.2)</text>
|
||||
<text x="128" y="237" class="mut xs">(引擎本体 = 官方 AgentScope 2.0.3)</text>
|
||||
|
||||
<text x="60" y="266" class="t sm">实例非常驻 = 不是长跑进程</text>
|
||||
<text x="60" y="288" class="mut xs">每次 run:现组装 → 跑完即弃,不留活对象。</text>
|
||||
@ -63,7 +63,7 @@
|
||||
<!-- ============ 中:AgentState 结构(实线·官方现成模型) ============ -->
|
||||
<rect x="540" y="180" width="468" height="298" rx="11" fill="#fff" stroke="#334155" stroke-width="1.6"/>
|
||||
<text x="560" y="210" class="box">AgentState · pydantic 模型</text>
|
||||
<rect x="560" y="222" width="86" height="20" rx="5" fill="#16a34a"/><text x="603" y="236" class="bj" text-anchor="middle">2.0.2 现成</text>
|
||||
<rect x="560" y="222" width="86" height="20" rx="5" fill="#16a34a"/><text x="603" y="236" class="bj" text-anchor="middle">2.0.3 现成</text>
|
||||
<text x="656" y="237" class="mut xs mono">agentscope/state/_state.py</text>
|
||||
|
||||
<!-- 三个核心字段卡片 -->
|
||||
@ -101,7 +101,7 @@
|
||||
|
||||
<!-- StorageBase / Redis -->
|
||||
<rect x="1088" y="324" width="334" height="52" rx="8" fill="#f0fdf4" stroke="#16a34a" stroke-width="1.3"/>
|
||||
<rect x="1102" y="334" width="86" height="20" rx="5" fill="#16a34a"/><text x="1145" y="348" class="bj" text-anchor="middle">2.0.2 现成</text>
|
||||
<rect x="1102" y="334" width="86" height="20" rx="5" fill="#16a34a"/><text x="1145" y="348" class="bj" text-anchor="middle">2.0.3 现成</text>
|
||||
<text x="1196" y="349" class="t xs mono">StorageBase</text>
|
||||
<text x="1102" y="370" class="mut xs">配 StorageBase 抽象 · RedisStorage 落 Redis</text>
|
||||
|
||||
@ -151,5 +151,5 @@
|
||||
<text x="58" y="734" class="mut xs">每轮落盘与半轮幂等两条硬约束,以及 resume 续跑落到 SessionRecord.state 与 cur_iter 续接的具体链路——这些总览图 3/8 未展开。Agent↔Workspace 两轴注入见总览图 3,本图不重画。</text>
|
||||
|
||||
<!-- 脚注 -->
|
||||
<text x="40" y="772" class="mut xs">映射:docs/architecture/架构/生成引擎/agentic运行时架构图说.md §运行时形态(Agent 非常驻 + AgentState + checkpoint)· §tier2 接入面(durable session / SessionRecord.state)· 图3 运行时内部 + 图8 类图(放大)· AgentScope 2.0.2 源码 state/_state.py + app/storage(已核)| 状态:现(AgentState/StorageBase=官方现成)/ 建(tier2 非常驻装配 + 每轮 checkpoint + resume)| 设计变动须同步本图</text>
|
||||
<text x="40" y="772" class="mut xs">映射:docs/architecture/架构/生成引擎/agentic运行时架构图说.md §运行时形态(Agent 非常驻 + AgentState + checkpoint)· §tier2 接入面(durable session / SessionRecord.state)· 图3 运行时内部 + 图8 类图(放大)· AgentScope 2.0.3 源码 state/_state.py + app/storage(已核)| 状态:现(AgentState/StorageBase=官方现成)/ 建(tier2 非常驻装配 + 每轮 checkpoint + resume)| 设计变动须同步本图</text>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
@ -19,8 +19,8 @@
|
||||
|
||||
<!-- 状态约定条:整图待建 -->
|
||||
<rect x="40" y="74" width="1400" height="46" rx="9" fill="#f5f3ff" stroke="#7c3aed" stroke-width="1.5"/>
|
||||
<text x="58" y="98" class="t sm">整图状态 = 建:tier2 整轨待 0号 spike 验证、尚未落代码;双轴注入结构本身(AgentScope 2.0.2 源码已逐条核过)可信。</text>
|
||||
<text x="58" y="114" class="mut xs">实线 = 官方 AgentScope 2.0.2 现成件(Agent / Workspace / Toolkit / get_toolkit / offloader / 三实现,直接用);虚线(stroke-dasharray 6 4)= tier2 专属待建(注入工具集 / 沙箱底座选型)。</text>
|
||||
<text x="58" y="98" class="t sm">整图状态 = 建:tier2 整轨待 0号 spike 验证、尚未落代码;双轴注入结构本身(AgentScope 2.0.3 源码已逐条核过)可信。</text>
|
||||
<text x="58" y="114" class="mut xs">实线 = 官方 AgentScope 2.0.3 现成件(Agent / Workspace / Toolkit / get_toolkit / offloader / 三实现,直接用);虚线(stroke-dasharray 6 4)= tier2 专属待建(注入工具集 / 沙箱底座选型)。</text>
|
||||
|
||||
<!-- ============ 左:Agent 本体 ============ -->
|
||||
<rect x="40" y="156" width="300" height="316" rx="12" fill="#fff" stroke="#334155" stroke-width="1.6"/>
|
||||
@ -135,5 +135,5 @@
|
||||
<text x="58" y="796" class="mut xs">tier2 不凭空自建 environment 数据面:在官方 Workspace 抽象上挂 tier2 要的工具与资源即可;沙箱底座(Local/Docker/E2B 与 D5 选型)解决「在哪跑、隔离多强」。</text>
|
||||
|
||||
<!-- 脚注 -->
|
||||
<text x="40" y="844" class="mut xs">映射:docs/architecture/架构/生成引擎/agentic运行时架构图说.md 图3(运行时内部·双轴注入)+ 图8(类图 WorkspaceBase)· agentic运行时架构图说.md §运行时形态 · agentic运行时架构图说.md §3(environment 层·载体=Workspace·D5 沙箱底座待验)· agentscope 2.0.2 源码(_agent.py:104 offloader / _toolkit.py:27 get_toolkit / workspace/_base.py:36 三实现)| 状态:现(官方 AgentScope 现成件)/ 建(tier2 注入工具集 + D5 沙箱底座选型)/ 缓(E2B 远端强隔离=更长期层)| 设计变动须同步本图</text>
|
||||
<text x="40" y="844" class="mut xs">映射:docs/architecture/架构/生成引擎/agentic运行时架构图说.md 图3(运行时内部·双轴注入)+ 图8(类图 WorkspaceBase)· agentic运行时架构图说.md §运行时形态 · agentic运行时架构图说.md §3(environment 层·载体=Workspace·D5 沙箱底座待验)· agentscope 2.0.3 源码(_agent.py:104 offloader / _toolkit.py:27 get_toolkit / workspace/_base.py:36 三实现)| 状态:现(官方 AgentScope 现成件)/ 建(tier2 注入工具集 + D5 沙箱底座选型)/ 缓(E2B 远端强隔离=更长期层)| 设计变动须同步本图</text>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
@ -13,11 +13,11 @@
|
||||
</defs>
|
||||
<rect x="0" y="0" width="1480" height="940" fill="#f8fafc"/>
|
||||
<text x="40" y="38" class="t h1">图 A4 · Middleware 洋葱(横切关注点挂载点)(族 A)</text>
|
||||
<text x="40" y="60" class="mut sm">AgentScope 2.0.2 的 MiddlewareBase 在 Agent 执行的若干钩子上层层拦截(洋葱式);tier2 把成本刹车 / 硬熔断 / 可观测统一挂在这套洋葱上,不另起机制、不散落进业务逻辑。</text>
|
||||
<text x="40" y="60" class="mut sm">AgentScope 2.0.3 的 MiddlewareBase 在 Agent 执行的若干钩子上层层拦截(洋葱式);tier2 把成本刹车 / 硬熔断 / 可观测统一挂在这套洋葱上,不另起机制、不散落进业务逻辑。</text>
|
||||
|
||||
<!-- 状态约定条 -->
|
||||
<rect x="40" y="74" width="1400" height="46" rx="9" fill="#f5f3ff" stroke="#7c3aed" stroke-width="1.5"/>
|
||||
<text x="58" y="98" class="t sm">整图状态 = 建:tier2 整轨待 0号 spike 验证、尚未落代码;洋葱 hook 机制(MiddlewareBase 5 钩子,AgentScope 2.0.2 源码已核)可信。</text>
|
||||
<text x="58" y="98" class="t sm">整图状态 = 建:tier2 整轨待 0号 spike 验证、尚未落代码;洋葱 hook 机制(MiddlewareBase 5 钩子,AgentScope 2.0.3 源码已核)可信。</text>
|
||||
<text x="58" y="114" class="mut xs">实线 = 承袭现行已落(官方 ReplyBudgetControlMiddleware 软刹 / 官方 TracingMiddleware 观测 / D12 治理门);虚线(stroke-dasharray 6 4)= tier2 专属待建(硬熔断三件做成 MiddlewareBase 子类)。</text>
|
||||
|
||||
<!-- ============ 左:洋葱本体(同心环) ============ -->
|
||||
@ -61,7 +61,7 @@
|
||||
<text x="730" y="200" class="box">① 官方 ReplyBudgetControlMiddleware · 预算软刹</text>
|
||||
<rect x="730" y="210" width="48" height="20" rx="5" fill="#16a34a"/><text x="754" y="224" class="bj" text-anchor="middle">成本</text>
|
||||
<rect x="784" y="210" width="60" height="20" rx="5" fill="#15803d"/><text x="814" y="224" class="bj" text-anchor="middle">现成·实线</text>
|
||||
<text x="858" y="225" class="mut xs">挂 on_reply + on_reasoning;AgentScope 2.0.2 自带,直接用。</text>
|
||||
<text x="858" y="225" class="mut xs">挂 on_reply + on_reasoning;AgentScope 2.0.3 自带,直接用。</text>
|
||||
<text x="730" y="252" class="t sm">on_reply 里按 ModelCallEndEvent 累计加权 token → 越阈值后,</text>
|
||||
<text x="730" y="274" class="t sm">on_reasoning 里注入收尾提示 + 强制 tool_choice=none 让它收尾。</text>
|
||||
<text x="730" y="298" class="mut xs">只数 token、不换算金额、更不硬拒 —— 刹不住一个已经在烧钱的失控循环(见 B3)。</text>
|
||||
@ -91,7 +91,7 @@
|
||||
<text x="730" y="540" class="box">③ 官方 TracingMiddleware · 可观测</text>
|
||||
<rect x="730" y="550" width="60" height="20" rx="5" fill="#0ea5e9"/><text x="760" y="564" class="bj" text-anchor="middle">可观测</text>
|
||||
<rect x="796" y="550" width="60" height="20" rx="5" fill="#15803d"/><text x="826" y="564" class="bj" text-anchor="middle">现成·实线</text>
|
||||
<text x="870" y="565" class="mut xs">挂 on_reply / on_model_call / on_acting;AgentScope 2.0.2 自带。</text>
|
||||
<text x="870" y="565" class="mut xs">挂 on_reply / on_model_call / on_acting;AgentScope 2.0.3 自带。</text>
|
||||
<text x="730" y="592" class="t sm">把 typed Event 流(ThinkingBlock / ToolCall / ModelCallStart/End …)转成 OpenTelemetry span。</text>
|
||||
<text x="730" y="616" class="mut xs">直接调真 OTel SDK → 汇进 AgentScope Studio 可视化;tier2 再加一层 adapter 映射进统一 trace 契约(见 H2)。</text>
|
||||
<text x="730" y="636" class="mut xs">tier2 写轨迹不必自己埋点 —— 复用这条官方 Event→OTel 管道。</text>
|
||||
@ -100,7 +100,7 @@
|
||||
<rect x="40" y="666" width="640" height="110" rx="10" fill="#f0fdf4" stroke="#16a34a" stroke-width="1.6"/>
|
||||
<text x="58" y="694" class="t sm" font-weight="700">洋葱 = tier2 横切关注点的统一挂载点</text>
|
||||
<text x="58" y="718" class="mut xs">成本(软刹 / ¥ 硬闸)· 超时 · 卡死 · 观测 全挂同一套洋葱,</text>
|
||||
<text x="58" y="738" class="mut xs">不散落进业务逻辑、不另立机制 —— 这是 2.0.2 给的扩展点。</text>
|
||||
<text x="58" y="738" class="mut xs">不散落进业务逻辑、不另立机制 —— 这是 2.0.3 给的扩展点。</text>
|
||||
<text x="58" y="760" class="mut xs">三层成本强制:worker 本地预测先闸 → D12 网关配额二闸 → 任务 deadline 三闸。</text>
|
||||
|
||||
<!-- 关系:洋葱 → D12 (已有件·实线) -->
|
||||
@ -111,6 +111,6 @@
|
||||
<text x="730" y="762" class="mut xs">D12 现只覆盖 SAA;tier2 接入的入口 / 预算扣减 / 并发释放 / 失败补偿待补(D12 边界,见集成架构 §D12)。</text>
|
||||
|
||||
<!-- 脚注 -->
|
||||
<text x="40" y="812" class="mut xs">映射:docs/architecture/架构/生成引擎/agentic运行时架构图说.md §5.2 控制面(含 D12 治理门:on_model_call / ModelCallEndEvent 软刹缺口与自建硬熔断)· §建设五步第三步「成本强制」· agentscope 2.0.2 源码 middleware/_base.py(4 onion + 1 transformer 钩子)· _budget.py(软刹机制)· _tracing/_trace.py(Event→OTel)| 状态:建(tier2 待建·洋葱 hook 2.0.2 已核;软刹 / trace 官方现成,硬熔断自建)| 设计变动须同步本图</text>
|
||||
<text x="40" y="812" class="mut xs">映射:docs/architecture/架构/生成引擎/agentic运行时架构图说.md §5.2 控制面(含 D12 治理门:on_model_call / ModelCallEndEvent 软刹缺口与自建硬熔断)· §建设五步第三步「成本强制」· agentscope 2.0.3 源码 middleware/_base.py(4 onion + 1 transformer 钩子)· _budget.py(软刹机制)· _tracing/_trace.py(Event→OTel)| 状态:建(tier2 待建·洋葱 hook 2.0.3 已核;软刹 / trace 官方现成,硬熔断自建)| 设计变动须同步本图</text>
|
||||
<text x="40" y="832" class="mut xs">(放大总览图 8 关键类图的 MiddlewareBase 一支:ReplyBudgetControlMiddleware 现成,TimeoutMiddleware / StuckDetectMiddleware 自建 —— 本图把它们各自挂哪个钩子、做什么逐项展开,不重画类图。)</text>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
@ -42,7 +42,7 @@
|
||||
<rect x="40" y="312" width="236" height="118" rx="10" fill="#fff" stroke="#64748b" stroke-width="1.5" stroke-dasharray="6 4"/>
|
||||
<text x="58" y="340" class="box">tier2 · 自治富游戏</text>
|
||||
<rect x="58" y="352" width="48" height="20" rx="5" fill="#7c3aed"/><text x="82" y="366" class="bj" text-anchor="middle">待建</text>
|
||||
<text x="58" y="394" class="mut xs">单写 ReAct(AgentScope 2.0.2)</text>
|
||||
<text x="58" y="394" class="mut xs">单写 ReAct(AgentScope 2.0.3)</text>
|
||||
<text x="58" y="412" class="mut xs">读配置/写轨迹已设计 · 过门待接</text>
|
||||
|
||||
<!-- ============ 控制面/管理面 容器 ============ -->
|
||||
|
||||
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
@ -20,7 +20,7 @@
|
||||
<!-- 状态约定条 -->
|
||||
<rect x="40" y="74" width="1400" height="62" rx="9" fill="#f5f3ff" stroke="#7c3aed" stroke-width="1.5"/>
|
||||
<text x="58" y="98" class="t sm">整图状态 = 现(官方软刹现成)+ 建(硬熔断 + 三层强制自建待落)。tier2 整轨待 0号 spike 验证、尚未落代码。</text>
|
||||
<text x="58" y="116" class="mut xs">实线 = 现行已落(官方 AgentScope 2.0.2 ReplyBudgetControlMiddleware / D12 运行治理门 / new-api 计费平面);虚线(stroke-dasharray 6 4)= tier2 专属待建机制(预算 Middleware 硬熔断 / 三层强制闸)。</text>
|
||||
<text x="58" y="116" class="mut xs">实线 = 现行已落(官方 AgentScope 2.0.3 ReplyBudgetControlMiddleware / D12 运行治理门 / new-api 计费平面);虚线(stroke-dasharray 6 4)= tier2 专属待建机制(预算 Middleware 硬熔断 / 三层强制闸)。</text>
|
||||
<text x="58" y="132" class="mut xs">徽章:成本(#16a34a)=预算核算面 · 安全(#dc2626)=fail-closed 截断面。</text>
|
||||
|
||||
<!-- ============ 上半:软刹 vs 硬熔断 两框对照 ============ -->
|
||||
@ -30,7 +30,7 @@
|
||||
<rect x="40" y="178" width="688" height="262" rx="11" fill="#fff" stroke="#334155" stroke-width="1.6"/>
|
||||
<text x="58" y="208" class="box">官方软刹 · ReplyBudgetControlMiddleware</text>
|
||||
<rect x="58" y="220" width="48" height="20" rx="5" fill="#334155"/><text x="82" y="234" class="bj" text-anchor="middle">现成</text>
|
||||
<rect x="114" y="220" width="170" height="20" rx="5" fill="#16a34a"/><text x="199" y="234" class="bj" text-anchor="middle">AgentScope 2.0.2 自带</text>
|
||||
<rect x="114" y="220" width="170" height="20" rx="5" fill="#16a34a"/><text x="199" y="234" class="bj" text-anchor="middle">AgentScope 2.0.3 自带</text>
|
||||
<text x="58" y="264" class="t sm">机制:累计加权 token 到阈值后 —</text>
|
||||
<text x="58" y="288" class="mut xs">① 往 Agent 上下文注入一句提示(「别再调工具、收尾」);</text>
|
||||
<text x="58" y="310" class="mut xs">② 把下一步 <tspan class="mono">tool_choice</tspan> 强制成 <tspan class="mono">none</tspan>,逼它结束。</text>
|
||||
|
||||
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
@ -62,7 +62,7 @@
|
||||
<!-- tier2 态:虚线(待建) -->
|
||||
<rect x="60" y="520" width="280" height="288" rx="10" fill="#fff" stroke="#64748b" stroke-width="1.4" stroke-dasharray="6 4"/>
|
||||
<text x="78" y="548" class="lbl">tier2 富游戏档(核心已落 · fork 起步)</text>
|
||||
<text x="78" y="572" class="t sm">max_iters 放开(2.0.2 默认 20)</text>
|
||||
<text x="78" y="572" class="t sm">max_iters 放开(2.0.3 默认 20)</text>
|
||||
<text x="78" y="592" class="mut xs">把多轮自治从外层 repair 循环</text>
|
||||
<text x="78" y="608" class="mut xs">搬进 Agent 内部 ReAct 循环</text>
|
||||
<!-- tier2 内循环示意 -->
|
||||
@ -77,7 +77,7 @@
|
||||
<line x1="64" y1="646" x2="82" y2="646" stroke="#64748b" stroke-width="1.4" stroke-dasharray="6 4" marker-end="url(#ahd)"/>
|
||||
<text x="200" y="748" class="mut xs" text-anchor="middle">无状态 Agent(统一 Agent 类)</text>
|
||||
<text x="200" y="766" class="mut xs" text-anchor="middle">reasoning-acting 循环内建驱动</text>
|
||||
<rect x="78" y="780" width="244" height="20" rx="5" fill="#7c3aed"/><text x="200" y="794" class="bj" text-anchor="middle">独立锁 AgentScope 2.0.2 · 独立演进</text>
|
||||
<rect x="78" y="780" width="244" height="20" rx="5" fill="#7c3aed"/><text x="200" y="794" class="bj" text-anchor="middle">独立锁 AgentScope 2.0.3 · 独立演进</text>
|
||||
|
||||
<!-- ============ 中:ReAct 一轮(核心) ============ -->
|
||||
<text x="700" y="184" class="lbl" text-anchor="middle">ReAct 一轮(想一步 · 调一个工具 · 看结果)</text>
|
||||
|
||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@ -16,7 +16,7 @@
|
||||
|
||||
<!-- 状态约定条:整图待建 -->
|
||||
<rect x="40" y="74" width="1400" height="46" rx="9" fill="#f5f3ff" stroke="#7c3aed" stroke-width="1.5"/>
|
||||
<text x="58" y="98" class="t sm">整图状态 = 建:tier2 整轨待 0号 spike 验证、尚未落代码;接法本身(官方 AnthropicChatModel,AgentScope 2.0.2 源码已核)可信。</text>
|
||||
<text x="58" y="98" class="t sm">整图状态 = 建:tier2 整轨待 0号 spike 验证、尚未落代码;接法本身(官方 AnthropicChatModel,AgentScope 2.0.3 源码已核)可信。</text>
|
||||
<text x="58" y="114" class="mut xs">实线 = 现行已落(new-api 计费平面 / NEWAPI_KEY 出口);虚线(stroke-dasharray 6 4)= tier2 专属待建机制(M3 原生接法、thinking 分离、工具循环)。</text>
|
||||
|
||||
<!-- ============ 主链路(横向) ============ -->
|
||||
@ -25,13 +25,13 @@
|
||||
<text x="58" y="190" class="box">tier2 agent</text>
|
||||
<rect x="58" y="202" width="58" height="20" rx="5" fill="#7c3aed"/><text x="87" y="216" class="bj" text-anchor="middle">待建</text>
|
||||
<text x="58" y="244" class="mut xs">单写 ReAct agent</text>
|
||||
<text x="58" y="262" class="mut xs">(AgentScope 2.0.2)</text>
|
||||
<text x="58" y="262" class="mut xs">(AgentScope 2.0.3)</text>
|
||||
|
||||
<!-- ② AnthropicChatModel -->
|
||||
<rect x="318" y="160" width="268" height="120" rx="10" fill="#fff" stroke="#64748b" stroke-width="1.5" stroke-dasharray="6 4"/>
|
||||
<text x="336" y="190" class="box">AnthropicChatModel</text>
|
||||
<rect x="336" y="202" width="58" height="20" rx="5" fill="#7c3aed"/><text x="365" y="216" class="bj" text-anchor="middle">待建</text>
|
||||
<text x="336" y="244" class="mut xs">AgentScope 2.0.2 官方模型类</text>
|
||||
<text x="336" y="244" class="mut xs">AgentScope 2.0.3 官方模型类</text>
|
||||
<text x="336" y="262" class="mut xs">构造不传 formatter → 自动配对</text>
|
||||
<text x="336" y="278" class="mut xs mono">AnthropicChatFormatter</text>
|
||||
|
||||
@ -80,7 +80,7 @@
|
||||
<text x="531" y="396" class="t sm mono">thinking_enable / thinking_budget</text>
|
||||
<text x="531" y="424" class="mut xs">硬约束:max_tokens > thinking_budget</text>
|
||||
<text x="531" y="444" class="mut xs">budget 缺省取 max_tokens 的一半。</text>
|
||||
<text x="531" y="466" class="mut xs">若 budget ≥ max_tokens:2.0.2 自动把</text>
|
||||
<text x="531" y="466" class="mut xs">若 budget ≥ max_tokens:2.0.3 自动把</text>
|
||||
<text x="531" y="486" class="mut xs">max_tokens 抬到 budget+1024 — 别依赖兜底,显式设对。</text>
|
||||
|
||||
<!-- 要点③ 完整 response/历史保留 -->
|
||||
@ -107,5 +107,5 @@
|
||||
<text x="58" y="752" class="mut xs">不论走哪条端点,计量都收口到 new-api 的 quota 口径(per-model 折¥)— 一个计费平面,成本可对账。</text>
|
||||
|
||||
<!-- 脚注 -->
|
||||
<text x="40" y="804" class="mut xs">映射:docs/architecture/架构/生成引擎/agentic运行时架构图说.md §模型矩阵与样本量(M3 行接法说明)· 项目记忆 m3-agentic-anthropic-protocol(Anthropic 原生 thinking + 工具循环)| 状态:建(M3 接法走官方 AnthropicChatModel,AgentScope 2.0.2 已核)| 设计变动须同步本图</text>
|
||||
<text x="40" y="804" class="mut xs">映射:docs/architecture/架构/生成引擎/agentic运行时架构图说.md §模型矩阵与样本量(M3 行接法说明)· 项目记忆 m3-agentic-anthropic-protocol(Anthropic 原生 thinking + 工具循环)| 状态:建(M3 接法走官方 AnthropicChatModel,AgentScope 2.0.3 已核)| 设计变动须同步本图</text>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 8.9 KiB |
@ -26,7 +26,7 @@
|
||||
<text x="58" y="254" class="gate">① 步数硬顶 · 防靠运气擦边</text>
|
||||
<text x="58" y="282" class="t sm">每系统 build-修复步数上限;整局 ≤ max_iters</text>
|
||||
<text x="58" y="312" class="mut xs">建议★ 单系统 ≤ 8 轮、整局 ≤ 40 轮;超 max_iters 即判不收敛</text>
|
||||
<text x="58" y="332" class="mut xs">走 AgentScope ReActConfig.max_iters(2.0.2 默认 20,tier2 放开)</text>
|
||||
<text x="58" y="332" class="mut xs">走 AgentScope ReActConfig.max_iters(2.0.3 默认 20,tier2 放开)</text>
|
||||
<text x="58" y="352" class="mut xs">防模型靠多轮反复试错把门擦边混过,而非真收敛</text>
|
||||
<rect x="58" y="370" width="42" height="22" rx="5" fill="#16a34a"/><text x="79" y="385" class="bj" text-anchor="middle">可靠</text>
|
||||
<rect x="108" y="370" width="42" height="22" rx="5" fill="#16a34a"/><text x="129" y="385" class="bj" text-anchor="middle">成本</text>
|
||||
|
||||
|
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 8.1 KiB |
@ -20,7 +20,7 @@
|
||||
<!-- 状态约定条 -->
|
||||
<rect x="40" y="74" width="1400" height="58" rx="10" fill="#f5f3ff" stroke="#7c3aed" stroke-width="1.6"/>
|
||||
<text x="58" y="100" class="t sm">整图状态 = 建·核心已落(范式承 A-model 已落 / tier2 fork 演进、0 号 spike 已 accept)。</text>
|
||||
<text x="58" y="120" class="mut xs">实线 = 现行已落(wg1 studio.py 单轮 + repair · amodel-gen 多轮 JS harness,均 working reference);虚线 = tier2 专属、待建(Python·AgentScope 2.0.2 多轮自治造 Phaser 富游戏)。</text>
|
||||
<text x="58" y="120" class="mut xs">实线 = 现行已落(wg1 studio.py 单轮 + repair · amodel-gen 多轮 JS harness,均 working reference);虚线 = tier2 专属、待建(Python·AgentScope 2.0.3 多轮自治造 Phaser 富游戏)。</text>
|
||||
<rect x="1322" y="86" width="100" height="22" rx="5" fill="#15803d"/><text x="1372" y="101" class="bj" text-anchor="middle">质量</text>
|
||||
|
||||
<!-- 三态演进带 -->
|
||||
@ -52,7 +52,7 @@
|
||||
<rect x="1024" y="182" width="416" height="190" rx="10" fill="#faf5ff" stroke="#7c3aed" stroke-width="1.8" stroke-dasharray="6 4"/>
|
||||
<text x="1042" y="210" class="gate">③ tier2 · Phaser 富游戏</text>
|
||||
<rect x="1300" y="194" width="124" height="20" rx="5" fill="#7c3aed"/><text x="1362" y="208" class="bj" text-anchor="middle">tier2 待建(虚线)</text>
|
||||
<text x="1042" y="236" class="t sm">Python · AgentScope 2.0.2 多轮自治</text>
|
||||
<text x="1042" y="236" class="t sm">Python · AgentScope 2.0.3 多轮自治</text>
|
||||
<text x="1042" y="262" class="mut xs">放开 max_iters → Agent 内 ReAct 多轮</text>
|
||||
<text x="1042" y="282" class="mut xs">reason → act 写源 → 读 verdict → 再 reason</text>
|
||||
<text x="1042" y="302" class="mut xs">种子仍是 studio.py(Python)</text>
|
||||
@ -100,7 +100,7 @@
|
||||
<text x="58" y="640" class="t sm">边界说明 · fork 演进而非返工(2026-06-25 reframe 已收敛为三档统一 AgentScope,06-23 两线分立口径已被取代)</text>
|
||||
<text x="58" y="668" class="mut xs">复用躯干:tier2 复用 studio 那套多角色 prompt 与生成域(design / code / fix)的躯干,把「多轮」从外层 repair 循环搬进 Agent 内部 ReAct(max_iters 放开)。</text>
|
||||
<text x="58" y="690" class="mut xs">接法 A(七成已建)是接法 B(ReAct 自治)的躯干 evolve——是 fork 起步、独立演进、运行期零依赖现有 worker,不是推倒重来。</text>
|
||||
<text x="58" y="712" class="mut xs">种子归属:种子仍是 studio.py(Python · 框架接缝 6 符号在 2.0.2 兼容、版本钉级别);amodel-gen 只作 working reference(JS · 参照循环范式,不照搬)。</text>
|
||||
<text x="58" y="712" class="mut xs">种子归属:种子仍是 studio.py(Python · 框架接缝 6 符号在 2.0.3 兼容、版本钉级别);amodel-gen 只作 working reference(JS · 参照循环范式,不照搬)。</text>
|
||||
<text x="58" y="734" class="mut xs">重写面(≠平移):validate / run / prompt / roles 是 LittleJS 专属,按 Phaser 重写、工作量约等于 net-new——别被「6 符号兼容」误导成「整个 U2 是平移」。</text>
|
||||
<rect x="58" y="748" width="1364" height="44" rx="8" fill="#faf5ff" stroke="#7c3aed" stroke-width="1.3" stroke-dasharray="6 4"/>
|
||||
<text x="74" y="770" class="t xs">tier2 待建(虚线):amodel-gen 合并 dev/2.0.0 后,循环范式以合并后版本为参照系重取;多轮 ReAct / Workspace / Service 是 net-new 的真功夫(Phase B)。</text>
|
||||
|
||||
|
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.5 KiB |
@ -17,12 +17,12 @@
|
||||
</defs>
|
||||
<rect x="0" y="0" width="1480" height="940" fill="#f8fafc"/>
|
||||
<text x="40" y="38" class="t h1">图 E3 · prompt 两阶段角色(族 E)</text>
|
||||
<text x="40" y="60" class="mut sm">阶段 1 工作室设计用 Agent Team 多 agent 发散 + 专业分工;阶段 2 收敛到单写实现防并行写冲突。内部拓扑照 AgentScope 2.0.2 真 API 画。</text>
|
||||
<text x="40" y="60" class="mut sm">阶段 1 工作室设计用 Agent Team 多 agent 发散 + 专业分工;阶段 2 收敛到单写实现防并行写冲突。内部拓扑照 AgentScope 2.0.3 真 API 画。</text>
|
||||
|
||||
<!-- 状态约定条 -->
|
||||
<rect x="40" y="72" width="1400" height="56" rx="10" fill="#f1f5f9" stroke="#64748b" stroke-width="1.4" stroke-dasharray="6 4"/>
|
||||
<text x="58" y="98" class="t sm">整图状态 = 建:tier2 整轨待 0号 spike 验证、尚未落代码,故 tier2 专属新机制一律画虚线(待建);承袭现行已落的(九门 harness / A-model)画实线。</text>
|
||||
<text x="58" y="118" class="mut xs">虚线框 + 「建」小标 = tier2 待建;实线框 = 现行已落。Agent Team 与单写 ReAct 的内部拓扑均照 AgentScope 2.0.2 源码实证(/root/oss/agentscope 逐条核过)。</text>
|
||||
<text x="58" y="118" class="mut xs">虚线框 + 「建」小标 = tier2 待建;实线框 = 现行已落。Agent Team 与单写 ReAct 的内部拓扑均照 AgentScope 2.0.3 源码实证(/root/oss/agentscope 逐条核过)。</text>
|
||||
<!-- 维度徽章 -->
|
||||
<rect x="1196" y="40" width="58" height="20" rx="5" fill="#15803d"/><text x="1225" y="54" class="bj" text-anchor="middle">质量</text>
|
||||
<rect x="1262" y="40" width="86" height="20" rx="5" fill="#7c3aed"/><text x="1305" y="54" class="bj" text-anchor="middle">伸缩·多agent</text>
|
||||
@ -79,11 +79,11 @@
|
||||
<text x="778" y="204" class="t sm">worker 只拿到 TeamSay —— 只能把结果报回 leader。</text>
|
||||
<text x="778" y="228" class="t sm">禁止 worker 之间互评 / 互相喊话,所有协调都过 leader 这个中心。</text>
|
||||
<rect x="778" y="244" width="644" height="64" rx="8" fill="#fef2f2" stroke="#dc2626" stroke-width="1.3"/>
|
||||
<text x="794" y="268" class="t xs" font-weight="700">2.0.2 删掉了进程内的 MsgHub / pipeline。</text>
|
||||
<text x="794" y="268" class="t xs" font-weight="700">2.0.3 删掉了进程内的 MsgHub / pipeline。</text>
|
||||
<text x="794" y="290" class="mut xs">进程内多 agent 协作那套没有了,只剩部署态的 Agent Team(TeamCreate / AgentCreate / TeamSay)。</text>
|
||||
<rect x="778" y="320" width="160" height="22" rx="5" fill="#dc2626"/><text x="858" y="335" class="bj" text-anchor="middle">禁 worker 互喊话</text>
|
||||
<rect x="946" y="320" width="160" height="22" rx="5" fill="#7c3aed"/><text x="1026" y="335" class="bj" text-anchor="middle">只剩部署态 Agent Team</text>
|
||||
<text x="778" y="364" class="mut xs">工作室建在这套 Agent Team 上,不去找已不存在的 MsgHub。多 agent 边界照 2.0.2 源码核过,免照旧版资料踩坑。</text>
|
||||
<text x="778" y="364" class="mut xs">工作室建在这套 Agent Team 上,不去找已不存在的 MsgHub。多 agent 边界照 2.0.3 源码核过,免照旧版资料踩坑。</text>
|
||||
|
||||
<!-- ===== 阶段 2:单写实现 ===== -->
|
||||
<rect x="760" y="400" width="680" height="248" rx="12" fill="#faf5ff" stroke="#7c3aed" stroke-width="1.6" stroke-dasharray="6 4"/>
|
||||
@ -126,5 +126,5 @@
|
||||
<text x="58" y="714" class="mut xs">「单写者」专指阶段 2 写代码环节,不是整轨只一个 agent:阶段 1 设计用多 agent 要发散 + 专业分工,阶段 2 实现收敛到单写要防并行写冲突。</text>
|
||||
<text x="58" y="738" class="mut xs">承袭实线 = 九门 harness / A-model(现行已落,见 D2);tier2 专属新机制(Agent Team 星形 / 单写 ReAct 多轮)= 虚线待建,待 0号 spike 验证。</text>
|
||||
|
||||
<text x="40" y="922" class="mut xs">映射:agentic运行时架构图说.md §5.1 运行时形态(两阶段 · session 三路径)+ §5.3 单写者 ReAct | 状态:建(阶段1 Agent Team / 阶段2 单写,2.0.2 API 已核)| 设计变动须同步本图</text>
|
||||
<text x="40" y="922" class="mut xs">映射:agentic运行时架构图说.md §5.1 运行时形态(两阶段 · session 三路径)+ §5.3 单写者 ReAct | 状态:建(阶段1 Agent Team / 阶段2 单写,2.0.3 API 已核)| 设计变动须同步本图</text>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
@ -24,7 +24,7 @@
|
||||
<!-- 状态约定条:整图待建 -->
|
||||
<rect x="40" y="74" width="1400" height="46" rx="9" fill="#f5f3ff" stroke="#7c3aed" stroke-width="1.5"/>
|
||||
<text x="58" y="98" class="t sm">整图状态 = 建:tier2 整轨待 0号 spike 验证、尚未落代码;故 tier2 专属新机制(spike 门、五步路径、隐藏硬工作)一律画虚线。</text>
|
||||
<text x="58" y="114" class="mut xs">实线 = 承袭现行已落(AgentScope 2.0.2 官方件 / 便宜档 Tier0/1·LittleJS / L1 九门 / W-CH-α 渠道路);虚线(stroke-dasharray 6 4)= 待建;远期紫 = 远期不投核心循环(Cocos)。</text>
|
||||
<text x="58" y="114" class="mut xs">实线 = 承袭现行已落(AgentScope 2.0.3 官方件 / 便宜档 Tier0/1·LittleJS / L1 九门 / W-CH-α 渠道路);虚线(stroke-dasharray 6 4)= 待建;远期紫 = 远期不投核心循环(Cocos)。</text>
|
||||
|
||||
<!-- ====================== 左主干:五步纵列 ====================== -->
|
||||
<text x="40" y="156" class="t sm" font-weight="700">建设主干(纵向五步 · spike 门插在第二步与第三步之间)</text>
|
||||
@ -33,7 +33,7 @@
|
||||
<rect x="40" y="172" width="700" height="74" rx="10" fill="#fff" stroke="#64748b" stroke-width="1.5" stroke-dasharray="6 4"/>
|
||||
<rect x="58" y="186" width="78" height="20" rx="5" fill="#7c3aed"/><text x="97" y="200" class="bj" text-anchor="middle">第一步 · 建</text>
|
||||
<text x="148" y="201" class="box">搭 AgentScope、完成集成</text>
|
||||
<text x="58" y="228" class="mut xs">agent + 循环的运行时底座(统一 Agent 类 · max_iters 放开为 Agent 内 ReAct 多轮)。从 L2 studio 编排演进,非 L1 裸 openai 主线;tier2 独立锁 2.0.2、fork 起步。</text>
|
||||
<text x="58" y="228" class="mut xs">agent + 循环的运行时底座(统一 Agent 类 · max_iters 放开为 Agent 内 ReAct 多轮)。从 L2 studio 编排演进,非 L1 裸 openai 主线;tier2 独立锁 2.0.3、fork 起步。</text>
|
||||
|
||||
<!-- 第二步 -->
|
||||
<rect x="40" y="262" width="700" height="74" rx="10" fill="#fff" stroke="#64748b" stroke-width="1.5" stroke-dasharray="6 4"/>
|
||||
|
||||
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
@ -55,7 +55,7 @@
|
||||
<rect x="58" y="380" width="58" height="20" rx="5" fill="#15803d"/><text x="87" y="394" class="bj" text-anchor="middle">质量</text>
|
||||
<text x="126" y="395" class="t sm">≤ max_iters(<tspan class="star">★</tspan> 单系统 ≤ 8 轮 · 整局 ≤ 40 轮)</text>
|
||||
<text x="58" y="420" class="mut xs">来源:防靠运气擦边;超 max_iters 即判不收敛。</text>
|
||||
<text x="58" y="438" class="mut xs">对照第一步 AgentScope 2.0.2 ReActConfig.max_iters 默认 20;tier2 自治放开。</text>
|
||||
<text x="58" y="438" class="mut xs">对照第一步 AgentScope 2.0.3 ReActConfig.max_iters 默认 20;tier2 自治放开。</text>
|
||||
|
||||
<!-- ④ 长程一致性 -->
|
||||
<rect x="755" y="342" width="685" height="118" rx="9" fill="#fff" stroke="#64748b" stroke-width="1.4" stroke-dasharray="6 4"/>
|
||||
|
||||
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
@ -19,7 +19,7 @@
|
||||
|
||||
<!-- 状态约定条 -->
|
||||
<rect x="40" y="74" width="1290" height="46" rx="9" fill="#f5f3ff" stroke="#7c3aed" stroke-width="1.5"/>
|
||||
<text x="58" y="98" class="t sm">整图状态 = 建:tier2 整轨待 0号 spike 验证、尚未落代码。Event System / TracingMiddleware / OTel / Studio 是 AgentScope 2.0.2 官方现成件(源码已核),adapter 为自建。</text>
|
||||
<text x="58" y="98" class="t sm">整图状态 = 建:tier2 整轨待 0号 spike 验证、尚未落代码。Event System / TracingMiddleware / OTel / Studio 是 AgentScope 2.0.3 官方现成件(源码已核),adapter 为自建。</text>
|
||||
<text x="58" y="114" class="mut xs">实线 = 官方现成件 / 便宜档 Tier0/1·LittleJS 已落 / 已有件;虚线(stroke-dasharray 6 4)= tier2 专属待建机制(订阅事件流、adapter、统一 trace 契约位)。</text>
|
||||
|
||||
<!-- 可观测徽章 -->
|
||||
|
||||
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |