AI agents and the law
I am Karel Navrátil, a lawyer, and I build this website with an AI agent. So I know where a technical decision about a token, a sandbox or an MCP server turns into a legal question. I help companies that build agents, sell them or let them loose on their data and customers, and I advise so that both the developer and the managing director follow me.
What I help with
A contract for an agent
You deliver an agent to a client or buy one from a supplier. I will write a contract that covers the mandate, model changes, logs, subcontractors and above all who pays when the agent does more than it may.
An agent that buys and signs
Your agent places orders, accepts terms or pays. We set up a mandate that lives outside the model and can be proven in a dispute.
An agent that holds up
Before you let an agent loose on customers, we go through the architecture, the interface and the documentation together. Disclosure under the AI Act, personal data, permissions and confirmation of irreversible actions.
Other people’s agents on your website and API
Terms that let agents in through a login with their own scope of permissions, and records that show who did what.
When it has already happened
An agent deleted data, sent an e-mail where it should not have, or ordered ten times more. I will tell you who is liable, what to report to whom and by when, and how to claim the damage or fend off the claim.
What you ask
Who is liable when an AI agent causes damage?
Whoever runs the agent. An agent is not a person, it has no legal personality and nobody can sue it. A US court of appeals called Perplexity’s agent “a tool, not a person” in the dispute with Amazon in August 2026, and a tribunal in British Columbia rejected Air Canada’s argument that it was not responsible for its chatbot’s advice back in 2024.
When an agent performs a job for your client, under Czech law you are liable to the client under Section 2913 of the Civil Code regardless of fault. For damage caused by an operation you are released under Section 2924 only if you prove all the care that can reasonably be required. You prove it with what is in your code and configuration. A separate token for production, a backup out of the agent’s reach and a human confirming irreversible actions count as evidence. A ban written into the prompt does not.
Is a contract made by an agent binding?
As a rule yes, and it binds whoever used the agent. Only a person can be a representative, so the agent is a tool and the contract is yours. Your own agent’s mistake will not usually get you out of it, because under Section 583 a mistake makes a contract invalid only if the other party caused it.
That is why the limits of what an agent may do have to live outside the model. Keep the mandate, with a spending limit, a list of merchants and an expiry, as data and check it on the server. Under Section 562(2) records kept systematically, in sequence and protected against changes are presumed reliable. In a dispute you then hold what the user allowed and what they confirmed.
Does an agent have to disclose that it is AI?
Yes, since 2 August 2026. Article 50 of the AI Act requires that people know they are dealing with artificial intelligence at the latest at the first interaction. The Commission guidelines of July 2026 add that an agent must also say on whose behalf it acts.
This covers agents that make calls, write e-mails for users, negotiate, book or buy. Code completion in an editor is outside the obligation. A breach can cost up to 15 million euros or 3% of worldwide annual turnover.
When is an AI agent illegal?
What an agent does can be illegal, and whoever let it loose answers for that. An agent gets into trouble mainly like this:
- It talks to people without saying that it is AI or on whose behalf it acts.
- It gets around logins or creates fake accounts. LinkedIn’s dispute with hiQ, which collected data through fake accounts, ended with a judgment for 500,000 dollars. Intentional unauthorised access to a computer system is a crime in the Czech Republic under Section 230 of the Criminal Code.
- It sends personal data to tools the controller does not know about. An agent that connects an outside MCP server or a subagent at runtime can breach the data processing agreement under Article 28 GDPR before anyone notices.
- It manipulates. Article 5 of the AI Act has banned subliminal and manipulative techniques and the exploitation of vulnerabilities due to age, disability or social situation since February 2025. The fine is up to 35 million euros or 7% of turnover.
- It decides about people on its own. Article 22 GDPR allows decisions with legal effects based solely on automated processing only by way of exception.
How do you build an AI agent legally?
It starts with the architecture, and the contracts come after it. This is what it should have:
- Permissions outside the model. A token only for what the agent does, production access short-lived and for a specific task. Keys never in files the agent reads.
- The mandate as data. What the agent may do alone, what with confirmation and what never, with limits on amounts and counterparties.
- A human confirms irreversible actions. Deletion, payments and anything sent out pass a check outside the model.
- Disclosure. The first sentence says it is AI and on whose behalf the agent acts.
- A closed catalogue of tools. No MCP server or subagent without review, personal data only to processors the controller has approved.
- Logs of the whole chain. Who gave the task, which model ran, which tools the agent called and who approved what. With a retention period, because the logs hold personal data.
- Backups and a kill switch. Backups in another account with another key, and a switch that stops the agent from the outside.
The agent I build this website with has it written in its instructions that it deploys nothing without my explicit go-ahead. That is a sign on the door. The lock is a token the agent does not have at all.
What must a contract say when you deliver or buy an agent?
An ordinary development contract or SaaS terms do not reckon with an agent. I would add:
- The mandate in an annex: actions the agent takes alone, with confirmation and never.
- Who bears the consequences when the agent exceeds its mandate.
- Measurable output quality instead of a blanket AI disclaimer.
- Advance notice of a change of model, its version or the system prompt, and the right to refuse the change.
- A list of models, MCP servers and tools, new ones only with consent.
- No training on the client’s data.
- What is logged, for how long, and that the logs are handed over in a dispute.
- A liability cap. Under Section 2898 intent and gross negligence cannot be excluded.
- Stopping the agent at once and, at the end, handing over the configuration, the prompts and the evaluation set.
A contract with a supplier who uses AI in their work should say that they are liable for the output as if they had created it themselves. The law says so anyway, but then nobody has to argue about it in court.
Do the AI Act and the Cyber Resilience Act apply to me?
The AI Act touches an ordinary coding agent or company assistant less than it seemed in 2024. The obligations for high-risk systems apply only in listed areas, such as hiring or credit, and Regulation 2026/1744 has postponed them to 2 December 2027. Disclosure under Article 50 and the ban on manipulation under Article 5 apply to everyone, though.
The Cyber Resilience Act covers products with digital elements, so also an app or a library with an agent that you place on the EU market. A pure web service is usually outside it. Manufacturers must report actively exploited vulnerabilities from 11 September 2026, the other obligations apply from 11 December 2027.
Software placed on the market from 9 December 2026 also falls under Directive 2024/2853 on liability for defective products. Software is a product there, and the manufacturer is liable for damage caused by a defect regardless of fault. Only a natural person gets compensation under it, though, and for destroyed data only if they did not use it professionally.
Where are the limits nobody knows yet?
Some questions have no answer yet, not even from me. Two show it most.
- Under Section 1826a of the Czech Civil Code a consumer must click a button saying “order with obligation to pay”. What if their agent clicks it, the law does not say. The Commission is preparing a Digital Fairness Act for the end of 2026 that is meant to deal with digital assistants too.
- Unauthorised access to a computer system under Section 230 of the Criminal Code requires intent, and an agent cannot have it. The negligent variant in Section 232 covers only damage to data through gross negligence with a loss of at least a million crowns. But whoever knows what the agent can do and accepts it acts with indirect intent under Section 15.
Everything else I help with, from licences to brand protection, is on the Advising page. I work permanently with svoko.cz and I am registered with the Czech Bar Association (ČAK) under No. 21034. How the contract for legal services is made and what it costs is in the information on legal services.
This page is general information as of 8 October 2026 and Czech and EU law, not legal advice on your matter. For that I need to know your agent.