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
| Module | Responsibility |
|---|---|
identity | create_hmr, create_mhr, and root creation with a supplied keypair |
lineage | Child derivation, local chain verification, and privileged authority contracts |
attestation | Credential creation, signing and verification |
config, error | Configuration and unified errors |
anchor_policy, resolve | Resolver-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.