<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" 
  xmlns:content="http://purl.org/rss/1.0/modules/content/" 
  xmlns:dc="http://purl.org/dc/elements/1.1/" 
  xmlns:atom="http://www.w3.org/2005/Atom" 
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" 
  xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>Ai Gateway on Mark Zhu&#39;s Blog</title>
    <link>https://blog.mygraphql.com/en/tags/ai-gateway/</link>
    <description>Recent content in Ai Gateway on Mark Zhu&#39;s Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>labile.zhu@gmail.com (Mark Zhu)</managingEditor>
    <webMaster>labile.zhu@gmail.com (Mark Zhu)</webMaster>
    <copyright>Mark Zhu ©2026, All Rights Reserved</copyright>
    <lastBuildDate>Sat, 10 Jan 2026 03:12:15 +0800</lastBuildDate>
    
        <atom:link href="https://blog.mygraphql.com/en/tags/ai-gateway/index.xml" rel="self" type="application/rss+xml" />
    

      
      <item>
        <title>A First Look at Proxying MCP Traffic with Agentgateway</title>
        <link>https://blog.mygraphql.com/en/posts/ai/ai-devops/agent-gateway/agentgateway-mcp/</link>
        <pubDate>Sat, 10 Jan 2026 03:12:15 +0800</pubDate>
        <author>labile.zhu@gmail.com (Mark Zhu)</author>
        <atom:modified>Sat, 10 Jan 2026 03:12:15 +0800</atom:modified>
        <guid>https://blog.mygraphql.com/en/posts/ai/ai-devops/agent-gateway/agentgateway-mcp/</guid>
        <description>&lt;p&gt;&lt;img src=&#34;https://blog.mygraphql.com/en/posts/ai/ai-devops/agent-gateway/agentgateway-mcp/index.assets/logo.png&#34; alt=&#34;logo&#34;&gt;&lt;/p&gt;
&lt;p&gt;As a key protocol in the AI Agent ecosystem, MCP support is one of Agentgateway’s core capabilities. This article documents my experience and observations while proxying MCP traffic with Agentgateway. It is also a summary of lessons learned after spending several days debugging why my browser could not connect to the Agentgateway MCP endpoint.&lt;/p&gt;
&lt;p&gt;The official &lt;a href=&#34;https://agentgateway.dev/docs/&#34;&gt;Agentgateway documentation&lt;/a&gt; does describe how to configure MCP, but at the moment the content is fairly “hello world”–level. In practice, most of my exploration involved reading the Agentgateway source code and relevant standards, including specifications related to W3C and MCP. In some cases, I also had to use Chrome DevTools to debug JavaScript and network traffic.&lt;/p&gt;</description>
        
        <dc:creator>Mark Zhu</dc:creator>
        
        
        
        
          
            
              <category>ai</category>
            
          
            
              <category>ai gateway</category>
            
          
            
              <category>agentgateway</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Agentgateway Implementation Analysis Part 3 - Http Proxy</title>
        <link>https://blog.mygraphql.com/en/posts/ai/ai-devops/agent-gateway/agentgateway-impl-part3-http-proxy/</link>
        <pubDate>Thu, 25 Dec 2025 03:12:15 +0800</pubDate>
        <author>labile.zhu@gmail.com (Mark Zhu)</author>
        <atom:modified>Thu, 25 Dec 2025 03:12:15 +0800</atom:modified>
        <guid>https://blog.mygraphql.com/en/posts/ai/ai-devops/agent-gateway/agentgateway-impl-part3-http-proxy/</guid>
        <description>&lt;p&gt;&lt;img src=&#34;https://blog.mygraphql.com/en/posts/ai/ai-devops/agent-gateway/agentgateway-impl-part3-http-proxy/index.assets/book-cover-mockup.jpg&#34; alt=&#34;book-cover-mockup&#34;&gt;&lt;/p&gt;
&lt;p&gt;This article attempts to analyze the implementation details of the Http Proxy main flow in &lt;a href=&#34;https://github.com/agentgateway/agentgateway&#34;&gt;Agentgateway&lt;/a&gt;. It allows readers to understand the working principle and implementation method of Agentgateway as an Http Proxy at the L7 layer. Agentgateway is essentially an HTTP Proxy, but adds support for AI (LLM/MCP/A2A) stateful protocols on top of HTTP. Therefore, analyzing the main flow of the HTTP Proxy layer is analyzing the main flow of Agentgateway.&lt;/p&gt;</description>
        
        <dc:creator>Mark Zhu</dc:creator>
        
        
        
        
          
            
              <category>ai</category>
            
          
            
              <category>ai gateway</category>
            
          
            
              <category>agentgateway</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>AI Agent Bus Gateway agentgateway Implementation Analysis Part 2 - Service Lifecycle</title>
        <link>https://blog.mygraphql.com/en/posts/ai/ai-devops/agent-gateway/agentgateway-impl-part2-app-lifecycle/</link>
        <pubDate>Tue, 09 Sep 2025 03:12:15 +0800</pubDate>
        <author>labile.zhu@gmail.com (Mark Zhu)</author>
        <atom:modified>Tue, 09 Sep 2025 03:12:15 +0800</atom:modified>
        <guid>https://blog.mygraphql.com/en/posts/ai/ai-devops/agent-gateway/agentgateway-impl-part2-app-lifecycle/</guid>
        <description>&lt;p&gt;&lt;img src=&#34;https://blog.mygraphql.com/en/posts/ai/ai-devops/agent-gateway/agentgateway-impl-part2-app-lifecycle/index.assets/mr-bean.jpg&#34; alt=&#34;img&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;overview&#34;&gt;Overview&lt;/h2&gt;
&lt;p&gt;This article analyzes the source code of the AI Agent bus gateway &lt;a href=&#34;https://github.com/agentgateway/agentgateway&#34;&gt;agentgateway&lt;/a&gt; and attempts to explain the components and collaboration related to service lifecycle management. From the startup and initialization of each service component, port listening, to how service termination signals are propagated between components, and the implementation related to graceful service shutdown (Drain).&lt;/p&gt;
&lt;p&gt;Due to my limited understanding of Rust, especially the asynchronous programming style of tokio, please point out any errors or omissions.&lt;/p&gt;</description>
        
        <dc:creator>Mark Zhu</dc:creator>
        
        
        
        
          
            
              <category>ai</category>
            
          
            
              <category>ai gateway</category>
            
          
            
              <category>agentgateway</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Analysis of the AI Agent Bus Gateway &#39;agentgateway&#39; Implementation, Part 1</title>
        <link>https://blog.mygraphql.com/en/posts/ai/ai-devops/agent-gateway/agentgateway-impl/</link>
        <pubDate>Fri, 05 Sep 2025 03:12:15 +0800</pubDate>
        <author>labile.zhu@gmail.com (Mark Zhu)</author>
        <atom:modified>Fri, 05 Sep 2025 03:12:15 +0800</atom:modified>
        <guid>https://blog.mygraphql.com/en/posts/ai/ai-devops/agent-gateway/agentgateway-impl/</guid>
        <description>&lt;p&gt;&lt;img src=&#34;https://blog.mygraphql.com/en/posts/ai/ai-devops/agent-gateway/agentgateway-impl/index.assets/architecture.svg&#34; alt=&#34;图：agentgateway 代理 Agent 的对外连接，包括 MCP 服务器、AI Agent 和 OpenAPI&#34;&gt;&lt;br /&gt;
&lt;em&gt;Figure: agentgateway proxies the outbound connections of an Agent, including the MCP server, AI Agent, and OpenAPI&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;(source: &lt;a href=&#34;https://agentgateway.dev/docs/about/architecture/&#34;&gt;https://agentgateway.dev/docs/about/architecture/&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;overview&#34;&gt;Overview&lt;/h2&gt;
&lt;p&gt;This article analyzes the source code of &lt;a href=&#34;https://github.com/agentgateway/agentgateway&#34;&gt;agentgateway&lt;/a&gt; to provide a preliminary understanding of its main initialization process. It aims to offer a high-level reference and guidance for readers interested in diving deeper into the implementation of agentgateway.&lt;/p&gt;</description>
        
        <dc:creator>Mark Zhu</dc:creator>
        
        
        
        
          
            
              <category>ai</category>
            
          
            
              <category>ai gateway</category>
            
          
            
              <category>agentgateway</category>
            
          
        
        
        
      </item>
      

    
  </channel>
</rss>
