Skip to main content

aae/
lib.rs

1//! # aae — Accountable Agentic Execution protocol SDK
2//!
3//! This crate provides serde-derived types, hash chain helpers, and reference
4//! adapters for building AAE-conformant agent runtimes in Rust.
5//!
6//! See <https://github.com/r3moteBee/aae> for the protocol specification.
7
8#![deny(missing_docs)]
9#![warn(clippy::pedantic)]
10
11pub mod hashchain;
12pub mod models;
13#[cfg(feature = "signing")]
14pub mod signing;
15
16pub use models::{
17    AuditEvent, BlastRadius, CapabilityScope, CapabilityToken, Confidence, Context, CostEstimate,
18    Decision, Effect, EventSignature, PolicyDecision, Preview, Proposal, Reversibility, Step,
19    StepPreview, ToolRegistration, EVENT_TYPE_ARTIFACT_ATTESTED, STRICTNESS_STRICT_LITERAL,
20    STRICTNESS_STRICT_TEMPLATE,
21};
22
23/// Protocol version supported by this SDK.
24pub const PROTOCOL_VERSION: &str = "0.8";
25
26/// SDK version (matches Cargo.toml).
27pub const SDK_VERSION: &str = env!("CARGO_PKG_VERSION");