Show HN: Draft XCP protocol for cross-agent comms (Maida.AI)

2 maida-ai 1 7/16/2025, 9:16:22 PM
Hi HN!

We're launching Maida.AI, an open micro-agents project driven by our passion for fully open-source AI tooling. The idea is to build light-weight "micro-agents" that can be composed into larger pipelines.

While hacking on the core codebase we hit a pain-point: moving tensors, embeddings, and control frames over JSON/HTTP is slow and chat-oriented. So we drafted a binary-first eXtensible Coordination Protocol (XCP) to handle cross-agent communication efficiently.

We just pushed the first spec draft and a proof-of-concept implementation here: https://github.com/maida-ai/xcp

We'd love feedback on:

    * The spec itself (frame layout, codec negotiation, security).
    * Prior art we might have overlooked.
    * Your war-stories moving large AI payloads over existing protocols.
Thanks for taking a look—happy to discuss and answer questions!

~ Maida.AI team

Comments (1)

maida-ai · 1d ago
Benchmarks show:

* XCP/JSON vs. HTTP/JSON: 4.08x speedup

* XCP/F16 vs. HTTP/F16: 3.88x speedup

TODO:

- [ ] XCP w/ and w/o A2A

- [ ] XCP w/ and w/o ACP