- The DPDP Act applies to AI systems wherever personal data of people in India flows: in prompts, in documents retrieved into context, in fine-tuning data and in logs.
- Its core duties (purpose-bound consent, security safeguards, breach notification, and honouring access, correction and erasure requests) all need engineering in an AI system, not just a policy.
- The practical work: map where personal data enters and leaves the system, minimize and redact it before model calls, keep a record of each call, and make erasure reach indexes, caches and logs.
- The DPDP Rules were notified in November 2025, with most obligations phased in over 18 months. AI systems being built now should be designed for them from the start.
India's Digital Personal Data Protection Act, 2023 (the DPDP Act) applies to any system that processes the digital personal data of people in India, and AI systems are no exception. A support assistant, a document pipeline or an internal copilot touches personal data in more places than a traditional application: the prompt, the retrieved context, the model provider, the logs. DPDP Act AI compliance is therefore mostly an engineering question: can you show where that data went and what happened to it?
This is an engineering guide, not legal advice. Confirm your obligations with counsel.
01Does the DPDP Act apply to AI systems?
Yes, whenever they process digital personal data of individuals in India, including data processed outside India when it relates to offering goods or services to people in India. In the Act's terms, the business deciding why and how data is processed is the Data Fiduciary; an AI vendor or model provider processing on its behalf is a Data Processor; the individual is the Data Principal. The Data Fiduciary stays responsible for what its processors do.
02Where does personal data flow in an AI system?
More places than most teams map:
| Where | Example | Why it matters |
|---|---|---|
| Prompts | A customer's message with their name and order details | Sent to a model provider, possibly outside India |
| Retrieved context | HR documents pulled into an internal assistant's answer | Permissions and purpose must still apply |
| Embeddings and indexes | Chunks of documents containing personal data | Must be updated or removed when the source is erased |
| Fine-tuning data | Past tickets used to train a model | Hard to remove later; needs a clear purpose and basis |
| Logs and traces | Full prompts and outputs kept for debugging | Often the largest and least governed copy |
| Caches | Stored responses keyed on prompts | Another copy that erasure must reach |
03What does the DPDP Act require of an AI system?
The duties that bite hardest in AI systems:
- Lawful purpose and consent. Personal data is processed for a specified purpose, with consent that is free, specific, informed and unambiguous, or under a legitimate use the Act allows. Reusing support conversations to train a model is a different purpose from answering the customer.
- Notice. People are told what is collected and why.
- Reasonable security safeguards to prevent a personal data breach, including at processors.
- Breach notification to the Data Protection Board and affected individuals.
- Rights of Data Principals: access to a summary of their data, correction, erasure and grievance redressal.
- Erasure when the purpose is served, unless the law requires keeping it.
- Children's data needs verifiable parental consent, and tracking or targeted advertising directed at children is restricted.
- Cross-border transfers are allowed except to countries the government restricts.
The DPDP Rules, 2025 were notified in November 2025 and phase the obligations in, with most applying 18 months after notification. Large or sensitive processors may be designated Significant Data Fiduciaries, with additional duties such as audits and impact assessments.
04How do you engineer DPDP compliance into an LLM system?
Five practices, each of which we would build into any AI system handling personal data of people in India:
1. A data map per model call. Record which data categories each call can include, which provider and region it goes to, and under which purpose (see LLM data compliance: where your data goes).
2. Minimize and redact before the model. Send the model what the task needs. Replace identifiers with placeholders where the task does not need them, and restore them after.
def prepare_prompt(ticket, purpose):
policy = PURPOSES[purpose] # e.g. "support_reply": allowed fields only
fields = {k: v for k, v in ticket.items() if k in policy.allowed_fields}
text, mapping = pseudonymize(fields, kinds=policy.redact) # names, phones, emails -> tokens
log_call(purpose=purpose, categories=policy.categories, provider=policy.provider, region=policy.region)
return text, mapping # mapping stays inside our boundary3. Permissions in retrieval. An assistant must only retrieve what the person asking may see (see filter by permission before you rank).
4. Erasure that reaches every copy. An erasure request should remove the source record, its chunks and embeddings, cached responses and any logs beyond what the law requires you to keep. Design the index so that is one operation, not a manual hunt.
5. An audit trail you can produce. For any decision or answer, be able to show what data was used, which model processed it and when (see AI audit trail).
If you cannot show where a prompt went, you cannot show that you complied.
05Can we use foreign LLM providers under the DPDP Act?
The Act permits transfers outside India except to countries the government restricts, so using international model providers is not prohibited in itself. You still need the provider to act as your processor under a contract, with appropriate safeguards, and you remain responsible for what happens to the data. Many teams also use regional endpoints, no-training terms or models hosted in their own infrastructure for the most sensitive data. Sector regulators, for example in finance, may add stricter requirements on where data is stored.
06Where should a company start?
Map the flows in the table above for one AI system, find the copies nobody owns (usually logs and caches), and fix minimization and erasure there first. If the system is already live, an AI Audit covers exactly this, layer by layer. Building something new? Our RAG development and AI agent development work designs for it from the first commit.