SDK quickstart

See your rules control an action

Start with one decision you can follow from the policy to the outcome. The quickstart shows a core SDK or Enforce adapter letting an allowed action go ahead and blocking a denied one.

60-day team evaluation

Test one agent workflow with your team

Connect an agent and see how your rules handle test cases. Invite colleagues to decide exceptions and review the evidence.

  • All enterprise software features
  • Unlimited users and agents
  • 1,000 recorded sessions per month
  • 14-day rolling retention

The Developer plan is free for pre-production evaluation. No payment details or staff approval. Your 60 days start when your account is ready.

Start free

  1. 1Your details & email
  2. 2Company profile
  3. 3Your agents

By creating an account, you agree to the Terms. See how we handle your information in our Privacy notice.

Connect your application

Open Tools and SDKs in the customer portal for SDK access and installation instructions.

Pick the core SDK for your language. Add an Enforce adapter only when it owns the framework operation you want to control.

Apply a rule

Connect a policy decision to an action in your application, with the core SDK or an adapter for your agent framework.

See enforcement work

An allowed action proceeds. A denied action is blocked before it takes effect, so you can check the result against your application's records.

Follow the evidence

Review the policy result and reported outcome together in the customer portal, with session details available when you need them.

Once you've installed the Python core SDK from Tools and SDKs, set VERIPROOF_API_KEY to the application key from the application's Set up SDK tab. Then run this with test data:

import asyncio
from veriproof_sdk import Veriproof
async def test_action(context):
    context.throw_if_stopped()
    return {"receipt": "test-only"}
async def main():
    async with Veriproof.from_env() as vp:
        result = await vp.govern("payment.create", {"amount": 40}, test_action, facts={"payment_amount": 40})
        print(result.status, result.evidence_reference)
asyncio.run(main())

Create a Development policy that blocks payment.create when payment_amount is above your test threshold, and deploy the rule in Enforce. Then raise the amount and rerun the example to confirm the action is stopped before it runs. The sample function doesn't create a real payment. To send these cases to an authorized reviewer instead, set up human review.

The developer guide has the sample code and verification steps. A setup or telemetry integration can record context, but it can't block protected work, so check the framework matrix before you pick a package.