SDKs
Add governance in minutes.
Python leads with 11+ framework integrations. Node.js (beta) covers Anthropic, Google, OpenAI, LangChain, Vercel AI, and OpenAI Agents. Wrap your existing LLM client. Everything else stays the same.
Quick Start
python
import controlzerofrom controlzero.integrations.openai import wrap_openaiimport openaicz = controlzero.init(api_key="cz_live_...")client = wrap_openai(openai.OpenAI(), cz)# Every call is governed + audited automaticallyresponse = client.chat.completions.create( model="gpt-4", messages=[{"role": "user", "content": prompt}])02
Node.js
BETA$ npm config set @controlzero:registry https://npm.controlzero.ai && npm install @controlzero/sdk
DocumentationQuick Start
javascript
import { Client } from '@controlzero/sdk';import { wrapOpenAI } from '@controlzero/sdk/integrations';import OpenAI from 'openai';const cz = await Client.create({ apiKey: 'cz_live_...' });const client = wrapOpenAI(new OpenAI(), cz);// Every call is governed + audited automaticallyconst response = await client.chat.completions.create({ model: 'gpt-4', messages: [{ role: 'user', content: prompt }],});Included in every SDK
All SDKs Include
Policy Enforcement
Policy is evaluated in your process, against a cached signed bundle.
Audit Logging
Every decision recorded with full context. Append-only audit trail.
Policy Sync
The SDK re-checks for a published policy on its next guarded call once a 60-second TTL has elapsed. A failed refresh keeps the last good bundle.
No Round Trip
In-process evaluation against a cached bundle. No proxy and no sidecar, and the decision itself makes no network call.
Full documentation at docs.controlzero.ai
Guides, API reference, and examples for every SDK.