<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Messaging on All about Raspberry Pi</title><link>https://hugozhu.site/tags/messaging/</link><description>Recent content in Messaging on All about Raspberry Pi</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 19 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://hugozhu.site/tags/messaging/index.xml" rel="self" type="application/rss+xml"/><item><title>Agent 如何同时活在钉钉、Telegram、Discord 和微信里？</title><link>https://hugozhu.site/post/2026/185-hermes-gateway-im-platforms-architecture/</link><pubDate>Sun, 19 Apr 2026 00:00:00 +0000</pubDate><guid>https://hugozhu.site/post/2026/185-hermes-gateway-im-platforms-architecture/</guid><description>&lt;p&gt;上周团队在规划 Agent 的多渠道接入方案。有人说&amp;quot;每个 IM 写一套 adapter&amp;quot;，有人说&amp;quot;统一用 Webhook 接收然后标准化&amp;quot;。&lt;/p&gt;
&lt;p&gt;我打开 Hermes Agent 的代码仓库，&lt;code&gt;gateway/platforms/&lt;/code&gt; 目录下躺着 &lt;strong&gt;18 个平台适配器&lt;/strong&gt;——从 Telegram、Discord 到钉钉、飞书、企业微信、QQ 机器人，甚至还有 iMessage（BlueBubbles）、Signal 和 Home Assistant。&lt;/p&gt;
&lt;p&gt;&amp;ldquo;所有平台共享同一个 Agent Loop，同一套 Session 管理，同一套工具调用。&amp;rdquo;&lt;/p&gt;
&lt;p&gt;他们问：&amp;ldquo;那 18 个 adapter 之间代码复用率有多少？&amp;rdquo;&lt;/p&gt;
&lt;p&gt;我给他们看了一张图。&lt;/p&gt;</description></item></channel></rss>