Skip to main content

Crate jamjet_protocols

Crate jamjet_protocols 

Source
Expand description

JamJet Protocol Adapter Framework

The ProtocolAdapter trait defines the common interface all protocol adapters must implement. Built-in adapters: MCP, A2A, ANP. New protocols can be added by implementing this trait without modifying the runtime core.

Re-exports§

pub use failure::DelegationFailure;
pub use failure::DelegationFailureInfo;
pub use failure::FailureSeverity;
pub use registry::ProtocolRegistry;

Modules§

anp
ANP (Agent Network Protocol) adapter — DID-based agent discovery (I2.1-I2.4).
failure
Typed failure taxonomy for delegated agent operations (B.2).
registry
Protocol adapter plugin registry (E2.5).

Structs§

RemoteCapabilities
Capabilities discovered from a remote agent or tool provider.
RemoteSkill
TaskHandle
A handle to a submitted task.
TaskRequest
A task request to a remote agent or tool provider.

Enums§

StreamChunk
A typed stream chunk for structured streaming across all protocol adapters.
TaskEvent
An event streamed from a running task.
TaskStatus
Current status of a remote task.

Traits§

ProtocolAdapter
The protocol adapter trait. Implement this to add a new agent communication protocol.

Type Aliases§

StructuredStream
TaskStream