TypeScript SDK
Install
pnpm add @genys/sdk
Quickstart
import { Genys } from "@genys/sdk";
const genys = new Genys({ apiKey: process.env.GENYS_API_KEY! });
await genys.memory.store({
capsule: "customer_support",
data: { userId: "u_123", lastIssue: "billing" },
});
const ctx = await genys.memory.retrieve({
capsule: "customer_support",
where: { userId: "u_123" },
});
console.log(ctx);