integrations

CrewCheck + Python SDK Integration

Integrate CrewCheck with Python SDK for DPDP-compliant AI governance. Step-by-step setup guide for sdk integration with PII redaction and audit trails.

Overview

Integrate CrewCheck with Python SDK to add DPDP-compliant AI governance to your sdk workflows. The CrewCheck Python SDK provides a drop-in replacement for OpenAI and Anthropic clients with built-in governance. Install with pip and change one import.

Quick setup

``` pip install crewcheck # from openai import OpenAI → from crewcheck import OpenAI ```

Once configured, all Python SDK traffic passes through CrewCheck's governance layer. Indian PII (Aadhaar, PAN, UPI, mobile numbers) is automatically detected and redacted. Policy packs are evaluated on every request. Every interaction is logged to the tamper-evident audit trail.

What you get

• Automatic Indian PII detection and redaction for all Python SDK interactions

• DPDP Act 2023 compliance controls applied at the request boundary

• Real-time cost tracking in ₹ for every Python SDK API call

• Tamper-evident audit trail for regulatory reporting

• Shadow Mode to test governance controls before enforcement

• Dashboard visibility into Python SDK-specific metrics and compliance scores

Next steps

After setting up the Python SDK integration, configure your policy packs in the CrewCheck dashboard. Start with Shadow Mode to observe detection rates and policy impacts, then promote to enforcement when you're confident in the configuration.

For production deployments, enable circuit breakers to automatically halt Python SDK traffic if PII detection rates or costs exceed your configured thresholds.

#python-sdk#integration#sdk

Ready to govern your AI workflows?

Try CrewCheck's live demo — no sign-up required.

Try Live Demo