Skip to main content

Crate agentic_comm

Crate agentic_comm 

Source
Expand description

AgenticComm — agent-to-agent and agent-to-human communication engine.

Provides structured messaging, channels, pub/sub, message routing, and communication history stored in .acomm files.

Re-exports§

pub use affect::*;
pub use bridges::*;
pub use channel::*;
pub use crypto::*;
pub use encryption::*;
pub use format::*;
pub use query::*;
pub use semantic::*;
pub use temporal::*;
pub use types::*;
pub use workspace::*;

Modules§

affect
AffectProcessor — emotional contagion model for agent communication.
bridges
Sister integration bridge traits for AgenticComm.
cache
channel
ChannelManager — manages channel lifecycle independently.
contracts
Contracts bridge — implements agentic-sdk v0.2.0 traits for Comm.
crypto
Cryptographic operations for AgenticComm.
encryption
Encryption operations for AgenticComm.
format
Binary .acomm file format with integrity checking.
metrics
query
CommQueryEngine — indexed query engine for fast message and channel lookups.
semantic
SemanticProcessor — graph operations for cognitive fragments.
temporal
TemporalScheduler — advanced temporal message scheduling.
types
Rich types for the agentic-comm specification.
workspace
CommWorkspace — multi-store comparison and cross-referencing.

Structs§

AcommHeader
File header for .acomm files.
Channel
A communication channel.
ChannelConfig
Configuration for a channel.
CommFileLock
Advisory file lock for concurrent access to .acomm files.
CommStore
The main communication store holding channels, messages, and subscriptions.
CommStoreStats
Summary statistics for a CommStore.
DeadLetter
A message that could not be delivered and was placed in the dead letter queue.
KeyEntry
A key entry for channel encryption metadata.
Message
A single message in the communication system.
MessageEngine
Unified message processing engine that wraps CommStore and provides a higher-level pipeline for sending and querying messages.
MessageFilter
Filter for querying message history.
RateTracker
Per-sender rate tracking state.
Subscription
A pub/sub subscription.

Enums§

ChannelState
Operational state of a channel.
ChannelType
The type of a communication channel.
CommError
All errors produced by the communication engine.
DeadLetterReason
Reason a message was dead-lettered.
DeliveryMode
Message delivery semantics.
MessagePriority
Priority level for a message.
MessageStatus
Lifecycle status of a message.
MessageType
The type of a message.
RetentionPolicy
How long messages are retained in a channel.

Constants§

ACOMM_MAGIC
Magic bytes for the .acomm file format.
ACOMM_VERSION
File format version.
MAX_CONTENT_SIZE
Maximum message content size: 1 MB.

Type Aliases§

CommResult
Convenience result type.