<?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 on Mark Zhu&#39;s Blog</title>
    <link>https://blog.mygraphql.com/en/tags/ai/</link>
    <description>Recent content in Ai 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>Wed, 13 May 2026 23:12:15 +0800</lastBuildDate>
    
        <atom:link href="https://blog.mygraphql.com/en/tags/ai/index.xml" rel="self" type="application/rss+xml" />
    

      
      <item>
        <title>Kanban - A Multi-Agent Collaboration Design Pattern</title>
        <link>https://blog.mygraphql.com/en/posts/ai/aiagent-design/kanban-multi-agent-collaboration/</link>
        <pubDate>Wed, 13 May 2026 23:12:15 +0800</pubDate>
        <author>labile.zhu@gmail.com (Mark Zhu)</author>
        <atom:modified>Wed, 13 May 2026 23:12:15 +0800</atom:modified>
        <guid>https://blog.mygraphql.com/en/posts/ai/aiagent-design/kanban-multi-agent-collaboration/</guid>
        <description>&lt;p&gt;&lt;img src=&#34;https://blog.mygraphql.com/en/posts/ai/aiagent-design/kanban-multi-agent-collaboration/index.assets/logo.png&#34; alt=&#34;image-20260513220048964&#34;&gt;&lt;/p&gt;
&lt;p&gt;This article uses the example of generating a modern, technology-themed Mr. Bean TV episode script based on current global events to demonstrate the Kanban-based multi-agent collaboration design pattern. The article uses Hermes Agent, but the same approach can also be applied to other agent frameworks or even your own custom agents.&lt;/p&gt;
&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;For complex AI tasks, the question is no longer whether multiple agents should collaborate, but how to make multi-agent collaboration work effectively.&lt;/p&gt;</description>
        
        <dc:creator>Mark Zhu</dc:creator>
        
        
        
        
          
            
              <category>ai</category>
            
          
            
              <category>ai-agent</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>OpenClaw Egress Traffic Control — A New Security Market for AI Agents</title>
        <link>https://blog.mygraphql.com/en/posts/ai/antivirus-for-ai-agents/</link>
        <pubDate>Tue, 24 Feb 2026 03:12:15 +0800</pubDate>
        <author>labile.zhu@gmail.com (Mark Zhu)</author>
        <atom:modified>Tue, 24 Feb 2026 03:12:15 +0800</atom:modified>
        <guid>https://blog.mygraphql.com/en/posts/ai/antivirus-for-ai-agents/</guid>
        <description>&lt;p&gt;&lt;img src=&#34;https://blog.mygraphql.com/en/posts/ai/antivirus-for-ai-agents/index.assets/logo.png&#34; alt=&#34;logo&#34;&gt;&lt;/p&gt;
&lt;p&gt;AI Agents are evolving from tools into autonomous executors, yet our security models still operate at the level of permissions and resource access. The real risk is no longer resource access — it is &lt;em&gt;intent generation and path drift&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;This article shares a proof-of-concept experiment using &lt;strong&gt;cgroup + TProxy + TLS SNI&lt;/strong&gt; to explore a possible enhancement path for AI security. The next wave of the security market may be built around what I call &lt;strong&gt;Intent Security&lt;/strong&gt;. The rise of AI Agents could mark the beginning of a new security cycle.&lt;/p&gt;</description>
        
        <dc:creator>Mark Zhu</dc:creator>
        
        
        
        
          
            
              <category>ai</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Intelligent Orchestrating the Home Lab and Smart Home by OpenClaw</title>
        <link>https://blog.mygraphql.com/en/posts/ai/ai-personal-assistant/openclaw-as-home-lab-admin/</link>
        <pubDate>Fri, 13 Feb 2026 03:12:15 +0800</pubDate>
        <author>labile.zhu@gmail.com (Mark Zhu)</author>
        <atom:modified>Fri, 13 Feb 2026 03:12:15 +0800</atom:modified>
        <guid>https://blog.mygraphql.com/en/posts/ai/ai-personal-assistant/openclaw-as-home-lab-admin/</guid>
        <description>&lt;p&gt;&lt;img src=&#34;https://blog.mygraphql.com/en/posts/ai/ai-personal-assistant/openclaw-as-home-lab-admin/index.assets/logo.png&#34; alt=&#34;logo.png&#34;&gt;&lt;/p&gt;
&lt;p&gt;This article demonstrates how OpenClaw Skills can orchestrate Home Lab and Smart Home intelligently. By encapsulating infrastructure knowledge, monitoring systems, ann automation APIs to structured Skills. An AI agent can troubleshooting servers, visualize operations by smart lights, and deliver a summarized real time web news through smart speaker.&lt;/p&gt;
&lt;h2 id=&#34;background&#34;&gt;Background&lt;/h2&gt;
&lt;p&gt;I have been running a home lab and a small home set up for years. Ask more and more devices and services were add, maintenance and management gradually become increasingly complex.  Meanwhile, after years of experience, I realized that traditional smart homes are not fully “smart”. Most of the problems exist simply because I was too lazy to automate them probably. Now, modern AI may help mitigate those issues.&lt;/p&gt;</description>
        
        <dc:creator>Mark Zhu</dc:creator>
        
        
        
        
          
            
              <category>ai</category>
            
          
            
              <category>ai-agent</category>
            
          
            
              <category>self-hosting</category>
            
          
            
              <category>life-hacker</category>
            
          
            
              <category>openclaw</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>The Concepts Anatomy of OpenClaw</title>
        <link>https://blog.mygraphql.com/en/posts/ai/ai-personal-assistant/openclaw-concepts/</link>
        <pubDate>Mon, 09 Feb 2026 03:12:15 +0800</pubDate>
        <author>labile.zhu@gmail.com (Mark Zhu)</author>
        <atom:modified>Mon, 09 Feb 2026 03:12:15 +0800</atom:modified>
        <guid>https://blog.mygraphql.com/en/posts/ai/ai-personal-assistant/openclaw-concepts/</guid>
        <description>&lt;p&gt;&lt;img src=&#34;https://blog.mygraphql.com/en/posts/ai/ai-personal-assistant/openclaw-concepts/index.assets/the-matrix-architect.png&#34; alt=&#34;the-matrix-architect&#34;&gt;&lt;/p&gt;
&lt;p&gt;OpenClaw is the most populated self-hosted personal AI assistant in the world right now. From the perspective of an AI Agent developer, it is not only a AI tool, but also one of the best real-world references for agent design patterns. It helps us create more sophisticated designs when building our agents. In this article, I will go down the rabbit hole and ultimately build a conceptual model.&lt;/p&gt;
&lt;h2 id=&#34;conceptual-model&#34;&gt;Conceptual Model&lt;/h2&gt;
&lt;p&gt;The following diagram is the conceptual model I built.&lt;/p&gt;</description>
        
        <dc:creator>Mark Zhu</dc:creator>
        
        
        
        
          
            
              <category>ai</category>
            
          
            
              <category>ai-agent</category>
            
          
            
              <category>openclaw</category>
            
          
            
              <category>self-hosting</category>
            
          
            
              <category>life-hacker</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Self-hosted Matrix Channel for OpenClaw - Take the red pill</title>
        <link>https://blog.mygraphql.com/en/posts/ai/ai-personal-assistant/openclaw-matrix-channel/</link>
        <pubDate>Fri, 06 Feb 2026 03:12:15 +0800</pubDate>
        <author>labile.zhu@gmail.com (Mark Zhu)</author>
        <atom:modified>Fri, 06 Feb 2026 03:12:15 +0800</atom:modified>
        <guid>https://blog.mygraphql.com/en/posts/ai/ai-personal-assistant/openclaw-matrix-channel/</guid>
        <description>&lt;p&gt;&lt;img src=&#34;https://blog.mygraphql.com/en/posts/ai/ai-personal-assistant/openclaw-matrix-channel/index.assets/the-matrix-movie-red-pill.png&#34; alt=&#34;The Matrix 1999 - Take the red pill to stay in Wonderland and see how deep the rabbit hole goes, or the blue pill to wake up and believe what you want.&#34;&gt;&lt;/p&gt;
&lt;p&gt;This article explains how to self-host an OpenClaw AI assistant using a Matrix chat channel. It covers setting up a Matrix server, installing and troubleshooting the OpenClaw Matrix plugin, configuring access policies, and enabling secure, private AI interactions without relying on third-party messaging platforms.&lt;/p&gt;</description>
        
        <dc:creator>Mark Zhu</dc:creator>
        
        
        
        
          
            
              <category>ai</category>
            
          
            
              <category>ai-agent</category>
            
          
            
              <category>self-hosting</category>
            
          
            
              <category>life-hacker</category>
            
          
            
              <category>openclaw</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>AI-Based Job Position Watching from Company Career Pages(PoC) - Part 1</title>
        <link>https://blog.mygraphql.com/en/posts/ai/ai-life-automatic/ai-job-subcribe/</link>
        <pubDate>Mon, 19 Jan 2026 15:12:15 +0900</pubDate>
        <author>labile.zhu@gmail.com (Mark Zhu)</author>
        <atom:modified>Mon, 19 Jan 2026 15:12:15 +0900</atom:modified>
        <guid>https://blog.mygraphql.com/en/posts/ai/ai-life-automatic/ai-job-subcribe/</guid>
        <description>&lt;p&gt;As an unemployed mid‑career software engineer looking for a new role in 2026, I often find myself repeatedly checking the career pages of companies I am interested in. This process is time‑consuming and tedious, especially when tracking openings across multiple companies. While many career sites provide email‑based job alerts, these alerts are usually driven by opaque AI matching against a previously submitted CV, or by simple keyword matching. In both cases, I have very limited control over the actual matching criteria.&lt;/p&gt;</description>
        
        <dc:creator>Mark Zhu</dc:creator>
        
        
        
        
          
            
              <category>AI</category>
            
          
        
        
        
      </item>
      
      <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>
      
      <item>
        <title>Analyzing gemini-cli’s Source Code with gemini-cli</title>
        <link>https://blog.mygraphql.com/en/posts/ai/ai-code-assist/analyzing-gemini-cli-with-gemini-cli/</link>
        <pubDate>Thu, 21 Aug 2025 03:12:15 +0800</pubDate>
        <author>labile.zhu@gmail.com (Mark Zhu)</author>
        <atom:modified>Thu, 21 Aug 2025 03:12:15 +0800</atom:modified>
        <guid>https://blog.mygraphql.com/en/posts/ai/ai-code-assist/analyzing-gemini-cli-with-gemini-cli/</guid>
        <description>&lt;p&gt;&lt;img src=&#34;https://blog.mygraphql.com/en/posts/ai/ai-code-assist/analyzing-gemini-cli-with-gemini-cli/index.assets/logo.png&#34; alt=&#34;logo&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;overview&#34;&gt;Overview&lt;/h2&gt;
&lt;p&gt;This article introduces how to use the &lt;code&gt;gemini-cli&lt;/code&gt; command-line tool to analyze its own source code repository. Through a series of interactive commands, we will explore the design and implementation of &lt;code&gt;gemini-cli&lt;/code&gt;. This approach not only demonstrates the functionality of AI tools but also provides developers with a new way of learning and exploration.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;If you don’t know what gemini-cli is, here’s a brief introduction:&lt;br /&gt;
gemini-cli is an open-source Command-Line Interface (CLI) tool that allows developers and users to interact directly with Google’s Gemini model in the terminal. You can think of it as an intelligent AI assistant inside the command line.&lt;/p&gt;</description>
        
        <dc:creator>Mark Zhu</dc:creator>
        
        
        
        
          
            
              <category>ai</category>
            
          
            
              <category>ai-code-assist</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>ChatBlog - An Experiment in AI Interaction for Personal Blogs</title>
        <link>https://blog.mygraphql.com/en/posts/ai/langchain/rag-tool-chat-history-study/</link>
        <pubDate>Sat, 29 Mar 2025 03:12:15 +0800</pubDate>
        <author>labile.zhu@gmail.com (Mark Zhu)</author>
        <atom:modified>Sat, 29 Mar 2025 03:12:15 +0800</atom:modified>
        <guid>https://blog.mygraphql.com/en/posts/ai/langchain/rag-tool-chat-history-study/</guid>
        <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Adding a chatbot to a blog is both interesting and practical. It can answer readers&amp;rsquo; simple questions based on the blog content and the author&amp;rsquo;s introduction articles. ChatBlog (chat + blog) might be an engaging and useful model for interactive technical sharing. This article documents my exploration and implementation process.&lt;/p&gt;
&lt;p&gt;Currently, the interactive knowledge base + LLM model is popular. A blog serves as an open knowledge base for tech enthusiasts, and making it open to chat is an intriguing idea.&lt;/p&gt;</description>
        
        <dc:creator>Mark Zhu</dc:creator>
        
        
        
        
          
            
              <category>career</category>
            
          
            
              <category>ai</category>
            
          
            
              <category>langchain</category>
            
          
            
              <category>LLM</category>
            
          
            
              <category>ollama</category>
            
          
            
              <category>RAG</category>
            
          
            
              <category>self-hosting</category>
            
          
        
        
        
      </item>
      

    
  </channel>
</rss>
