<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>架构设计 - 标签 - Simi Studio</title>
        <link>/tags/%E6%9E%B6%E6%9E%84%E8%AE%BE%E8%AE%A1/</link>
        <description>架构设计 - 标签 - Simi Studio</description>
        <generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>simi@simi.studio (Simi)</managingEditor>
            <webMaster>simi@simi.studio (Simi)</webMaster><lastBuildDate>Thu, 19 Nov 2026 21:15:00 &#43;0800</lastBuildDate><atom:link href="/tags/%E6%9E%B6%E6%9E%84%E8%AE%BE%E8%AE%A1/" rel="self" type="application/rss+xml" /><item>
    <title>大模型自适应思考与分级路由实战</title>
    <link>/posts/adaptive-thinking-model-routing/</link>
    <pubDate>Thu, 19 Nov 2026 21:15:00 &#43;0800</pubDate>
    <author>simi@simi.studio (Simi)</author>
    <guid>/posts/adaptive-thinking-model-routing/</guid>
    <description><![CDATA[<p>早期多模型路由是一维的：简单任务给小模型，复杂任务给旗舰模型，或者给推理模型填一个静态 <code>budget_tokens</code>。到了 2026 年第四季度，Anthropic 在 10–11 月推出支持<strong>自适应思考（Adaptive Thinking）<strong>与 <code>output_config.effort</code> 的 <strong>Claude Haiku 5.5</strong> 和 <strong>Claude Fable 5.2</strong>，Google 于 11 月 18 日推出支持四档思考深度的 <strong>Gemini 4 Neon</strong>，生产级路由已经变成</strong>二维决策：「模型档位 × 思考深度」</strong>。</p>
<p>以输出单价看，Haiku 5.5 在单次提示 <code>≤ 100,000</code> 输入 token 时为每百万 Token $0.50、超过 100,000 输入 token 时升至 $2.50，对比 Fable 5.2 的 $40.00，<strong>两档价差分别为 80 倍与 16 倍</strong>；而且自适应思考产生的内部推理 Token 全部计入<strong>输出 Token</strong>。如果路由策略没有显式预算熔断与合法性校验，一次重试失控或跨过长提示阈值就足以打穿预算。本文基于截至 2026 年 11 月的官方 API 文档与定价，给出一套可直接落地的二维路由架构、带熔断的 TypeScript 策略实现与跨厂商适配清单。</p>]]></description>
</item>
<item>
    <title>AI 网关与 MCP 路由</title>
    <link>/posts/ai-gateway-architecture-guide/</link>
    <pubDate>Fri, 25 Sep 2026 16:20:00 &#43;0800</pubDate>
    <author>simi@simi.studio (Simi)</author>
    <guid>/posts/ai-gateway-architecture-guide/</guid>
    <description><![CDATA[<p>两条请求都记作一次调用，其中一条带着长上下文。如果只按每分钟请求数（RPM）限流，哪个租户先用完模型预算？</p>
<p>传统七层网关围绕 URL 路径、HTTP 方法和固定请求计数设计，面对 Token 开销悬殊的推理请求、基于 JSON-RPC 2.0 + 流式 HTTP/SSE 的 <a href="/posts/mcp-model-context-protocol/" rel="">MCP</a> 流量以及多后端工具撞名问题，很快就会力不从心。2026 年 9 月 9 日，<strong>Envoy AI Gateway</strong> 宣布更名为 <a href="https://theagentrouter.ai/blog/envoy-ai-gateway-is-now-agent-router/" target="_blank" rel="noopener noreffer ">Agent Router</a>（并于 9 月 10 日正式加入 AAIF，仓库迁移至 <a href="https://github.com/theagentrouter/agent-router" target="_blank" rel="noopener noreffer ">theagentrouter/agent-router</a>，保留 <code>aigateway.envoyproxy.io</code> API 组与 <code>aigw</code> CLI 兼容）。本文基于 <strong>Agent Router v1.2</strong> 官方文档，厘清各 CRD 职责、MCP 聚合路由与 A2A 预览边界。</p>]]></description>
</item>
<item>
    <title>A2A 协议与 MCP 协同架构实战</title>
    <link>/posts/a2a-protocol-and-mcp-guide/</link>
    <pubDate>Fri, 18 Sep 2026 14:30:00 &#43;0800</pubDate>
    <author>simi@simi.studio (Simi)</author>
    <guid>/posts/a2a-protocol-and-mcp-guide/</guid>
    <description><![CDATA[<p>合规 Agent 收到审查请求后，常常需要调用方补充材料或完成二次授权。跨团队、跨框架的两个独立 Agent 之间，调用方如何查询 Task 状态、补交材料并取回最终 Artifact？</p>
<p><a href="https://a2a-protocol.org/latest/specification/" target="_blank" rel="noopener noreffer ">Agent2Agent（A2A）协议</a> 正是为这类跨边界 Agent 协作设计的开放标准（由 Google 于 2025 年 4 月公布、2025 年 6 月移交 Linux Foundation 托管，并在 2026 年 3 月发布 v1.0；而 <a href="/posts/mcp-model-context-protocol/" rel="">MCP</a> 则于 2025 年 12 月作为创始贡献项目加入 AAIF）。本文以 <strong>A2A v1.0.1</strong> 为技术锚点，结合官方 <a href="https://a2a-protocol.org/v1.0.1/whats-new-v1/" target="_blank" rel="noopener noreffer ">v1.0 变更说明</a> 与 <a href="https://a2a-protocol.org/v1.0.1/topics/life-of-a-task/" target="_blank" rel="noopener noreffer ">Life of a Task</a>，梳理 A2A 与 MCP 的正交分工、v1 Agent Card 发现校验与规范 Task 状态机。</p>]]></description>
</item>
<item>
    <title>实时语音 Agent 的打断与建连</title>
    <link>/posts/realtime-voice-agent-guide/</link>
    <pubDate>Thu, 17 Sep 2026 10:40:00 &#43;0800</pubDate>
    <author>simi@simi.studio (Simi)</author>
    <guid>/posts/realtime-voice-agent-guide/</guid>
    <description><![CDATA[<p>用户一开口，模型已经停止生成，扬声器却还在播上一句话。排查这个问题，要分别看服务端响应、本地播放队列和对话里保留的音频状态。</p>
<p>随着 OpenAI Realtime API（2025 年 8 月 28 日 GA）与 Google Gemini 3.8 Live（2026 年 9 月 15 日 GA）成熟，原生端到端语音接口已经取代了「ASR → LLM → TTS」串联管线。本文基于截至 2026 年 11 月的 <a href="https://aistudio.google.com/docs/live-api" target="_blank" rel="noopener noreffer ">Gemini Live API 文档</a> 与 <a href="https://developers.openai.com/api/docs/guides/realtime" target="_blank" rel="noopener noreffer ">OpenAI Realtime API 文档</a>，聚焦实际落地中最容易出错的四个环节：音频格式与传输差异、短期令牌建连与工具闭环，以及 WebSocket 场景下防竞态的打断截断控制器。</p>]]></description>
</item>
<item>
    <title>OpenAI Responses API 实战与 Assistants 迁移指南</title>
    <link>/posts/openai-responses-api-migration/</link>
    <pubDate>Sun, 06 Sep 2026 11:15:00 &#43;0800</pubDate>
    <author>simi@simi.studio (Simi)</author>
    <guid>/posts/openai-responses-api-migration/</guid>
    <description><![CDATA[<p>迁移时先找所有依赖 <code>assistant.instructions</code> 的调用点。把上一轮 <code>response.id</code> 接上以后，系统指令不会自动继承，必须由应用在下一轮重新传入。</p>
<p>2026 年 8 月 26 日，OpenAI 正式关停了旧版 <strong>Assistants API</strong>，将多轮推理与会话状态统一收口到 <strong>Responses API</strong>（<code>POST /v1/responses</code>）与 <strong>Conversations API</strong>。本文基于截至 2026 年 11 月的 <a href="https://developers.openai.com/api/docs/guides/migrate-to-responses" target="_blank" rel="noopener noreffer ">OpenAI Responses 迁移指南</a> 与 <a href="https://developers.openai.com/api/docs/guides/conversation-state" target="_blank" rel="noopener noreffer ">Conversation State 文档</a>，梳理原语映射、状态与 ZDR 边界、新模型工具传输前提，以及对齐原始 HTTP 协议的 TypeScript 错误分类与退避示例。</p>]]></description>
</item>
</channel>
</rss>
