agent_phone/lib.rs
1//! agent-phone — Minimal sync RPC between two AI agents.
2//!
3//! Rust port of [@p-vbordei/agent-phone]. Self-custody keys, Noise-XK
4//! handshake, DID-bound WebSocket. Wire-format-compatible with the TS
5//! reference and the Python sibling.
6//!
7//! [@p-vbordei/agent-phone]: https://github.com/p-vbordei/agent-phone
8
9#![allow(clippy::result_large_err)]
10#![allow(dead_code)]
11
12pub mod client;
13pub mod did;
14pub mod envelope;
15pub mod error;
16pub mod frame;
17pub mod noise;
18pub mod server;
19pub mod session;
20
21pub use client::{connect, Client, ClientOptions};
22pub use did::{decode_did_key, encode_did_key, generate_key_pair, KeyPair};
23pub use envelope::Envelope;
24pub use error::Error;
25pub use server::{create_server, Handler, Server, ServerOptions};