compliance section in the runtime config controls profile, data residency, retention, and allowed processors.
Compliance profile
Thecompliance.profile field selects a preset:
saas-default— Hosted Overlay configuration.onprem-minimal— Minimal on-prem with auth and billing disabled.enterprise-private— Private enterprise deployment with OIDC, S3, and OpenAI gateway.dpdp-strict— DPDP-strict with limited features, OIDC, S3, and disabled billing/automations/vector search.
docs/config/ for each profile.
Data residency
Setcompliance.dataResidency.required=true and list allowed regions in compliance.dataResidency.allowedRegions. The app will reject operations that would route data outside those regions.
Data residency applies to:
- Convex deployment region.
- Postgres app-data hosting region.
- Object storage bucket region.
- Vector search and embeddings provider region.
- LLM gateway routing when region-aware providers are configured.
Retention
compliance.retention configures per-category retention periods. Empty values mean no automatic deletion. Retention applies to audit events, conversation history, generated outputs, and file uploads.
DPDP
Thedpdp-strict preset demonstrates a DPDP-compliant configuration:
capabilities.billing=falseandbilling.provider=none.capabilities.webhooks=false.capabilities.vectorSearch=false.capabilities.automations=false.capabilities.apiKeys=false.auth.provider=oidcwith a customer-controlled IdP.storage.provider=s3with customer-owned storage.
Processor and external services
compliance.allowExternalProcessors=false disables third-party processors that are not in compliance.allowedProcessorIds. This is useful for deployments that must not use certain SaaS integrations.
Self-hosting obligations
Self-hosted and managed-cloud customers must follow the same source and branding rules:- Core code is
AGPL-3.0-or-later. - SDKs and contracts are
Apache-2.0. - Modified public-facing distributions require their own branding unless LayerNorm gives written permission.
Commercial license
For a commercial license, dedicated support, or a managed-cloud SLA, contact[email protected].