Skip to main content

agent_scroll/
lib.rs

1//! agent-scroll — canonical byte-deterministic transcript format for AI-agent conversations.
2//!
3//! Rust port of [`@p-vbordei/agent-scroll`](https://github.com/p-vbordei/agent-scroll).
4//! Passes the same C1–C4 conformance vectors as the TypeScript reference.
5
6pub mod canonical;
7pub mod error;
8pub mod schema;
9pub mod seal;
10pub mod serialize;
11pub mod verify;
12
13pub use canonical::{canonical, hash_canonical};
14pub use error::Error;
15pub use schema::{validate_sealed_turn, validate_turn, VerifyFailure, VerifyResult};
16pub use seal::{seal, seal_chain, SignOpts};
17pub use serialize::{deserialize, serialize};
18pub use verify::verify;