OpenAgentSDK is the Swift SDK for Apple platforms and Linux —
verify-first, with the façade over the OAS resolver stack when you need
identity.
Private preview. The package resolves from the private repository
with OpenAgentID organization access.
Verify an ACT
Verification follows the normative procedure of act/SPECIFICATION.md in
order: envelope decode with a scoped CBOR decoder owned by the package (no
codec dependency — indefinite-length items and tags are refused, as the
canonical format never produces them), version/algorithm checks, Ed25519
signature verification (swift-crypto) before any claim check, temporal
checks with leeway, and issuer/audience/scope policy with the non-widening
rule.
The façade
authenticate runs the Core Protocol challenge-response flow: fetch an
openagent-challenge-v1, sign the JCS-canonical bytes, prove, hold the
session.
Key custody
Everything derives deterministically from one 32-byte seed (Ed25519
signing keypair + X25519 encryption keypair), with a portable CSPRNG
across platforms. Swift custody uses HMAC-SHA256 keyed derivation
(documented); the canonical cross-SDK derivation is BLAKE3.
In the box
12 swift-testing tests, including the 13 canonical ACT vectors via
VectorTests on every swift test run — the same vectors the other five
languages run.
Next