Python SDK
The VeriProof Python SDK supports CPython 3.11 through 3.13. It checks policy before a governed action runs and before its result is released, records session evidence, handles signed human review, and supports cooperative cancellation of an active governed run through an asyncio.Event.
Available packages
| Package | Category | Framework support |
|---|---|---|
veriproof-sdk | Core SDK | Application-owned actions |
veriproof-sdk-adapter-anthropic | Enforce adapter | Anthropic SDK 0.125.0 |
veriproof-sdk-adapter-crewai | Enforce adapter | CrewAI 1.15.20 |
veriproof-sdk-adapter-google-adk | Enforce adapter | Google ADK 2.9.1 |
veriproof-sdk-adapter-langgraph | Enforce adapter | LangGraph 1.2.11 |
veriproof-sdk-adapter-llamaindex | Enforce adapter | LlamaIndex 0.14.24 |
veriproof-sdk-adapter-agent-framework | Enforce adapter | agent-framework-core 1.18.0 |
veriproof-sdk-adapter-openai-agents | Enforce adapter | OpenAI Agents 0.22.2 |
veriproof-sdk-adapter-pydantic-ai | Enforce adapter | Pydantic AI 2.43.0 |
Adapters install their required Core SDK dependency automatically.
What the core package includes
Veriproof.from_env()andVeriproof(api_key, ...)for one application-scoped client.await vp.govern(action_name, input, action, ...)with typed results and areview_requiredcheckpoint.HumanReviewRuntimewithsave,receive,resume, andreconcile, plusSqliteReviewStoreandInMemoryReviewStore.- Generated industry vocabularies under
veriproof_sdk.verticals.*with.fact()on each value. VeriproofTestHarnessandTestPolicyDecisionfor network-free tests.SensitiveDataSanitizerand transport errors underveriproof_sdk.advanced.
Start using the SDK
Open Tools and SDKs in the VeriProof portal, select Python, and follow its installation instructions. Start with veriproof-sdk, then add the adapter for each framework your application uses.
Set the application SDK key as VERIPROOF_API_KEY. Hosted VeriProof uses https://ingest.veriproof.app. VeriProof Private uses the ingest API base URL for that instance as VERIPROOF_ENDPOINT. The same endpoint handles session ingest and policy checks.
Use the Python core guide for setup and governed-action examples. Check SDK categories and framework coverage for what each adapter controls and what stays with the core governed-action helper.