Québec Law 25 Compliance for AI Agents and Automation
Québec’s Law 25 governs the personal information your AI agents read, send and keep. We design agents with it in mind: personal information kept to what the task needs, permissions limited, important actions logged, retention periods set, and a person in the loop for decisions about people.
- Data reduced to what the task needs
- Permissions limited by action
- Important actions logged
- Retention periods set, logs included
Data minimized
The agent doesn’t get everything. The workflow states which data is needed, where it goes and how long it must be kept.
Controlled actions
Reading, drafting, sending, changing, creating a task or updating a CRM are separate permissions, each with its own validation threshold.
Traceability and escalation
Important actions are logged. Sensitive, ambiguous or risky cases go to a person, with the context.
What is Québec Law 25?
Law 25 is the common name of the Québec act adopted in 2021 that modernized the province’s privacy laws. For businesses, it amended the Act respecting the protection of personal information in the private sector, and its new obligations came into force in stages in September 2022, 2023 and 2024. The Commission d’accès à l’information (CAI) is the body that oversees it.
For an AI project, the questions are practical: which personal information will the agent read, where will it go, who decides, and how long is it kept.
Four sections of Law 25 that come up in AI projects
Section 3.3: any project to acquire, develop or overhaul an information system involving personal information requires a privacy impact assessment, proportionate to the sensitivity of the information.
Section 17: before personal information is disclosed outside Québec, or a provider outside Québec is entrusted with collecting, using, disclosing or keeping it, the business must carry out an assessment, and the disclosure must be covered by a written agreement.
Section 12.1: when a decision is based exclusively on automated processing, the person concerned must be informed and given the chance to submit observations to a staff member who can review the decision.
Section 23: once the purposes have been achieved, the information is destroyed or anonymized, subject to any retention period provided by law.
These are sections of the Act respecting the protection of personal information in the private sector, as published by the Commission d’accès à l’information.
What it changes in how an AI agent is built
First, we write down which personal information the workflow touches, and remove what it doesn’t need. We state where it is stored and where it is processed, in writing, before we start. We keep a person in the loop for any decision that affects someone. And we set a retention period, including for the logs and the histories kept by the tools.
Where the data is stored and processed
Storage on servers in Québec is available. Processing by the AI services we use may take place outside Québec, notably in the United States. That is the situation section 17 deals with, which is why you get it in writing before the project starts, and why personal information is kept to a minimum.
Law 25 in an AI project: what each section asks
| Section | What the law asks | In an AI project |
|---|---|---|
| 3.3 | A privacy impact assessment for an information system project | Assess the project before the agent goes live |
| 17 | An assessment and a written agreement before data leaves Québec | Know where the AI service processes the data |
| 12.1 | Inform the person of a fully automated decision and allow a review | Keep a person in decisions about people |
| 23 | Destroy or anonymize once the purposes are achieved | Set retention for logs and tool histories |
Sources
- Commission d’accès à l’information: main changes under Law 25 (French)
- Commission d’accès à l’information: towards compliance with the private sector Act, new responsibilities of businesses (French)
- Commission d’accès à l’information: Act respecting the protection of personal information in the private sector, administrative version (French)
- Commission d’accès à l’information: guide to privacy impact assessments (French)
Checks
What we check before an agent goes live
One workflow at a time: clear permissions, logs, escalation and a set retention period.
Frequently asked questions
Does Law 25 apply to small businesses?
Yes. The Act covers the personal information a person collects, holds, uses or discloses in carrying on an enterprise. Privacy impact assessments are proportionate to the sensitivity, purpose, quantity, distribution and medium of the information (section 3.3).
Does Castor give the AI agent access to all our data?
No. Access is limited to what the chosen workflow strictly needs.
How do you keep a record of what the agent does?
Important actions are logged: who or what triggered the action, which data was used and what validation took place.
Does Law 25 require my data to stay in Québec?
No. Under section 17, personal information can be disclosed outside Québec if an assessment shows it would receive adequate protection and a written agreement covers it. With Castor IA, storage on servers in Québec is available; processing by the AI services may take place outside Québec, notably in the United States, and we tell you in writing before we start.
Can an AI agent make decisions on its own under Law 25?
For a decision that affects a person, we keep a person in the loop. When a decision is fully automated, the law requires informing the person and letting them have it reviewed by a staff member (section 12.1).
Is this page legal advice?
No. This page is general information: it describes a cautious, practical approach. Your precise obligations should be confirmed with your legal advisors.