OpenAgentID documentation
Source referencesPackage entries

openagent-capability (Rust)

Agent Capability Token (ACT) verification, re-exported from the canonical agent-capability-token crate.

Purpose

Agent Capability Token (ACT) verification, re-exported from the canonical agent-capability-token crate.

Read the legacy client and server guide.

Source contract

FieldValue
Packageopenagent-capability
Version0.1.0
LanguageRust
Runtime floor1.78
Manifestopenagents/openagent.id/crates/openagent-capability/Cargo.toml
DistributionSource package; registry publication not verified

Manifest SHA-256: 59158fb825d5c7fcf6190856398f415a0b979adea78e7fa3d653b7a4beb233cf. 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": [
    "agent-capability-token/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.

openagents/openagent.id/crates/openagent-capability/src/lib.rs

Source SHA-256: b24b099555e8f3131cecb5682e0bfe244cce4064305779bd6f0dadf79d2efebd.

pub use agent_capability_token::{
    claims_to_signing_payload, envelope_from_parts, verify, ActClaims, ActEnvelope, ActError,
    ActResult, Confirmation, Delegation, PublicKeyBytes, Scope, Verifier, ALGORITHM_ED25519,
    FORMAT_VERSION, MAX_ACT_BYTES, SCOPE_SEGMENTS, WILDCARD,
};
pub use agent_capability_token::sign;
pub fn require_scopes(claims: &ActClaims, required: &[Scope]) -> ActResult<()> {

Module signatures and options

Browse the declared public source modules. This includes signatures, struct fields, enums, traits, method declarations, source comments and conditional attributes.

On this page