cPod SDK
Governed AI for the enterprise.
The cPod SDK gives you typed access to the governed AI gateway, security posture APIs, model governance, and the enterprise data model — in TypeScript, Python, Go, and .NET. Every call is authenticated, policy-enforced, and audited automatically.
500+guardrail rules66EDM domains4languages
first call
$pnpm add "github:ZySec-AI/cpod-sdk#path:sdks/typescript"
import { CpodClient } from "@zysec-ai/cpod-sdk";
// 1. Open Keycloak — your app starts the login (the SDK builds the URL):
const { loginUrl } = CpodClient.beginLogin({
backendUrl: "https://api.cyberpod.app",
returnTo: "https://app.example.com/auth/callback",
});
// → redirect the browser to loginUrl (Keycloak)
// 2. Back on /auth/callback?code=… — swap the one-time code for a token:
const { accessToken, refreshToken } = await CpodClient.exchangeCode({
backendUrl: "https://api.cyberpod.app",
code, // from the callback query
});
// 3. Zero credentials: build the client and run as that user.
const client = CpodClient.fromToken(accessToken, { refreshToken });
const people = await client.people.persons.list();
console.log(people.items);What you can do
Governed AI gateway
Route every LLM call through a policy engine. Audit, rate-limit, cost-track, and block by content type, model, or tenant policy — zero-trust AI in real time.
Platform APIsSecurity posture
Detect AI misuse, data exfiltration attempts, and policy violations as they happen. Run guardrail rules and generate compliance evidence automatically.
Explore liveEnterprise data model
66 EDM domains — people, technology, risk, finance, projects and more — as one graph-connected, typed model. The canonical record layer behind every cockpit.
Browse EDM