agent-capability-token (Rust)
Canonical wire format for the Agent Capability Token (ACT) required by ANVIL section 5.
Purpose
Canonical wire format for the Agent Capability Token (ACT) required by ANVIL section 5.
Source contract
| Field | Value |
|---|---|
| Package | agent-capability-token |
| Version | 0.1.0 |
| Language | Rust |
| Runtime floor | 1.78 |
| Manifest | act/agent-capability-token/Cargo.toml |
| Distribution | Source package; registry publication not verified |
Manifest SHA-256: ed7fd1fef0c11c2748a6f223cd99f9ef873c6ff17af1c31608defd489654ce23. The recorded Git revision identifies the containing repository; the manifest and entry-point hashes identify this working-tree snapshot.
Integration
Use the package root above from an authorized source checkout. Preserve sibling dependencies and their version/feature requirements. Install the runtime and compile the selected package before using its generated artifacts. The task guide describes configuration, trust boundaries, and error behavior. Test/conformance and deployment packages are supporting tools, not interchangeable production identity providers.
Features and optional dependencies
{
"default": [],
"sign": []
}Exported entry points
The declarations below are extracted from the named entry files. This is a navigable source reference, not compiler-generated documentation of every transitive module. Feature gates and runtime requirements still apply. Private implementation files are not promoted to public APIs merely because they contain a public declaration.
act/agent-capability-token/src/lib.rs
Source SHA-256: a326ce327fca34441b760e229ef3b7ac9d9ae536c1899365dd538ac56ebd6918.
pub mod claims;
pub mod error;
pub mod scope;
pub mod wire;
pub use claims::{ActClaims, Confirmation, Delegation};
pub use error::{ActError, ActResult};
pub use scope::{Scope, SCOPE_SEGMENTS, WILDCARD};
pub use wire::{
claims_to_signing_payload, envelope_from_parts, verify, ActEnvelope, PublicKeyBytes, Verifier,
ALGORITHM_ED25519, FORMAT_VERSION, MAX_ACT_BYTES,
};
pub use wire::sign;Module signatures and options
Browse the declared public source modules. This includes signatures, struct fields, enums, traits, method declarations, source comments and conditional attributes.