TypeScript SDK
Fully typed KorClaw SDK for TypeScript projects.
The @korclaw/sdk package includes first-class TypeScript definitions for policies, agents, approvals, and audit events.
typescript
import { KorClaw, type AuditLog } from "@korclaw/sdk";
const client = new KorClaw(process.env.KORCLAW_API_KEY!);
const event: AuditLog = await client.audit.log({
agent: "support-agent",
action: "email.send",
});