<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Feras E. S. Alawadi</title>
    <description>The latest articles on Forem by Feras E. S. Alawadi (@ferasawadi).</description>
    <link>https://forem.com/ferasawadi</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F763456%2F5b7ed66f-8aaf-4964-b91b-ec205a15d866.jpeg</url>
      <title>Forem: Feras E. S. Alawadi</title>
      <link>https://forem.com/ferasawadi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/ferasawadi"/>
    <language>en</language>
    <item>
      <title>I Built the Linux of Agent Protocols: Why MXP is 37x Faster Than JSON</title>
      <dc:creator>Feras E. S. Alawadi</dc:creator>
      <pubDate>Thu, 27 Nov 2025 17:18:10 +0000</pubDate>
      <link>https://forem.com/ferasawadi/i-built-the-linux-of-agent-protocols-why-mxp-is-37x-faster-than-json-2l54</link>
      <guid>https://forem.com/ferasawadi/i-built-the-linux-of-agent-protocols-why-mxp-is-37x-faster-than-json-2l54</guid>
      <description>&lt;p&gt;In 1999, Linux seemed hopeless against Windows. Today, it runs 100% of supercomputers and 96% of web servers.&lt;/p&gt;

&lt;p&gt;Linux didn't win by fighting Windows. It won by enabling everything else.&lt;/p&gt;

&lt;p&gt;I'm applying the same strategy to AI agent communication with MXP (Mesh eXchange Protocol).&lt;/p&gt;

&lt;p&gt;The Problem&lt;br&gt;
AI agents are evolving from isolated assistants to interconnected systems. But they're stuck using HTTP/JSON—a protocol designed for humans clicking buttons, not machines coordinating at microsecond scale.&lt;/p&gt;

&lt;p&gt;The overhead matters:&lt;/p&gt;

&lt;p&gt;HTTP/JSON: 2,262ns to encode a 256-byte message&lt;br&gt;
MXP: 60ns for the same message&lt;br&gt;
That's 37x faster. Verified. Reproducible.&lt;/p&gt;

&lt;p&gt;The Solution: Be the Linux, Not the Windows&lt;br&gt;
Google launched A2A (Agent-to-Agent Protocol) with 50+ partners. Fighting that would be like fighting Windows in 1999.&lt;/p&gt;

&lt;p&gt;Instead, MXP takes the Linux approach:&lt;/p&gt;

&lt;p&gt;A2A-compatible: Same semantics, faster transport&lt;br&gt;
Open source: MIT/Apache-2.0, public domain spec&lt;br&gt;
Enabling, not competing: Make other projects faster&lt;br&gt;
use mxp::{Message, MessageType};&lt;/p&gt;

&lt;p&gt;// Same agent logic, 37x faster encoding&lt;br&gt;
let msg = Message::new(MessageType::Call, b"Hello, agent!");&lt;br&gt;
let bytes = msg.encode();  // 60ns, not 2,262ns&lt;br&gt;
Why It Matters&lt;br&gt;
When agents coordinate 1000x per second (heartbeats, discovery, token streaming), protocol overhead becomes real CPU time.&lt;/p&gt;

&lt;p&gt;Scenario    HTTP/JSON   MXP&lt;br&gt;
1M messages 2.26 seconds CPU    0.06 seconds CPU&lt;br&gt;
10 agents × 100 msg/s  226ms/s 6ms/s&lt;br&gt;
Try It&lt;br&gt;
cargo add mxp&lt;br&gt;
Or explore the repo: github.com/yafatek/mxp-protocol&lt;/p&gt;

&lt;p&gt;Star if you believe open infrastructure wins. ⭐&lt;/p&gt;

&lt;p&gt;The "enabler not competitor" positioning&lt;br&gt;
What SDKs to prioritize (JS is next, then Python)&lt;br&gt;
Whether A2A compatibility matters to you&lt;br&gt;
Repo: &lt;a href="https://github.com/yafatek/mxp-protocol" rel="noopener noreferrer"&gt;https://github.com/yafatek/mxp-protocol&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>rust</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
