<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>Architecture - Tag - Simi Studio</title>
        <link>/en/tags/architecture/</link>
        <description>Architecture - Tag - Simi Studio</description>
        <generator>Hugo -- gohugo.io</generator><language>en</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="/en/tags/architecture/" rel="self" type="application/rss+xml" /><item>
    <title>Adaptive Thinking and Tiered Model Routing</title>
    <link>/en/posts/adaptive-thinking-model-routing/</link>
    <pubDate>Thu, 19 Nov 2026 21:15:00 &#43;0800</pubDate>
    <author>simi@simi.studio (Simi)</author>
    <guid>/en/posts/adaptive-thinking-model-routing/</guid>
    <description><![CDATA[<p>First-generation LLM routing was one-dimensional: send simple prompts to a small model, send hard prompts to a flagship model, or guess a static <code>budget_tokens</code> cap for reasoning. By late 2026—with Anthropic&rsquo;s <strong>Claude Haiku 5.5</strong> and <strong>Claude Fable 5.2</strong> supporting <strong>Adaptive Thinking</strong> plus <code>output_config.effort</code>, and Google&rsquo;s <strong>Gemini 4 Neon</strong> exposing four explicit thinking depths—production routing has become a <strong>two-dimensional policy: model tier × reasoning effort</strong>.</p>
<p>Output pricing now spans <strong>80x</strong> from Claude Haiku 5.5&rsquo;s short-prompt tier ($0.50/MTok for prompts ≤ 100,000 input tokens) to Claude Fable 5.2 ($40.00/MTok)—and <strong>16x</strong> once Haiku 5.5 crosses into its long-prompt tier ($2.50/MTok for &gt; 100,000 input tokens). Because internal reasoning tokens generated during adaptive thinking bill as <strong>output tokens</strong>, an unbounded retry loop or an accidental jump past 100K input tokens can quickly distort monthly spend.</p>]]></description>
</item>
<item>
    <title>Agent Router for LLM and MCP Traffic</title>
    <link>/en/posts/ai-gateway-architecture-guide/</link>
    <pubDate>Fri, 25 Sep 2026 16:20:00 &#43;0800</pubDate>
    <author>simi@simi.studio (Simi)</author>
    <guid>/en/posts/ai-gateway-architecture-guide/</guid>
    <description><![CDATA[<p>Two calls count equally against a request limit. One carries a long prompt. Which tenant exhausts the model budget first?</p>
<p>Conventional Layer-7 API gateways operate on URL paths, HTTP verbs, and requests-per-minute (RPM) counters—leaving gaps when token costs vary dramatically across calls, <a href="/en/posts/mcp-model-context-protocol/" rel="">MCP</a> traffic runs over JSON-RPC 2.0 plus streaming HTTP/SSE, and tool names collide across backend servers. On September 9, 2026, <strong>Envoy AI Gateway</strong> announced its transition to <a href="https://theagentrouter.ai/blog/envoy-ai-gateway-is-now-agent-router/" target="_blank" rel="noopener noreffer ">Agent Router</a> (joining the AAIF on September 10 under <a href="https://github.com/theagentrouter/agent-router" target="_blank" rel="noopener noreffer ">theagentrouter/agent-router</a>, while keeping backward compatibility for <code>aigateway.envoyproxy.io</code> and <code>aigw</code>), unifying LLM routing and MCP aggregation in <strong>v1.2</strong>.</p>]]></description>
</item>
<item>
    <title>A2A Protocol and MCP Architecture Guide</title>
    <link>/en/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>/en/posts/a2a-protocol-and-mcp-guide/</guid>
    <description><![CDATA[<p>A compliance agent accepts a review, then asks for supporting documents or extra authorization. Across separate teams and frameworks, how does the caller resume that Task and retrieve the final Artifact?</p>
<p>The <a href="https://a2a-protocol.org/latest/specification/" target="_blank" rel="noopener noreffer ">Agent2Agent (A2A) Protocol</a> defines that cross-boundary contract (introduced by Google in April 2025, transitioned to the Linux Foundation in June 2025, with v1.0 released in March 2026; separately, <a href="/en/posts/mcp-model-context-protocol/" rel="">MCP</a> joined the AAIF as a founding project in December 2025). Getting <strong>A2A v1.0.1</strong> right (<a href="https://a2a-protocol.org/v1.0.1/whats-new-v1/" target="_blank" rel="noopener noreffer ">What&rsquo;s New in v1</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>) comes down to separating A2A from MCP, validating v1 Agent Cards strictly, and handling resumable Task states cleanly.</p>]]></description>
</item>
<item>
    <title>Real-Time Voice Agent Interruption and Transport</title>
    <link>/en/posts/realtime-voice-agent-guide/</link>
    <pubDate>Thu, 17 Sep 2026 10:40:00 &#43;0800</pubDate>
    <author>simi@simi.studio (Simi)</author>
    <guid>/en/posts/realtime-voice-agent-guide/</guid>
    <description><![CDATA[<p>The model has stopped generating, but the speaker is still playing the rest of its sentence. To debug that interruption, track generation, playback, and conversation state separately.</p>
<p>With OpenAI&rsquo;s Realtime API (GA since August 28, 2025, <a href="https://developers.openai.com/api/docs/guides/realtime" target="_blank" rel="noopener noreffer ">Realtime Guide</a>) and Google&rsquo;s Gemini 3.8 Live (GA since September 15, 2026, <a href="https://aistudio.google.com/docs/live-api" target="_blank" rel="noopener noreffer ">Live API Docs</a>), native speech-to-speech sessions have replaced cascaded ASR → LLM → TTS pipelines. Shipping them reliably on web or mobile comes down to transport and audio alignment, ephemeral-token tool loops, and race-safe WebSocket barge-in handling.</p>]]></description>
</item>
<item>
    <title>OpenAI Responses API and Assistants Migration Guide</title>
    <link>/en/posts/openai-responses-api-migration/</link>
    <pubDate>Sun, 06 Sep 2026 11:15:00 &#43;0800</pubDate>
    <author>simi@simi.studio (Simi)</author>
    <guid>/en/posts/openai-responses-api-migration/</guid>
    <description><![CDATA[<p>Start the migration by finding every call site that relies on <code>assistant.instructions</code>. Chaining <code>previous_response_id</code> carries conversation context forward, while the application must resend top-level instructions on every turn.</p>
<p>On August 26, 2026, OpenAI shut down the legacy <strong>Assistants API</strong>, consolidating multi-turn inference and conversation state on the <strong>Responses API</strong> (<code>POST /v1/responses</code>) and <strong>Conversations API</strong> (see <a href="https://developers.openai.com/api/docs/guides/migrate-to-responses" target="_blank" rel="noopener noreffer ">Migration Guide</a> and <a href="https://developers.openai.com/api/docs/guides/conversation-state" target="_blank" rel="noopener noreffer ">Conversation State Guide</a>). A clean cutover comes down to mapping the old primitives, respecting ZDR and state boundaries, and parsing raw HTTP <code>output</code> Items and spend-limit errors accurately.</p>]]></description>
</item>
<item>
    <title>Harness Engineering for AI Agents</title>
    <link>/en/posts/harness-engineering/</link>
    <pubDate>Tue, 14 Apr 2026 10:00:00 &#43;0800</pubDate>
    <author>simi@simi.studio (Simi)</author>
    <guid>/en/posts/harness-engineering/</guid>
    <description><![CDATA[<p>Without an <a href="https://block.github.io/goose/" target="_blank" rel="noopener noreffer ">Agent Harness</a>, an AI Agent in charge of code review can look fine on day one, then forget yesterday&rsquo;s criteria, delete code because it &ldquo;looked unused,&rdquo; and quietly edit <code>config.yaml</code> with nobody asking. A week later the styles are inconsistent, the test suite is broken, and the Agent has gone off the rails for reasons nobody can explain.</p>
<p>The problem isn&rsquo;t the model. It&rsquo;s the <strong>runtime environment</strong>. What determines Agent reliability is the Harness, not the model version.</p>]]></description>
</item>
<item>
    <title>Multi-Agent Systems in Practice</title>
    <link>/en/posts/multi-agent-systems-guide/</link>
    <pubDate>Thu, 22 Jan 2026 15:30:00 &#43;0800</pubDate>
    <author>simi@simi.studio (Simi)</author>
    <guid>/en/posts/multi-agent-systems-guide/</guid>
    <description><![CDATA[<p>Not every scenario needs multiple Agents. <a href="https://microsoft.github.io/autogen/" target="_blank" rel="noopener noreffer ">Multi-Agent</a> is worth it when the work needs different expertise, parallel independent subtasks, or multi-party verification.</p>]]></description>
</item>
<item>
    <title>OpenClaw Architecture</title>
    <link>/en/posts/openclaw-architecture/</link>
    <pubDate>Fri, 10 Jan 2025 10:00:00 &#43;0800</pubDate>
    <author>simi@simi.studio (Simi)</author>
    <guid>/en/posts/openclaw-architecture/</guid>
    <description><![CDATA[<p>If you build a multi-channel AI assistant by spinning up a separate bot process for every messaging app, three problems show up fast: conversation context fragments across processes, local device capabilities (screenshots, shell access, location) become awkward to expose safely, and maintaining persistent platform sessions turns fragile. <a href="https://docs.openclaw.ai/" target="_blank" rel="noopener noreffer ">OpenClaw</a> takes the opposite approach—it consolidates all messaging channels, session state, scheduled jobs, and device nodes behind a single long-lived <strong>Gateway daemon</strong> per host, with the agent runtime embedded inside and external clients talking over one typed WebSocket protocol.</p>
<p>One principle explains almost every design choice in OpenClaw (Gateway Protocol v4): <strong>routing and personas can be split freely inside a Gateway, but the Gateway process itself is the minimum security trust boundary.</strong></p>]]></description>
</item>
<item>
    <title>AI Agent Architecture Patterns</title>
    <link>/en/posts/ai-agent-design-patterns/</link>
    <pubDate>Thu, 15 Aug 2024 10:00:00 &#43;0800</pubDate>
    <author>simi@simi.studio (Simi)</author>
    <guid>/en/posts/ai-agent-design-patterns/</guid>
    <description><![CDATA[<p><a href="https://www.anthropic.com/engineering/building-effective-agents" target="_blank" rel="noopener noreffer ">Building effective agents</a> splits agentic systems in two: workflows run LLMs and tools on predetermined code paths; agents let the model choose the next tool. Production systems in 2026 are still that split, plus a harness and memory the model can retrieve. If the steps can be written down, pick a graph. If they cannot, pick a loop. Multi-agent is not the default.</p>]]></description>
</item>
<item>
    <title>Microservices Design Patterns</title>
    <link>/en/posts/microservices-design-patterns/</link>
    <pubDate>Thu, 18 Jan 2024 15:25:05 &#43;0800</pubDate>
    <author>simi@simi.studio (Simi)</author>
    <guid>/en/posts/microservices-design-patterns/</guid>
    <description><![CDATA[<p>Microservices architecture has become a popular approach to software development in recent years. By breaking down a large monolithic application into smaller, independent services, teams can develop, test, and deploy independently. Designing a <a href="https://martinfowler.com/articles/microservices.html" target="_blank" rel="noopener noreffer ">microservices</a> architecture is still hard once distributed-system complexity shows up. That&rsquo;s where design patterns come in.</p>]]></description>
</item>
</channel>
</rss>
