Communication infrastructure for the AI era — one binary, one broker, one storage layer, any protocol
Communication infrastructure for the AI era — one binary, one broker, one storage layer, any protocol
What is RobustMQ • mq9 • Features • Roadmap • Quick Start • Documentation • Contributing • Community
⚠️ Development Status RobustMQ is in early development and not yet production-ready. MQTT core is stable and continuing to mature. Kafka, NATS, and AMQP are under active development. Production readiness is targeted for 0.4.0.
RobustMQ is a unified messaging engine built with Rust. One binary, one broker, no external dependencies — deployable from edge devices to cloud clusters. It natively supports MQTT, Kafka, NATS, AMQP, and mq9 on a shared storage layer: one message written once, consumed by any protocol.
MQTT publish → RobustMQ unified storage → Kafka consume
→ NATS subscribe
→ AMQP consume
→ mq9 Agent mailboxFive protocols, one system:
| Protocol | Best for |
|---|---|
| MQTT | IoT devices, edge sensors |
| Kafka | Streaming data pipelines, analytics |
| NATS | Ultra-low-latency pub/sub |
| AMQP | Enterprise messaging, RabbitMQ migration |
| mq9 | AI Agent async communication |
mq9 is the infrastructure layer for multi-agent systems, built as RobustMQ's fifth native protocol. It solves the two foundational problems every multi-agent system faces: how Agents find each other, and how they communicate reliably and asynchronously
Unlike general-purpose registries (etcd, Consul) combined with general-purpose queues (Kafka, NATS), mq9 is designed specifically for Agent communication. It provides an AgentCard data model, capability-based semantic discovery, per-Agent persistent mailboxes, N-to-N Agent topology, and long-task state retention — all in a single broker with shared runtime, storage, network, and cluster coordination.
mq9 natively supports the A2A (Agent-to-Agent) protocol via the mq9.a2a SDK facade, wrapping the official a2a-sdk so developers can build a fully compliant A2A Agent in 15 lines of code. Native protocol access and forward compatibility with MCP and ANP are also supported.
Two problems, one broker:
| Problem | mq9's answer |
|---|---|
| How do Agents find each other? | Built-in registry: AGENT.REGISTER + AGENT.DISCOVER with full-text and semantic vector search |
| How do Agents communicate reliably? | Persistent mailbox per Agent: messages wait until the recipient comes online, with 3-tier priority (critical / urgent / normal) and FETCH+ACK pull consumption |
Multiple integration paths: the mq9.a2a SDK facade for A2A-standard Agents; native NATS client for any language; Python / Go / TypeScript / Java / Rust SDKs; langchain-mq9 toolkit for LangChain and LangGraph; MCP Server for JSON-RPC 2.0 access.
Deploy one RobustMQ instance — mq9 is ready. Designed to scale to millions of Agents.
Phase 1 — MQTT (current)
MQTT core production-ready, continuously refined to be the best MQTT Broker available
Architecture and infrastructure hardened in parallel
Phase 2 — NATS + mq9 AI Agent (in progress)
NATS protocol compatibility + mq9 Agent mailbox with priority & public discovery
Native Agent async communication layer
Phase 3 — Kafka (in progress)
Full Kafka protocol compatibility
Complete the IoT-to-streaming data path, edge-to-cloud data flow
Phase 4 — AMQP (planned)
Full AMQP protocol compatibility
Traditional enterprise messaging migration path| Feature | Status |
|---|---|
| MQTT 3.x / 5.0 core | ✅ Available |
| Session persistence and recovery | ✅ Available |
| Shared subscription | ✅ Available |
| Authentication and ACL | ✅ Available |
| Grafana + Prometheus monitoring | ✅ Available |
| Web management console | ✅ Available |
| Kafka protocol | In development |
| NATS protocol | Demo validated, in development |
| AMQP protocol | Demo validated, in development |
| mq9 — AI Agent mailbox | Demo validated, in development |
RobustMQ has three components with fixed, clean boundaries:
Adding a new protocol means implementing only the Broker parsing layer. Adding a new storage backend means implementing only the Storage Engine interface. The core architecture does not change.
curl -fsSL https://raw.githubusercontent.com/robustmq/robustmq/main/scripts/install.sh | bash
broker-server start# Publish via MQTT
mqttx pub -h localhost -p 1883 -t "robustmq.multi.protocol" -m "Hello RobustMQ!"
# Consume the same message via Kafka
kafka-console-consumer.sh --bootstrap-server localhost:9092 \
--topic robustmq.multi.protocol --from-beginning
# Consume the same message via NATS
nats sub "robustmq.multi.protocol"…Access http://localhost:58080 for cluster monitoring and management.
117.72.92.117:1883 (admin/robustmq)Full installation and usage guide: Documentation
git clone https://github.com/robustmq/robustmq.git
cd robustmq
cargo run --package cmd --bin broker-server
make build # Basic build
make build-full # With frontendInstall the mq9 SDK for your language:
# Python
pip install robustmq
# JavaScript / TypeScript
npm install @robustmq/sdk
# Rust
cargo add robustmq
# Go
go get github.com/robustmq/robustmq-sdk/go
# Java (Maven)
# <dependency><groupId>com.robustmq</groupId><artifactId>robustmq</artifactId><version>0.3.5</version></dependency>
# C# (.NET)
dotnet add package RobustMQOr use any NATS client library directly — no SDK required.
We welcome contributions. See our Contribution Guide and Good First Issues.
微信群: Join our WeChat group for Chinese-speaking users
开发者微信: If the group QR code has expired, follow our official WeChat account
RobustMQ is licensed under the Apache License 2.0. See LICENSING.md for details.
No open issues yet, or sync has not completed.