OpenAgentIDDocumentation
OAS identity
OpenAgentIDDocumentation

OAS SDK

Direct identity, lineage, attestation and resolution APIs.

oas-sdk@1.1.1 is published on crates.io. Select that exact crate version and the features required by your Rust application; its dependencies and runtime contract are separate from the npm SDK.

The independently published @openagentid/oas-sdk@1.0.2 exposes the TypeScript OAS API. Its methods and types are listed in that package reference; do not translate the Rust module table below into assumed TypeScript calls.

Modules

ModuleResponsibility
identitycreate_hmr, create_mhr, and root creation with a supplied keypair
lineageChild derivation, local chain verification, and privileged authority contracts
attestationCredential creation, signing and verification
config, errorConfiguration and unified errors
anchor_policy, resolveResolver-related surfaces gated by the resolve feature

The SDK re-exports lower-level crypto, DID, document, lineage and attestation crates. Local document/lineage validation is distinct from verify_privileged_authority and its configured authority source.

See exact module signatures and the OAS package catalog.

On this page