@nexartis/knowyourmodel-sdk 1.0.2 nexartis

Typed KnowYourModel client + Ed25519 signing.

Pull agents · publish agent cards · submit signed receipts every turn.

  • KymClient — retry/backoff, timeouts, optional circuit breaking, response caching, request hooks.
  • listRegistries, getAgent, getAgentCard, getFacts.
  • signAndSubmitReceipt, castVote — Ed25519-signed provenance flows.
  • Zero runtime dependencies, uses platform `fetch` + `node:crypto`/Web Crypto for signing.
  • `KymClient` constructs cleanly in the browser with only an `apiUrl`, no server-side keys.
  • Ozzy Dev pulls the Ozzy agent card via `getAgent(entityId)` at install time and caches it locally.
  • Every completed turn signs a receipt via `signAndSubmitReceipt(...)` using an Ed25519 key stored in the OS keychain.
  • The SDK has zero runtime npm dependencies; it uses platform `fetch`.
  • Agent Cards must carry the `x-nexartis-runtime` extension for Ozzy Dev’s discovery to work — Wave 1 formalises it.
new KymClient() constructs without a network call
apiUrl=https://knowyourmodel.ai
Client exposes getAgent(entityId)
Client exposes signAndSubmitReceipt(...)

Live network calls require a KYM API key and land in Wave 1 when we implement the publish:ozzy script.