Skip to main content

Crate agent_id

Crate agent_id 

Source
Expand description

§Agent Identity Protocol (AIP)

Cryptographic identity and mutual authentication for AI agents.

§Quick Start

use agent_id::{RootKey, Did};

// Generate an identity
let key = RootKey::generate();
println!("DID: {}", key.did());

§Modules

  • core - Identity primitives (keys, DIDs, documents)
  • handshake - Mutual authentication protocol

§Re-exports

Common types are re-exported at the crate root for convenience.

Re-exports§

pub use agent_id_core as core;
pub use agent_id_handshake as handshake;

Structs§

Did
A parsed DID (did:key method).
DidDocument
A DID Document describing an agent’s keys and services.
RootKey
A root identity key.

Enums§

Error

Type Aliases§

Result
Result type for agent-id-core operations.