messaging

Agents need to communicate.

Level 1 — Transport Source

Purpose

FIPA-inspired ACL, typed messages, bounded mailboxes, routing, and request-reply protocols with backpressure built in.

Key APIs

  • AclMessage
  • Performative
  • Mailbox
  • Router
  • RequestReply

Dependencies

agent-core

used by: patterns · runtime · rustyai

messaging.rs
use messaging::prelude::*;
let msg = AclMessage::new(Performative::Request)
.to("agent://worker-3")
.content(Task::Index { shard: 7 });
router.send(msg).await?;
Cargo.toml
[dependencies]
messaging = "0.2"

See it in a running system.

The xbot case study shows agent-core and cognition driving a long-lived autonomous application.