Developers
Developer documentation
Install, connect, protect, run, inspect, audit. Start with the quickstart; every page is one click from every other.
Last reviewed 31 August 2026
QuickstartNothing to a protected agent, in five minutes.Use with your existing stackLangChain, OpenAI Agents SDK, CrewAI, MCP: add a decision before every tool call, no SDK needed.CLI referenceAll 14 commands, exit codes, and --json.Python SDK@trust and cain.verify().TypeScript SDKtrust() and verify() for Node 18+.MCPPut MCPGate in front of an MCP server.IntegrationsLangChain, LangGraph, CrewAI and the rest -- with honest status.PoliciesDefault deny, dry runs, and policy versions.ActionProofVerify a plan before any of it runs.EvidenceWhat is recorded, and how to search it.Decision record formatOpen specification: verify any CAIN decision offline, without trusting CAIN.SIEM forwardingSend every decision to Splunk, Cortex XSIAM or any HTTPS endpoint.Beside your gatewayKeep Portkey, Kong, Cloudflare or your AI security platform; add decisions on tool calls.CAIN TraceReal execution history with complete lifecycle correlation.ConformanceThe suite that can fail, and why a skip is not a pass.TroubleshootingStart with cain doctor.Developer portalThe engineering control centre, and how it is governed.MarketplaceExtensions: permissions, signing, and what install refuses.Free tierWhat free includes, what costs money, and why.BenchmarksMeasured latency and throughput. No modelled figures.ArchitectureRead this when you want to, not before you start.CAIN IdentityVerifiable identity for agents, humans, and services.CAIN ControlAgent, tool, and policy control.CAIN BudgetHard spending limits enforced before every AI action.CAIN GovernanceOrganizational rules, authorities, and approval workflows.CAIN MemoryGoverned persistent memory for autonomous agents.Self-Hosted MCPGateDeploy CAIN's enforcement boundary into your own VPC.CAIN PrivatePrivate preview: an isolated agent environment.CAIN TrajectoryGovern the whole path, not just the next action.CAIN Agent SecurityReal-time threat detection and enforcement for AI agents.CAIN DriftDetect meaningful change in autonomous systems before it becomes an incident.7-Moat ArchitectureThe seven defensibility layers, as built.ChangelogNotable changes, milestones, and releases.