@getjuratify/sdk
v0.1.1
Published
Client SDK for sealing and shipping Juratify evidence records from AI agents
Readme
@getjuratify/sdk
Client SDK for sealing and shipping Juratify evidence records from AI agents. Payloads are hashed and encrypted locally before anything is queued: the vault only ever sees ciphertext plus the chain header. Delivery is out of the caller's critical path and survives outages through a write-ahead log.
Quickstart
import { Juratify } from "@getjuratify/sdk";
const client = new Juratify({
apiKey: process.env.JURATIFY_API_KEY!,
workspaceId: process.env.JURATIFY_WORKSPACE_ID!,
// 32-byte workspace data key, raw bytes or base64. Never leaves the process.
dataKey: process.env.JURATIFY_DATA_KEY!,
});
await client.record(
"prompt",
{ input: "what is the capital of France", model: "gpt-5" },
{ sessionId: "sess-123" },
);
await client.flush();The data key is held by the customer and never transmitted. Without it the server, and anyone who compromises it, sees ciphertext only.
License
Apache-2.0
