agent_id/lib.rs
1//! # Agent Identity Protocol (AIP)
2//!
3//! Cryptographic identity and mutual authentication for AI agents.
4//!
5//! ## Quick Start
6//!
7//! ```rust,no_run
8//! use agent_id::{RootKey, Did};
9//!
10//! // Generate an identity
11//! let key = RootKey::generate();
12//! println!("DID: {}", key.did());
13//! ```
14//!
15//! ## Modules
16//!
17//! - [`core`] - Identity primitives (keys, DIDs, documents)
18//! - [`handshake`] - Mutual authentication protocol
19//!
20//! ## Re-exports
21//!
22//! Common types are re-exported at the crate root for convenience.
23
24pub use agent_id_core as core;
25pub use agent_id_handshake as handshake;
26
27// Re-export common types at root
28pub use agent_id_core::{Did, DidDocument, Error, Result, RootKey};