SDKs
Add governance to your AI applications in minutes. Available for Python, Node.js, and Go.
Quick Start
python
from control_zero import ControlZerofrom langchain_openai import ChatOpenAIcz = ControlZero(api_key="cz_...")llm = cz.wrap(ChatOpenAI(model="gpt-4"))response = llm.invoke("Hello!")Quick Start
node.js
import { ControlZero } from '@controlzero/sdk';import { ChatOpenAI } from '@langchain/openai';const cz = new ControlZero({ apiKey: 'cz_...' });const llm = cz.wrap(new ChatOpenAI({ model: 'gpt-4' }));const response = await llm.invoke('Hello!');Quick Start
go
import "github.com/controlzeroai/controlzero"cz := controlzero.New( controlzero.WithAPIKey("cz_..."),)client := cz.Wrap(openai.NewClient())response, _ := client.Chat.Complete(ctx, req)All SDKs Include
🔐
Secret Injection
API keys injected at runtime
🛡️
Policy Enforcement
Local policy evaluation
📊
Audit Logging
Every call tracked
⚡
Zero Latency
No proxy, no overhead
Need a different language?
We're adding more SDKs based on community demand. Let us know what you need!
Request an SDK