Some checks failed
CI / Check / macos-latest (push) Has been cancelled
CI / Check / ubuntu-latest (push) Has been cancelled
CI / Check / windows-latest (push) Has been cancelled
CI / Test / macos-latest (push) Has been cancelled
CI / Test / ubuntu-latest (push) Has been cancelled
CI / Test / windows-latest (push) Has been cancelled
CI / Clippy (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Security Audit (push) Has been cancelled
CI / Secrets Scan (push) Has been cancelled
CI / Install Script Smoke Test (push) Has been cancelled
20 lines
708 B
Rust
20 lines
708 B
Rust
//! OpenFang Wire Protocol (OFP) — agent-to-agent networking.
|
|
//!
|
|
//! Provides cross-machine agent discovery, authentication, and communication
|
|
//! over TCP connections using a JSON-RPC framed protocol.
|
|
//!
|
|
//! ## Architecture
|
|
//!
|
|
//! - **PeerNode**: Local network endpoint that listens for incoming connections
|
|
//! - **PeerRegistry**: Tracks known peers and their agents
|
|
//! - **WireMessage**: JSON-framed protocol messages
|
|
//! - **PeerHandle**: Trait for routing remote messages through the kernel
|
|
|
|
pub mod message;
|
|
pub mod peer;
|
|
pub mod registry;
|
|
|
|
pub use message::{WireMessage, WireRequest, WireResponse};
|
|
pub use peer::{PeerConfig, PeerNode};
|
|
pub use registry::{PeerEntry, PeerRegistry, RemoteAgent};
|