OpenPolicy
Open-source SDK for version-controlled, testable privacy policies and consent management. Treat privacy like auth or payments in your stack.

PolicyStack provides composable building blocks for privacy and consent management, enabling teams to handle these critical aspects the same way they manage authentication, payments, or feature flags — as code.
Key Features
- Version-controlled policies: Define and manage privacy policies in code, enabling Git-based workflows and version history.
- Testable consent flows: Build and validate consent mechanisms programmatically with built-in testing support.
- Modern app architecture: Designed for composability and integration with existing tech stacks.
- Jurisdiction-aware: Supports EEA, US-CA, and other regional compliance requirements out of the box.
- Automated privacy policies: Generate human-readable privacy policies directly from your code configuration.
- Cookie management: Handle essential, analytics, and marketing cookies with proper consent tracking.
- Data mapping: Define and track collected data categories with their legal bases and retention policies.
- Developer-first: SDK with TypeScript support and clear documentation for rapid integration.
Tech / Self-Hosting
PolicyStack is open-source and can be self-hosted. The core SDK is available via npm packages, and the system is designed to integrate seamlessly with modern web applications. Documentation provides setup guides for both cloud and self-hosted deployments.