cPod SDK
The typed access layer for the cPod platform.
One SDK for your organization’s entire data model and operations — in TypeScript, Python, Go, and .NET. Authenticated, authorized, masked, and audited by the platform automatically.
42EDM domains123entities4languages
first call
$pnpm add "github:ZySec-AI/cpod-sdk#path:sdks/typescript"
import { CpodClient } from "@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.data);What you can do
Enterprise data
42 EDM domains — people, technology, risk, finance, projects and more — as one graph-connected, typed model. Browse every entity and run any method, live.
Explore liveAI & automation
Run skills, execute DAG workflows, orchestrate multi-agent teams, chat, and long-term memory — the platform's functional APIs, callable from the same client.
Platform APIsBuilt-in security
Every call is authenticated (OAuth 2.0), authorized by per-tenant policy, PII-masked, and audited — automatically, inside the platform. You write business logic.
Auth design