Terms of service do not give an AI agent a GDPR lawful basis for every step

Ulf Aslak Lai photo Ulf Aslak Lai Published 31 Oct 2026 AI drafted 9 min read
Terms of service do not give an AI agent a GDPR lawful basis for every step

Your product has an AI assistant, and a user types one sentence into it: "Find a time next week for a call with Maria and send her an invite." The agent reads the user's calendar, searches their inbox for Maria's last email to find her address and time zone, sends her the invite, and saves a note that Maria prefers mornings so the next request goes faster. Your platform also keeps the run to improve the agent. The user asked for one thing, and the agent processed personal data in five steps, four of which involve Maria, who has never heard of your product.

When a customer's privacy reviewer, or a regulator, asks which lawful basis covers each of those steps, "it is in our terms" is no longer an answer. On 8 October 2026 the UK's data protection regulator, the ICO, wrote that "a user's instruction to an agent doesn't automatically provide a lawful basis for all the processing that follows", and neither do your terms of service 2. The contract basis covers only the steps that are objectively necessary to do what the user asked, and only for the user's own data, and EU courts and regulators read it the same way. Every other step needs another basis, usually legitimate interests backed by a written assessment. A step with no basis at all is unlawful processing, in the top tier of GDPR fines 11.

The ICO's text is a public consultation, called a call for evidence, that sets out its "current thinking" on AI agents 1 with a closing date for comments of 20 November 2026 13. It creates no new law, but the UK GDPR it applies is in force today (the ICO's announcement). If you sell to businesses, your customer usually picks the bases, and the B2B section below explains why you should still write the step list yourself.

When does "necessary for a contract" cover a step?

When two conditions hold. The person whose data it is must be party to the contract, and the step must be objectively necessary to deliver what that person asked for.

The first condition is in the text of the law. Article 6(1)(b) allows processing "necessary for the performance of a contract to which the data subject is party" 5. The ICO's guidance on the contract basis says it "does not apply if you need to process one person's details but the contract is with someone else" 6. Maria has no contract with you, so for her data this basis is not available, however necessary the step is.

The second condition is where most agent steps fail. The ICO says the contract basis "only applies where data handling is objectively necessary to provide the service requested by the person" 2. The EU reads it the same way. In a 2023 judgment on how Meta justified its data processing for Facebook, the Court of Justice of the EU, the EU's highest court, held that the processing must be "objectively indispensable for a purpose that is integral to the contractual obligation", and that it is irrelevant that the processing is mentioned in the contract or "merely useful" for it 7.

For an agent, I take the service the user requested to be the task they typed. A step the agent chose because it was useful, such as remembering something for later, falls outside it.

Does your legal documentation match what you ship?

Lawcel watches your product changes and flags the moment your terms or privacy policy fall out of sync, then proposes the edits for your team to approve and publish.

Get started

Which steps of an agent run need a different basis?

Run the two conditions over the five steps. Here I assume you are the controller for all five, the company that decides why and how the data is used, as you are when you sell to individuals.

Step Whose data Contract covers
Read calendar User User's
Search inbox User, Maria User's
Send invite User, Maria User's
Save memory Maria None
Keep the run User, Maria None

The first three steps are what the user asked for, so the contract covers the user's own data in them. Maria's data in the same steps needs another basis, usually legitimate interests. I would call that an easy case: Maria has been emailing the user, and an invite from them is the kind of use she would expect.

The memory note fails both conditions. It is about Maria, and nobody asked for it. The ICO says that "an agent's ability to identify a new use for personal information doesn't mean that the use is automatically compatible with the original purpose", and it names information kept from one task to support a future one as the case that raises that question 3.

Keeping the run to improve the agent fails for the user too. The EDPB, the body of all EU data protection authorities, does not consider the contract basis "generally" appropriate for "improving a service or developing new functions within an existing service" 8.

The same exercise works on any agent. Its tool list is the list of steps it can take, which is also where the recipients your privacy policy has to name come from.

What can replace the contract basis?

Usually legitimate interests. Sometimes the better answer is to redesign or drop the step, and more rarely it is to ask for consent.

Legitimate interests fits steps like the invite to Maria. The ICO accepts it may be available for some agent processing, and names training the model that runs the agent as a likely case, but organisations "must not assume that this lawful basis applies by default" and "may only rely on it if a legitimate interests assessment is in place" 2. That assessment is a written record of three tests: is there a legitimate interest, is this use of the data necessary for it, and do the person's interests override it 9. For the invite, I would expect the record to be short. For a memory that builds a profile of everyone the user emails, the third test is much harder to pass.

Redesigning or dropping the step is often the cheapest answer. If the memory feature is worth having, I would make it something the user turns on, store only what the user's own tasks need, and let them see and delete it. Once the user has asked for memory, I think storing their own data in it can count as necessary for a service they requested. Maria's data in the memory still needs another basis.

Consent has a high bar: freely given, informed, specific, unambiguous and revocable 2. A confirmation prompt before the agent acts is good design, and the ICO encourages approval steps. At most it gives you the user's consent, because Maria never sees the prompt.

Who needs the lawful basis if my product is B2B?

Usually your customer, for the steps its staff ask the agent to do. When a business uses your product, it is normally the controller for what the agent does with its data, and it picks the basis. The people typing instructions are its employees, and their employment contracts are not what an agent's scheduling or research is necessary for. The people they email have no contract with the business at all. So in my view the contract basis rarely fits, and the customer will mostly rely on legitimate interests.

You are a controller yourself for any step you run for your own purposes, such as keeping runs or training a shared model on customer data. The ICO also says organisations that "determine or exert sufficient influence over the purposes and means" of processing through an agent "can be controllers", and that for agents "decisions about protocols, permissions and access controls may more heavily influence the means of processing" 4. How far that reaches is not settled.

So my advice to a B2B vendor is to do the whole exercise as if you were the controller. Your customer needs the step list to choose its bases, the list belongs in your documentation and your DPA anyway, and it covers you if the ICO's broader reading of controller turns out to apply to you.

What should you do if you ship an AI agent?

If you ship an AI agent that acts on users' instructions, you need a lawful basis for each step it takes with personal data, or else those steps breach Article 6, which sits in the UK GDPR's top tier of fines: up to £17.5 million or 4% of worldwide turnover 11.

  1. List the steps. Take the agent's tool list and write one row for each thing it can do with personal data: read, search, send, remember, train. Mark whose data each row touches and whether the task the user typed needs it.
  2. Write a basis for every row. The contract covers rows that are the user's own data and needed for the task. For the rest, write a legitimate interests assessment, ask for valid consent, or redesign or remove the step. In a B2B product, give the finished list to your customers, in your documentation and your DPA.
  3. Tell the people the agent contacts. Maria's data came from someone else, so Article 14 applies: unless an exemption applies, the first message the agent sends her has to carry, or link to, who is processing her data, why, on what basis and where it came from 12. That is a change to what the agent sends, on top of the policy text.
  4. Update the privacy policy. Article 13 requires the legal basis for each purpose 10, so memory and training each need their own line.
  5. Check where the agent runs. If it runs on the user's machine, as a browser extension or desktop app, and reads or stores information there, the UK's device storage rules (PECR) require consent unless that is strictly necessary for a service the user asked for 2.

If you sell in the UK and want a say in the final guidance, the response form takes answers until the closing date.

Each new tool or memory you give the agent adds a row to this list. We build Lawcel, which reads pull requests against a company's legal documents and flags the ones that change what the privacy policy has to say, so a change like that reaches whoever owns the policy before it ships.

FAQ

No. It sets out the ICO's current thinking and asks for views, with a closing date of 20 November 2026. The rules it applies, such as Article 6 of the UK GDPR, are binding today.
The ICO regulates the UK. In the EU, the Court of Justice and the EDPB read the contract basis the same way: the processing has to be objectively necessary for the contract.
Often, yes, but the ICO says you may only rely on it if a legitimate interests assessment is in place. Write one for each purpose before the feature ships.
Only from the user, and only if it meets the consent conditions. It gives you nothing for the other people whose data the agent handles.

References

  1. Information Commissioner's Office, The ICO's call for evidence on agentic AI - accessed 31 Oct 2026
  2. Information Commissioner's Office, Agentic AI call for evidence, Theme 6: Lawful processing of personal information in agentic AI - accessed 31 Oct 2026
  3. Information Commissioner's Office, Agentic AI call for evidence, Theme 5: Fairness and purpose limitations in agentic AI - accessed 31 Oct 2026
  4. Information Commissioner's Office, Agentic AI call for evidence, Theme 3: Allocating and evidencing accountability across agentic AI systems - accessed 31 Oct 2026
  5. UK GDPR, Article 6 (lawfulness of processing), legislation.gov.uk - accessed 31 Oct 2026
  6. Information Commissioner's Office, A guide to lawful basis, Contract - accessed 31 Oct 2026
  7. Court of Justice of the European Union, Case C-252/21, Meta Platforms v Bundeskartellamt, judgment of 4 July 2023 - accessed 31 Oct 2026
  8. European Data Protection Board, Guidelines 2/2019 on the processing of personal data under Article 6(1)(b) GDPR in the context of the provision of online services to data subjects, version 2.0 - accessed 31 Oct 2026
  9. Information Commissioner's Office, What is the 'legitimate interests' basis? (the three-part test) - accessed 31 Oct 2026
  10. UK GDPR, Article 13 (information to be provided), legislation.gov.uk - accessed 31 Oct 2026
  11. UK GDPR, Article 83 (administrative fines), legislation.gov.uk - accessed 31 Oct 2026
  12. UK GDPR, Article 14 (information where data is not obtained from the person), legislation.gov.uk - accessed 31 Oct 2026
  13. Information Commissioner's Office, Agentic AI call for evidence, consultation page (start date 8 October 2026, closing date 20 November 2026) - accessed 31 Oct 2026

About the author

Ulf Aslak Lai

Ulf Aslak Lai

Co-founder, Chief Technology Officer

Ulf is Co-founder and CTO at Lawcel. He leads engineering architecture for connectors, analysis pipelines, and the safeguards needed when automation touches regulated customer content.

  • Platform architecture
  • Data governance
  • ML/AI systems
GDPR

Your AI agent's tool list is the recipient list your privacy policy has to name

Giving a language model tools means the model decides at run time which companies receive personal data. GDPR Article 13(1)(e) requires the recipients, or categories of recipients, in the notice you give when data is collected, and adding recipients later means telling the people whose data you already hold. Pin the tool list, then disclose what is on it.

GDPR

Let users limit, confirm and review your AI agent's actions. Spain's privacy regulator advises it.

Spain's data protection authority, the AEPD, said on 27 October 2026 that companies behind AI agents should give users seven controls, starting with permissions that separate reading from acting, confirmation before high-impact actions and a history of what the agent did. It is advice, but enterprise customers reviewing an agent feature can now check it against the list.

GDPR

Training a shared AI model on customer data needs each customer's written approval

A SaaS vendor that trains a shared model on customer data needs more than a DPA line saying it may "improve our services". France's CNIL says each customer must first check the use fits why it collected the data and authorise that specific use in writing, and the vendor then carries a controller's duties, including its own legal basis and informing the people whose data it is.

GDPR

"By using the Service, You agree" in a privacy policy is not consent under GDPR

If a privacy policy names consent for marketing and the only consent behind it is a line like "By using the Service, You agree", the EDPB's guidelines leave that marketing with no legal basis: using a service is not consent, and a company cannot swap to legitimate interest once its consent proves invalid. What works is a separate opt-in, such as an unticked box, and a record.