What is an AI data contract? From law article to AI decision
An AI data contract states which AI system may use a piece of data, for what purpose and under which condition, together with the law article it rests on.
5 min readRegulation
Legal basis
Transfer of personal data abroad
KVKK Article 9
In this article6 sections
Why a policy document is not enough
Organisations that process personal data write down how that data may be used. The rules sit in policies, data inventories and email threads. People read these documents. AI systems do not.
An assistant that answers support tickets asks for customer data many times a day. A policy document cannot decide any of those requests. It also cannot show afterwards which rule applied to which request. When the regulation changes, the change reaches the document but not the running system.
A data contract exists to close that gap. It puts the rule in a form that can be applied to every request an AI system makes, and it keeps the rule tied to the article it rests on.
What a data contract states
A data contract states which system may use a piece of data, for what purpose and under which condition. Each field answers one question.
| Field | What it answers | In the support assistant case |
|---|---|---|
| Data | Which data is covered | Customer table, name and phone |
| User | Which application or AI agent | Support assistant |
| Purpose | What the data may be used for | Answering support tickets |
| Condition | What must hold for the use | Only models with appropriate safeguards |
| Basis | The article the rule rests on | Transfer of personal data abroad |
| Version | Which rule is in force | Latest approved version, earlier kept |
Written as one sentence, the contract in the table reads like this.
The support assistant uses the customer table only with models that have appropriate safeguards.
The legal team reads this sentence and sees what is not allowed and why. The AI gateway applies the same contract as a rule. Both sides look at the same text, and nobody translates legal text into code by hand.
The rule comes from the law
In most tools the rule is written from the organisation's own policy. In a data contract the basis is the law article itself. In the example the basis is KVKK Article 9, the provision on the transfer of personal data abroad. This article makes transfers abroad subject to certain conditions. The condition in the contract comes from those conditions and can always be traced back to its article.
A language model helps on the way from article to rule, but it only proposes. When the evidence is clear, the proposal becomes a rule. When it is not, the decision goes to the person the organisation has chosen. An approval threshold sets which changes are asked about, and the organisation sets that threshold.
When an article changes, the rule built on it becomes a new version. The contracts that depend on that rule are found and go through the same path. The earlier version is not deleted, so past decisions are read with the version they were made under.
What happens at request time
When the support assistant wants to send data from the customer table to a model, the request first reaches the AI gateway. The gateway checks the request against the contract in force and decides. The same check can also be set up in a RAG filter or an MCP gateway.
The check uses metadata only. Which application is asking, which data it wants, which model will be used and for what purpose is enough. The content of the data is not read.
The assistant in the example makes three requests, and each gets a different decision.
Model in Türkiye. The contract's condition holds, so the request goes through.
AllowedNewly added model. Its safeguards are not yet known, so the decision goes to the person you chose.
Asked youModel abroad. The condition does not hold, so the request is stopped.
StoppedThe same structure can cover an AI agent too. Which data, tools and actions an agent may reach can also be written as a contract.
Every decision is recorded with its basis
Every decision is written to the record. The record answers the questions an auditor asks. What was requested, what was decided, which article and which contract version the decision rested on, and who approved it if it was asked.
The record of the stopped request reads as a plain sentence. Sending the customer table from the support assistant to the model abroad was stopped, with KVKK Article 9 as its basis.
The record only grows by new entries. Read backwards, it runs from the decision to the contract, from the contract to the rule, and from the rule to the law article. The audit pack is drawn from this record.
A first contract starts small
A data contract does not need a large project. Pick one AI system and one piece of data. Write down in one sentence what the data may be used for, who may use it, the condition and the article it rests on. That sentence is the first draft of a contract.
You can see how Privent turns law articles into data contracts on the AI data contracts page.