Privacy engineering

AI Agent PDPL Compliance

Turn a Saudi agent’s personal-data flows into an evidence-based privacy review: purposes, roles, processors, rights, retention and incident handling, with a worked control matrix.

An AI agent’s privacy position depends on what it does with personal data throughout the workflow. A Saudi server, a consent checkbox or a vendor statement cannot establish compliance for an entire application. The review must cover the collection interface, retrieval, model processing, tool actions, operational logs, support access and eventual deletion.

This guide is for a Saudi project owner working with privacy, legal and engineering teams. It translates a defined agent use case into a reviewable evidence pack. Regulatory references were checked on 22 October 2026. The organisation’s applicable legal basis, sector rules and contractual arrangements require review for its actual activity; the example below is an engineering design exercise, not a compliance certification.

Identify the processing and the responsible roles

The Saudi Personal Data Protection Law covers information that directly or indirectly identifies an individual and defines controller and processor roles. Its scope includes relevant processing in the Kingdom and specified processing concerning individuals residing there by parties outside it. Establish the role of each participant from its actual decisions and processing, rather than its marketing label.

Take an illustrative equipment-inspection enquiry agent. A prospect provides a name, work contact, requested inspection and site information. The agent finds relevant service information, prepares a case and routes it to an employee. The organisation determines why the enquiry is processed. A hosting provider, model service or implementation supplier may have processing responsibilities that need to be assessed and contracted; not every recipient automatically has the same role.

Draw the process before selecting the model. Include an employee who exports a conversation to investigate a fault, a monitoring system that receives tool arguments and a provider that can access support diagnostics. A component can be relevant even when it does not appear in the customer-facing interface.

Separate the purpose from a convenient reuse

Write one purpose for the proposed release: receive and route an inspection enquiry using the minimum information needed to respond. Ask the privacy owner to identify and document the applicable legal basis. If a team later wants to use the enquiries for marketing, staff profiling or model improvement, treat that as a separate review. Access to a dataset does not itself justify a new purpose.

Where consent is the chosen basis, design how it is requested, recorded and withdrawn. Where another basis is relied on, document the reasoning and applicable conditions. Do not place every activity under one broad checkbox or assume that a business contact is outside personal-data rules. The Implementing Regulation addresses transparency, consent, legitimate interests and processor arrangements; these need activity-specific interpretation.

For the example, keep the initial collection interface focused. The team may need a contact channel and a description of equipment. It should challenge a request for a national identity document, personal financial details or unrelated employee information. If a user volunteers unnecessary sensitive content, route it into an agreed restricted handling process instead of spreading it through prompts and analytics.

Build a field-to-purpose matrix

SDAIA’s data-minimisation guidance supports assessing whether collected information is necessary for the defined purpose. The following matrix is an original working design for the enquiry example. It is not an official form and does not decide the legal basis.

Illustrative privacy design for an inspection-enquiry agent
Data or operationBusiness needProposed implementation boundaryEvidence to review
Contact name and channelRespond to the enquiryKeep in the case system; send to a model only if required by the taskField map and captured model request
Equipment descriptionSelect relevant service informationRemove unrelated identifiers before retrieval where feasibleRepresentative redacted inputs
Site informationAssess service coverage and plan follow-upAsk for the detail needed at this stage; avoid speculative collectionPurpose justification and interface test
Conversation historyMaintain necessary case contextLimit the context sent on later turns; separate approved records from temporary stateRetention schedule and context trace
Operational telemetryInvestigate failures and verify actionsPrefer case references and event metadata over full raw contentLog sample and access permissions
Support exportResolve a specific authorised incidentRequire a purpose, recipient, time limit and controlled copyExport approval and deletion evidence

Test this matrix with real-shaped synthetic inputs and appropriately approved redacted samples. Inspect what is actually transmitted, not merely the configuration screen. A field hidden in the interface may still be included in an API object. A tool response may return an entire customer record when the agent needs only a service eligibility flag.

Assess processors and transfers as part of the architecture

Request a clear description of each supplier’s processing purposes, data categories, subprocessors, retention, support access and incident notification route. Check whether submitted data can be used for the supplier’s independent purposes and what account settings or contractual terms govern that use. An assurance about model training does not answer questions about logs, abuse monitoring or support copies.

Record every recipient and location in the data-flow diagram, including onward processing. If personal data is transferred or disclosed outside the Kingdom, review the applicable transfer regulation and legal conditions. PDPL is not a blanket statement that all processing must occur on one Saudi server. Conversely, a lawful processing purpose does not automatically authorise every transfer. The data-residency guide provides the separate flow-by-flow assessment.

Make rights operational, not just a privacy-policy paragraph

Prepare a procedure for receiving, verifying, routing and completing data-subject requests. Use an identity check appropriate to the request without collecting excessive new information. The case system should help the authorised team locate relevant records; a conversational claim that “I deleted your data” is not evidence that deletion occurred.

In a correction test, change an enquiry’s contact detail in the authoritative system and check whether old values remain in searchable copies, cached context and pending tasks. In a retrieval test, ensure that providing one person’s records does not expose another person’s details. In a deletion test, distinguish data that can be removed from material subject to a documented lawful retention requirement.

Define how the service behaves while a request is being resolved. If the accuracy of a critical field is disputed, the operational team should know whether to suspend the affected action. These procedures connect privacy to the human-oversight model; they should not depend on the model inventing a legal answer.

Retention must reach derived stores and backups

SDAIA’s destruction and anonymisation guidance distinguishes destruction from retaining an archived or backup copy. It also addresses anonymisation and pseudonymisation as different treatments. For an agent, assess source records, extracted chunks, indexes, conversation state, exports and logs individually. Do not assume that replacing a name with a code makes information anonymous.

Create a retention schedule by purpose and record class, with a trigger, owner, deletion mechanism and verification method. This guide does not prescribe a universal number of days. A short-lived debugging copy and an approved business record may have different justified requirements. Coordinate backup lifecycle and restoration procedures so an old restore does not silently repopulate records that should no longer be used.

Run a controlled deletion exercise with a test identity and document what was removed, what remains for a lawful reason and what action follows a restore. Evidence should demonstrate the process without recreating the sensitive content in the deletion log. The audit-trail design explains how to retain useful event evidence without indiscriminate transcript capture.

Prepare the assessment and incident decisions before launch

Assess the impact-assessment triggers in Article 25 of the Implementing Regulation against the proposed processing, including relevant sensitive-data, dataset-linking and automated-processing circumstances. Document the conclusion and required work. Determine whether a data protection officer and registration obligations apply under the relevant rules; a project should neither assume an exemption nor invent a universal appointment requirement.

For breaches meeting Article 24’s notification threshold, the Implementing Regulation sets a maximum of 72 hours from awareness for notifying the competent authority. It also provides for notifying affected individuals without undue delay when its conditions apply. Build a documented escalation route so the authorised incident team can make these determinations promptly; an agent must not decide on its own that a report is unnecessary.

Exercise a concrete scenario: a tool response includes another customer’s contact details and the model repeats them. Can the team identify affected cases, stop the offending path, preserve proportionate evidence, contact the processor and assess notification? The security architecture should support containment, while privacy and legal owners determine the applicable obligations.

The launch evidence pack

Assemble the approved purpose and basis, role and supplier map, data-flow diagram, notices, retention rules, rights procedures, applicable assessments, security tests and incident contacts. Link these to a named release and record who approved remaining limitations. SDAIA’s processing-activities records guidance provides official support for documenting processing; an agent’s technical trace is not a substitute for that organisational record.

Review the pack when the agent gains a new data source, recipient, purpose or authority. A model-only change may also alter relevant processing and supplier terms. The governance-policy guide sets out how to make these changes visible and assign approval responsibility.

For AI agent development with Open for AI, begin with a redacted data-flow description and the privacy requirements already approved by your organisation. Discuss how those requirements translate into the agent’s design and acceptance evidence before production personal data enters the workflow.

LET’S WORK TOGETHER

Ready to build what’s next?

Tell us about your project or the platform you want to explore, and we’ll come back to confirm a suitable time.