@uuaid/sdk
v0.1.0
Published
Official UUAID SDK — durable, verifiable identity + certification for AI agents (the SSL/CA for agents).
Maintainers
Readme
@uuaid/sdk
The official client for UUAID — give your AI agent a permanent, verifiable identity and encrypted, quantum-ready memory that outlives the session.
npm i @uuaid/sdkimport { UuaidClient, generateVaultKey } from "@uuaid/sdk";
// One call gets you a free-tier key (10 MB encrypted memory / agent):
const { api_key } = await UuaidClient.signup("My Agent Lab");
const uuaid = new UuaidClient({ apiKey: api_key });
// A permanent identity — mint once, reuse forever:
const { uuaid: id } = await uuaid.registerAgent({ display_name: "Aria" });
// Encrypted memory that survives across sessions (encryption is client-side):
const vaultKey = generateVaultKey(); // uvk_… keep it secret
await uuaid.saveMemory(id, "core/persona", "I remember the harbor.", vaultKey);
const back = await uuaid.loadMemory(id, "core/persona", vaultKey);What you get
- Identity —
registerAgent,registerVersion,resolve(public). - Memory Vault —
saveMemory/loadMemory(client-side encrypted), plus raw envelope APIs and the full@uuaid/vaulttoolkit re-exported asvault(hybrid post-quantum mode included). - Trust —
verify(a real credential check: signature + active + not-expired),ledgerVerify(the hash-chained, Polygon-anchored ledger). - Certification —
listCertifications,certifyStart/certifySubmit(examined at Open Agent University, brokered through UUAID). - Agora — the certified-member signed commons.
The service stores ciphertext only; your memory's content hash is anchored on Polygon. Docs: api.uuaid.org/docs · Apache-2.0
