Emerging Tech19 min readOct 18, 2026

What Should an AI Agent Development Contract Include? A 14-Clause Checklist for 2026

Bhavesh Barot - Author

Bhavesh Barot

Founder & CEO

Free assessment

Find Out if an AI Agent Can Take the Task

Name one task your team repeats every day. We tell you whether an agent can do it or whether a tool you can buy already does, and we build a demo on your own sample files before you sign.

Bhavesh, our founder, reads every request and usually replies within 2 to 3 hours.
At a walnut table in front of a red brick wall, a bald man with a white beard in a dark green cardigan reads a contract page while a young woman with long braids in an olive shirt sticks an orange tab on another page.

"A buyer’s checklist for an AI agent development contract in 2026: who owns the code, prompts and evaluation sets, how your data is used, returned and deleted, what happens when a model is retired, acceptance criteria, four ways to structure ongoing support, service levels, exit and handover, and the US, UK and Australian rules that change the contract."

Key Takeaways

  • 1In the UK, the first owner of a commissioned work is the person or organisation that created it, not the commissioner, unless agreed otherwise in writing (UK IPO, read 18 October 2026).
  • 2In the US, a commissioned work is made for hire only if it is in one of nine listed categories and both parties sign a written agreement saying so; computer programs are not on the list (US Copyright Office Circular 30).
  • 3In Australia, a contractor automatically owns the IP they create unless the contract says the hirer owns it (business.gov.au, read 18 October 2026).
  • 4Under UK GDPR, a processor contract must require deletion or return of personal data at the end, at the controller’s choice (ICO, Article 28 guidance, under review after the Data (Use and Access) Act).
  • 5Model providers set retirement notice: at least 6 months for generally available OpenAI models, at least 60 days for publicly released Anthropic models, at least 45 days for shorter-term Google Cloud models (provider pages, 18 October 2026).
  • 6Mayer Brown (16 June 2026) recommends acceptance testing against an agreed evaluation set, because one successful test does not prove an AI agent will perform in production.
  • 7Ongoing support can be structured four ways; the contract should name the structure, a defect cover period, and how changes are requested and approved.

The short answer

An AI agent development contract should state who owns the code, prompts, evaluation sets and any fine-tuned model; that your data is used only for your project and returned or deleted at the end; which accounts and API keys sit in your name; how model changes are handled; and how support after launch is structured and priced.

This is a buyer's checklist, not legal advice. We build custom AI agents, so we sit on the other side of these contracts; weigh the page with that in mind. Every legal point below was read on the government or regulator page that states it, on 18 October 2026, and is linked. Have a lawyer in your country review your contract.

How we made this page

On 18 October 2026 we read the top 10 Google results and the People Also Ask questions for the main contract searches in the US, UK and Australia (DataForSEO). The same day we asked 36 buyer questions across ChatGPT, Gemini, Claude, Perplexity and Google's AI answers, and read the pages they cited. One of those questions is the one this page answers: what an AI agent development contract should include about data ownership and ongoing support. Written by Bhavesh Barot, founder of FactoryJet.

When ChatGPT answers that question, it searches for clause names, for each country's own government guidance, and for four phrases in particular: data ownership, service level agreement, return and deletion, and controller and processor. The law-firm pages it cites, from Mayer Brown and Morgan Lewis, are written for large enterprises and their lawyers. This page is for a company of 20 to 500 people signing its first AI build: a founder, an operations lead or a finance director who has a software development agreement on the desk and wants to know what to add before signing it.

The page covers the 14 clauses, then the two halves of the question most guides skip: how ongoing support can be structured, and which rules change in the US, the UK and Australia.

The 14 clauses at a glance

Read the table as a checklist. The middle column is what the AI contract should say; the right column is the wording that should make you stop and ask a question.

ClauseWhat to writeRed flag
1. Ownership of codeAll custom code and the repository are assigned to you on payment, or from day oneVendor keeps the code and grants you a licence
2. Prompts and evaluation setsPrompts, system instructions and test sets built for you are yoursPrompts called vendor know-how
3. Data use limitsYour data, prompts, outputs and logs are used only for your project; no trainingData may be used to improve services
4. Data return and deletionReturn or delete every copy at the end, at your choice, with written confirmationSilence on what happens at the end
5. Accounts and API keysAI provider and cloud accounts in your company nameKeys only in the vendor account
6. Model retirement or repricingWho moves the agent to a new model, who retests, who paysVendor may change models at will
7. Acceptance criteriaAgreed test set, pass rate and forbidden errors, signed off by youAcceptance at vendor discretion
8. Security and incident noticeLeast-privilege access, named sub-processors, incident notice within an agreed timeGeneric security wording
9. Human approval and audit logsNamed actions need a person to approve; every action is logged and you can read the logAgent acts on payments with no review
10. Liability and indemnityCaps that fit the harm the agent could cause; indemnity for IP claims on delivered workCaps that protect only the vendor
11. Ongoing support structureNamed structure, defect cover period, response times by severityMonthly minimum starting before go-live
12. Change requestsEach change described, quoted and approved in writing before work startsChanges billed after the fact
13. Exit and handoverList of what you receive, transition help, credential rotation, data export formatNo exit clause
14. Governing lawYour country, or one you can afford to dispute inA court far from your business

Why a standard software development agreement is not enough

A standard software development agreement (also sold as a software development contract agreement template, form, format, sample or example) handles scope, milestones, payment, warranty and a general IP clause. Those still matter. What it was not written for is software whose behaviour depends on a model you do not control, whose answers vary from run to run, and whose most valuable parts are text files: prompts, instructions and test cases.

Mayer Brown's note of 16 June 2026 on agentic AI integration deals lists eight contract issues: deal structure, performance commitments, technology stack selection, project governance, liability, security and data use, IP rights, and exit. Morgan Lewis, in part 1 and part 2of its 2025 series on AI agent contracts, adds decision-making risk, ownership of outputs, further training, drift and regulatory change. Two practical guides also get cited by AI assistants: Orbilon's eight-clause list of 7 October 2026 and Lucent Innovation's 12-point AI development contract checklist. On Google, LexisNexis's AI agreements checklist and Lexology's "Eight essential clauses for AI contracts" rank for "ai development agreement clauses".

This checklist differs from those in three ways:

  1. It compares structures for ongoing support, the half of the data-and-support question the cited pages answer least.
  2. It states the default ownership rule in each of the US, the UK and Australia, with the government page that says it.
  3. It is written for a first AI build at a 10 to 50 or 50 to 500 person company, with plain sample wording you can hand to your lawyer.

Ownership, asset by asset: who owns the code?

"Who owns the code" is the question buyers ask first, and it is the wrong unit. An AI agent is several assets, and a contract that assigns "the deliverables" can leave half of them unassigned. Mayer Brown's note says the contract should define rights to background IP, company-specific deliverables, custom code, configurations, prompts, evaluation sets and fine-tuned weights. Split it out:

AssetWhat it isWhat to ask for
Custom code and repositoryThe software written for your project, with its historyAssignment to you; repository in your company account
Prompts and system instructionsThe written rules that tell the model how to behave for your businessOwnership, or a permanent licence plus a copy at handover
Evaluation setYour past cases with the correct answers, used to test the agentOwnership; it is built from your data
Fine-tuned model weightsA model adjusted on your data, if the project makes oneOwnership, or a licence plus the right to move it
Configurations and workflowsSettings, connectors, approval rules, orchestration logicIncluded in the handover list
Vendor background toolsReusable code the developer brought from earlier workA permanent licence to use it inside your agent
Agent outputReplies, drafts, documents and records the agent createsRights to use and keep it, and confidentiality

Background tools are the honest exception. Morgan Lewis's November 2024 post on who should own developed IPseparates a supplier's background IP and reusable developer tools from project-specific work, and notes that a customer who owns the bespoke work still needs a licence to anything the supplier brought with it. Expect that split and ask for the licence to be permanent.

Agent output is the newer question. The US Copyright Office's Part 2 report of 29 January 2025concludes that copyright does not extend to purely AI-generated material. So an assignment of "all rights in the output" may convey less than it sounds; protect valuable outputs as confidential information as well.

A man in a green sweater places grey folders into a cardboard archive box while a woman in a white shirt ticks items on a clipboard, with an orange notebook and a black USB drive on the table.
Ownership is easier to check as a list: code, prompts, test set, settings, each one handed over and ticked off.

Plain sample wording

"All software, prompts, system instructions, evaluation sets, configurations and model weights created for the Customer under this Agreement are assigned to the Customer on payment of the related invoice. The Developer keeps its pre-existing tools and grants the Customer a permanent, royalty-free licence to use them as part of the delivered system."

Data: use, location, return and deletion

Data ownership is the clause buyers assume is covered and often is not. Your company owns its data; the question is what the developer, and every AI provider it plugs in, may do with it. Write four things down.

  1. Use.Your data, prompts, outputs, logs and evaluation sets are used only to build and run your agent. Mayer Brown advises that if the expectation is "no training", the contract should say so expressly and require provider tiers, settings and sub-processors that keep that promise.
  2. Location. Name the countries or cloud regions where data may be stored and processed, and the sub-processors (the AI provider, the cloud provider, any logging tool).
  3. Roles. Under UK GDPR, the ICO defines a controller as the party that determines the purposes and means of processing, and a processor as one that processes personal data on behalf of the controller. When a developer builds your agent on your instructions, it is usually your processor. If it decides for itself to use the data, for example to train its own product, it becomes a controller for that use. The ICO flags that this guidance is under review because of the Data (Use and Access) Act.
  4. Return and deletion. The ICO's page on what an Article 28 processor contract must includesays that at the end the processor must, at the controller's choice, delete or return all the personal data, and delete existing copies unless the law requires storage. For an AI agent, "every copy" means databases, vector stores (the search index an agent reads from), logs, backups and test sets.

Those Article 28 minimum terms are what a data processing agreement holds: processing only on documented instructions, confidentiality, security, sub-processors, data subject rights, assistance to the controller, end-of-contract deletion or return, and audits. Buyers covered by GDPR need them in writing; US and Australian buyers lose nothing by using the same list.

Seen over her shoulder, a woman with a silver bob in a burgundy cardigan holds a black external drive while her monitor shows grey boxes emptying and an orange progress bar, an orange mug beside the keyboard.
Return and deletion should cover every copy, including logs, backups and the test set, with a written confirmation.

Plain sample wording

"The Developer will process Customer Data only to perform this Agreement and will not use it, or any prompts, outputs, logs or evaluation sets, to train or improve any model or service. Within 30 days of the end of this Agreement the Developer will, at the Customer's choice, return or delete all Customer Data and confirm deletion in writing."

The 30 days in the sample is a placeholder for you and your lawyer to set; it is not a legal requirement.

Accounts and API keys in your name

This clause is short and protects more than any other. If the AI provider account (OpenAI, Anthropic, Google), the cloud account (AWS, Azure, Google Cloud) and the code repository sit in your company's name, three things follow. You see every bill directly. You decide who has access. And if the relationship ends, the agent keeps running while you choose what happens next. The developer works inside your accounts with named logins you can remove. Ask for the account list as a schedule to the contract, with the owner of each one.

Model changes: what happens when OpenAI, Anthropic or Google retires a model

Your agent runs on a model you rent, and the provider can retire it. The notice period is set by the provider, not by your developer, so the contract has to say what happens inside that window. These are the published minimums as we read them on 18 October 2026:

ProviderMinimum notice before retirementSource
OpenAIAt least 6 months for generally available models; at least 3 months for specialised variants; preview models may go with notice as short as 2 weeksOpenAI deprecations page
AnthropicAt least 60 days for publicly released models, by email to customers with active deploymentsAnthropic model deprecations page
Google Cloud (Gemini)Some models available at least 12 months after release; shorter-term models get a fixed retirement date at least 45 days aheadGoogle Cloud model versions page

OpenAI also states that it may retire a model sooner if safety or compliance concerns require it. Anthropic notes that partner platforms such as Amazon Bedrock and Google Cloud set their own schedules. So the model clause should cover four points: who watches for deprecation notices, who moves the agent to the replacement, who reruns the evaluation set before the switch, and who pays for that work. Add a line on repricing too: if a provider changes its price or its data terms, Mayer Brown suggests the contract give you migration rights. Avoid preview models for anything a customer depends on.

Acceptance criteria for answers that are never the same twice

Ordinary software is accepted when it does the same right thing every time. An AI agent can answer the same question two ways. Mayer Brown puts it plainly: a single successful test is not enough, and acceptance should rest on statistical performance against an agreed evaluation set. In practice:

  1. Collect 50 to 200 real past cases from your own records: emails, orders, tickets, invoices.
  2. Write down the correct result for each, signed off by the person who does that job today.
  3. Agree the pass rate before the build starts, and list the errors that fail the build outright (a wrong price, a refund to the wrong account).
  4. Run the set at handover and after every model change, and keep the results.
  5. Name who on your side signs acceptance. Never the developer alone.
Seen from behind, a bald man in a charcoal polo and a woman with a red ponytail in a mustard blouse study a monitor grid of grey boxes with orange ticks and two grey crosses.
Acceptance against a test set: most cases pass, and the two that fail are the ones to discuss before sign-off.

Weak acceptance terms are one of the patterns behind stalled projects; we cover the others in why AI agent projects fail, and the path from a test to live use in AI proof of concept to production.

Security, human approval and audit logs

An agent that can read your systems and act in them needs security terms written for agents. Mayer Brown lists least-privilege access, credential management, approval gates for privileged actions, tool-use logging, human review thresholds for high-risk actions, and testing against prompt injection and data poisoning. Morgan Lewis part 2 describes three newer rights: a customer kill switch to suspend the agent even if the vendor disagrees, shadow-mode running alongside staff before the agent touches live decisions, and retraining windows when behaviour drifts.

For a mid-sized company, five lines cover most of it:

  • The agent gets only the access its job needs, through accounts you can switch off.
  • Named actions (payments, refunds, price changes, anything sent to a customer as binding) wait for a person to approve.
  • Every action is logged, and you can read and export the log.
  • The developer tells you about a security incident within an agreed time, and names its sub-processors.
  • You can pause the agent at any time.

The NIST AI Risk Management Framework, released 26 January 2023 for voluntary use, and its Generative AI Profile of 26 July 2024 give your team a shared vocabulary for these risks. Our AI agent security guide and AI governance policy for mid-sized companies turn them into controls.

Liability and indemnity

Mayer Brown's suggested principle is to align responsibility with control: the party that makes a decision carries more of the risk for it. If you insist on a model the developer advised against, expect relief for the developer when that model fails. If the developer chose the stack and designed the workflow, it should stand behind the result where better design or monitoring would have prevented the harm. The note also warns that caps set as a multiple of fees can be small next to the harm an agent acting at speed could cause, and that traditional IP indemnities may not cover claims arising from what an agent does. Two practical asks: caps that apply to both sides, and an indemnity for third-party IP claims on the code delivered to you.

On the US side, the FTC's Operation AI Comply announcement of 25 September 2024quoted Chair Lina M. Khan: "there is no AI exemption from the laws on the books." That applies to what your agent tells your customers. Keep claims about the agent in your own marketing as careful as any other claim.

See a demo on your own data before you sign

Send us one job you want an agent to do. We build a working version on a sample of your own records, so you can test it against your cases before any contract. FactoryJet quotes a fixed price in writing after a short scoping call. Founder replies within 24 hours.

See a demo on my data

Ongoing support: four ways to structure it

Half of the buyer question is about support after launch, and it is the half the ranking pages say least about. Mayer Brown separates primary support (the developer runs, monitors and adapts the agent) from secondary support (the developer trains your team and handles escalations). Inside either, payment usually takes one of four shapes:

  1. A standing monthly support plan. A set amount each month for an agreed scope of monitoring and changes.
  2. Hourly billing per change. You ask for a change and pay for the hours it takes.
  3. Each change quoted and approved. The developer describes and prices each change in writing; work starts only after you approve it.
  4. AI and cloud bills passed through at cost. AI provider and cloud bills sit in your own accounts and you pay the providers directly, with no markup, whichever of the three above you choose for the people time.
StructureSuitsProtects you fromAsk about
Standing monthly plan500+ staff, or an agent that changes every weekWaiting in a queue when something breaksWhat happens to unused time; how you leave the plan
Hourly per changeTeams with their own technical lead who can scope workPaying for capacity you do not useEstimates before work starts; who approves overruns
Quoted and approved per change10 to 50 and 50 to 500 person firms with occasional changesSurprise bills; open-ended workTurnaround time for a quote; how urgent fixes are handled
Pass-through in your accountsAny buyerMarkup on usage; losing access if the vendor goesWhich accounts are yours; who has admin rights

Whatever you pick, two lines belong in every AI contract. First, a defect cover period after launch, agreed before work starts, during which bugs in the delivered work are fixed inside the build price. Second, the right to change structure later: many companies start with changes quoted one by one and move to a monthly plan once they know their pace. A monthly minimum that starts before the agent is live is the term to question.

A woman in a teal dress arranges four columns of blank orange and grey sticky notes on a whiteboard while a man in a denim shirt holding an orange marker listens from the table.
Four support structures, side by side: choose one in writing before launch, and keep the right to switch.

One example of the third and fourth structures together is how we work, set out in full in the FactoryJet section below. For a wider view of who should run the agent after launch, see AI agency vs in-house vs freelancer and our AI agent monitoring service.

Service levels: what an AI service level agreement can and cannot promise

An AI service level agreement can promise what the developer controls: how fast someone responds, how fast a fix lands, and how often the agent is checked against your test set. It cannot honestly promise that every answer will be correct. Morgan Lewis part 1 describes contracts that commit to response times for critical errors while avoiding guarantees of specific outcomes; part 2 adds monitoring for outputs that drift away from expected results, with a duty to pause or fix the agent even when it is technically up.

A workable AI SLA has five parts:

  1. Severity levels defined by business effect: agent down, agent wrong on money or customers, agent slow, cosmetic.
  2. A response time and a fix or workaround time for each level, set with your lawyer.
  3. An accuracy check against the evaluation set on a fixed schedule, with results shared with you.
  4. A named person on each side and a path for escalation.
  5. Your right to pause the agent, and what happens to the work it was doing while paused.
A monitor on a white desk shows an abstract support queue of grey bars in three groups led by orange, dark grey and light grey blocks, joined by thin lines to boxes on the right, beside an orange mug.
Severity first: each level gets its own response and fix time, and the most serious issues reach a person fastest.

Exit and handover

Mayer Brown notes that the operating knowledge of an agent lives in prompts, configurations, orchestration logic, evaluation sets, monitoring rules, runbooks and integration documents, and that without clear terms a company can find at exit that it lacks what it needs to run the agent. Its advice is to negotiate exit rights at signing, while you have the most bargaining power. The handover list:

  1. The code repository, transferred to your account with its full history.
  2. Prompts, system instructions and agent configurations.
  3. The evaluation set and the latest test results.
  4. Architecture notes, runbooks and support procedures in plain language.
  5. A list of every account, API key and sub-processor, with keys rotated on the last day.
  6. A data export in a format named in the contract (for example CSV or JSON), plus logs.
  7. A transition period during which the developer answers questions from you or your next provider.
A young man in a black hoodie hands a black security key across a desk to a woman with grey hair in a beige jacket and orange lanyard, beside a laptop showing a tree of grey boxes with one orange branch.
A clean exit: the repository, the keys and the documents change hands, and the old logins stop working.

US, UK and Australia: the rules that change the contract

The ownership default is the rule that most surprises buyers, and it differs by country. In all three, the fix is the same: a written assignment in the agreement for software development.

CountryWho owns commissioned code by defaultData rule to checkRead on
United StatesWork made for hire covers commissioned work only in nine listed categories, with a signed written agreement; computer programs are not listed, so use a written assignmentSector and state privacy laws; FTC rules on AI claimsUS Copyright Office Circular 30
United KingdomThe creator is the first owner, not the commissioner, unless agreed in writingUK GDPR controller and processor roles; Article 28 processor termsUK IPO, ownership of copyright works
AustraliaThe contractor automatically owns the IP they create; the contract must say if the hirer owns itPrivacy Act 1988 and the Australian Privacy Principlesbusiness.gov.au, prepare a contract

United States

Circular 30 says a specially ordered or commissioned work is made for hire only if all four tests are met: it falls in one of nine categories (such as a contribution to a collective work, a translation, a compilation or a test), there is a written agreement, it expressly says the work is made for hire, and all parties sign it. If any test fails, it is not a work made for hire. Code written by your own employees within their regular duties is treated differently. For an outside developer, ask for an assignment of copyright in addition to any work-for-hire label.

United Kingdom

The UK IPOsays that when you commission someone to create a copyright work, "the first legal owner of copyright is the person or organisation that created the work and not you the commissioner, unless you otherwise agree it in writing". It adds that courts may find an implied licence where the contract is silent, which does not necessarily transfer ownership. On data, the ICO pages above set the controller, processor and Article 28 rules; check both for updates under the Data (Use and Access) Act. See our AI agents for UK businesses page for how we work with UK teams.

Australia

business.gov.au says that under IP laws the contractor automatically owns any IP they create, and if the hirer wants to own it, the contract must state this. On privacy, the OAIC's guidance on commercially available AI products (published 21 October 2024) says privacy obligations apply to personal information put into an AI system and to output that contains it, and asks businesses to check whether the product was tested for the use, how human oversight is built in, and who can access the data. As best practice it recommends not entering personal information, particularly sensitive information, into publicly available generative AI tools. More on hiring in Australia in hiring AI developers in Australia and on our AI agents for Australian businesses page.

Eight clauses to refuse

Each of these is common in an AI vendor contract, and each one shifts a risk onto you that the developer is better placed to carry, or removes a right you will need later.

  1. The vendor owns the prompts. They encode how your business works. Ask for ownership or a permanent licence.
  2. Your data can train their product. Replace "to improve our services" with an express no-training promise.
  3. API keys only in their account. You lose control of access and of the bills.
  4. A monthly minimum before go-live. You pay for support on something that does not run yet.
  5. No exit clause. Without a handover list, leaving means starting again.
  6. Acceptance "at the vendor's discretion". Acceptance should rest on your test set and your sign-off.
  7. Liability caps that protect only them. Caps and exclusions should apply to both sides.
  8. Automatic renewal without notice. Ask for written notice before any renewal and a simple way to end it.

For the questions to ask before the contract stage, see questions to ask an AI development company and how to hire an AI agent developer.

The one-page checklist: 14 yes or no questions

Print this and answer each line against the draft contract. Every "no" is a question for the developer.

  1. Is the code and repository assigned to us in writing?
  2. Are the prompts, instructions and evaluation set ours, or permanently licensed to us?
  3. Does the contract forbid training on our data, prompts, outputs and logs?
  4. Does it require return or deletion of every copy at the end, with written confirmation?
  5. Are the AI provider, cloud and repository accounts in our company name?
  6. Does it say who moves the agent to a new model, who retests, and who pays?
  7. Is acceptance based on an agreed test set and pass rate, signed off by us?
  8. Are sub-processors named, and is there an incident notice time?
  9. Are human approval steps and audit logs written in for named actions?
  10. Do liability caps and indemnities work for both sides?
  11. Is the support structure named, with a defect cover period agreed before work starts?
  12. Is every change described, quoted and approved in writing before work begins?
  13. Is there a handover list, a transition period and a data export format?
  14. Is the governing law one we can live with?

How FactoryJet's contracts handle this

We design, build and support custom AI agents, including integrations with Odoo, NetSuite, SAP Business One, ERPNext, Salesforce, HubSpot, Xero and WhatsApp. Our standard terms answer most of the checklist above:

  • You own the code and the repository from day one.
  • The AI and cloud accounts can run in your own name, at cost, with no markup.
  • Defects are fixed inside the build price for a cover period we agree before work starts.
  • Support is optional: each change is quoted and approved before we start it, and there is no monthly minimum.
  • Each phase is scoped, priced and signed on its own.
  • We show working software on your own data before you sign.

If you would rather not run it yourselves, we can keep managing the servers, AI models and APIs so your team does not have to. FactoryJet quotes a fixed price in writing after a short scoping call. See AI agent development and AI consulting. If you are still weighing build cost, read what an enterprise AI agent costs and AI MVP development cost.

More 2026 decision guides

Sources

Pages opened and read on 18 October 2026.

Before you sign an AI development agreement

See a demo on your own data before you sign

Tell us the job and the systems behind it. We show the agent working on your own records first, then send a fixed price in writing with the terms above. Founder replies within 24 hours.

This is a buyer's checklist, not legal advice. Have a lawyer in your country review the contract.

Frequently Asked Questions

What should an AI agent development contract include?
At minimum, 14 things: ownership of the code; ownership of prompts and evaluation sets; limits on how your data is used; return and deletion of data at the end; accounts and API keys in your name; what happens when a model is retired or repriced; acceptance criteria for answers that vary; security and incident notice; human approval and audit logs; liability and indemnity; how ongoing support is structured; change requests; exit and handover; and governing law.
Who owns the code when an agency builds my AI agent?
Whoever the contract says. Without a written clause, the default often favours the developer. The UK IPO says the creator of a commissioned work is the first owner of copyright unless you agree otherwise in writing, and business.gov.au says an Australian contractor automatically owns the IP they create unless the contract says otherwise. Put a clear assignment of the code and repository to your company in the agreement.
Who owns the prompts and evaluation sets?
Settle it in writing, asset by asset. Mayer Brown, in its 16 June 2026 note on agentic AI deals, says the contract should define rights to custom code, configurations, prompts, evaluation sets, fine-tuned weights and other artifacts. For most buyers the prompts and the evaluation set hold the knowledge of how your business works, so ask for ownership, or at least a permanent licence and a copy at handover.
Can the developer use my data to train their own models?
Only if you agree to it, so say no in the contract unless you have a reason to say yes. Mayer Brown advises that if the expectation is no training, the contract should say so expressly and require the developer to choose AI provider tiers, settings and sub-processors that match that promise. Cover prompts, outputs, logs and evaluation sets as well as your raw data.
What happens to my data when the contract ends?
The contract decides, so write it down. Under UK GDPR, the ICO says a processor contract must require the processor, at the controller’s choice, to delete or return all the personal data and delete existing copies unless the law requires storage. A good AI contract applies the same idea to every copy: databases, vector stores, logs, backups and test sets, with written confirmation and a date.
Should the OpenAI or Anthropic account be in my name or theirs?
Yours, wherever you can. If the AI provider account, the cloud account and the API keys sit in your company’s name, you control access, see every bill directly, and keep the agent running if you change developers. The developer works inside your accounts with its own named logins, which you can remove on the day the work ends.
What happens if the AI model we use is retired?
The provider sets the notice period, so the contract should say who moves the agent to the new model and who pays. On 18 October 2026, OpenAI listed at least 6 months notice for generally available models, Anthropic at least 60 days for publicly released models, and Google Cloud at least 45 days for its shorter-term models. Retest the agent against your evaluation set before switching.
How do you write acceptance criteria for an AI agent?
Agree a test set and a pass rate before the build starts. Collect 50 to 200 real past cases from your own records, write down the correct result for each, and agree what share the agent must get right and which errors are never allowed. Mayer Brown notes that one successful test is not enough because AI output varies, and suggests acceptance against an agreed evaluation set.
What should an AI agent SLA cover?
Severity levels, response times and fix times for each level, who can switch the agent off, how drift is spotted, and what reports you get. An AI service level agreement should not promise that every answer will be right. Accuracy is measured against your test set on a schedule. Morgan Lewis describes newer terms such as a customer kill switch and shadow-mode testing.
How should ongoing support be priced in an AI contract?
There are four common structures: a standing monthly support plan, hourly billing per change, a fixed quote for each change that you approve first, and AI and cloud bills passed through at cost in your own accounts. Pick the one that matches how often you expect changes. Ask for the structure in writing, and for the right to switch structures after launch.
Do I have to sign a monthly support contract for an AI agent?
No. A monthly plan suits a company that expects steady changes, but it is a choice, not a rule. Many buyers prefer each change quoted and approved, with no monthly minimum, and the AI and cloud accounts in their own name. What you do need in writing is a defect cover period after launch and a clear path for asking for changes.
Is the developer a data controller or processor under UK GDPR?
Usually a processor, when it handles personal data only on your instructions to build and run your agent. The ICO defines a processor as one that processes personal data on behalf of the controller. If the developer decides for itself why or how data is used, such as training its own product, it becomes a controller for that use. The ICO notes this guidance is under review after the Data (Use and Access) Act.
In the UK, who owns software I commission?
The developer, unless you agree otherwise in writing. The UK IPO says that when you commission a copyright work, the first legal owner is the person or organisation that created it, not you. Courts may find an implied licence to use it, but that does not necessarily transfer ownership. A written assignment in the software development agreement fixes this.
In the US, is custom software automatically work for hire?
Not when an outside firm writes it. US Copyright Office Circular 30 says a commissioned work is made for hire only if it falls into one of nine listed categories and both parties sign a written agreement saying so. Computer programs are not one of the nine. Code written by your own employees within their duties is different. For contractors, use a written assignment of copyright.
What privacy rules apply to AI projects in Australia?
The Privacy Act 1988 and the Australian Privacy Principles. The OAIC says privacy obligations apply to personal information put into an AI system and to AI output that contains personal information, including wrong or invented details about a real person. Its guidance asks businesses to check who can access that data, whether the product was tested for the use, and how human oversight works.
Who is liable if the AI agent makes a costly mistake?
The contract allocates it, and the usual starting point is to match risk to control. Mayer Brown suggests the party that decides something should carry more of the risk for that decision. Agree who chose the model and the workflow, cap liability at a level that fits the harm the agent could cause, and add a human approval step for actions such as payments, refunds or contract changes.
Should the contract require human approval steps?
Yes, for any action that moves money, changes a customer record in a way that is hard to undo, or sends something legally binding. Name those actions in the contract, say who approves them, and require an audit log of every action the agent takes. Mayer Brown lists approval gates for privileged actions and tool-use logging among the security terms to cover.
What should the exit and handover clause say?
List what you receive: the repository, prompts and system instructions, evaluation sets, configurations, documentation and runbooks, plus a data export in a format you name. Add a transition period with help from the developer, and credential rotation on the last day. Mayer Brown advises negotiating these exit rights at signing, when the buyer has the most bargaining power.
Do I need a separate data processing agreement?
If the developer handles personal data for you under UK or EU GDPR, you need processor terms, either in a separate data processing agreement or inside the main contract. The ICO lists the minimum terms: documented instructions, confidentiality, security, sub-processors, data subject rights, assistance, end-of-contract deletion or return, and audits. In the US and Australia it is good practice even where not named in law.
What red flags should I look for in an AI development contract?
Eight common ones: the vendor owns the prompts; your data can train their product; API keys sit only in their account; a monthly minimum starts before go-live; no exit clause; acceptance is at the vendor’s discretion; liability caps protect only the vendor; and automatic renewal without notice. Any of these is worth a question before you sign.
Is a standard software development agreement enough for an AI project?
It covers the basics such as scope, payment, warranty and IP, but it usually misses what makes AI different: prompts and evaluation sets as owned assets, training on your data, model retirement, answers that vary, and monitoring for drift. Start from the agreement you already use and add the AI clauses in the 14-clause checklist on this page.
Is there an AI development contract template I can use?
Law publishers sell software development agreement templates, and some rank on Google for that phrase. A template is only as good as the gaps you fill. Use the 14 clauses and the plain sample wording on this page as a list of what your template must cover, then have a lawyer in your country adapt it to your project.
Should a lawyer review my AI development contract?
Yes. This page is a buyer’s checklist, not legal advice. Ownership defaults, privacy law and liability rules differ between the US, the UK and Australia, and between states. Bring the checklist to a lawyer who reviews technology contracts, so the meeting is spent on your answers rather than on finding the questions.
Who owns the output an AI agent produces?
Between you and the developer, the contract decides. Copyright itself is narrower: the US Copyright Office Part 2 report (29 January 2025) says copyright does not extend to purely AI-generated material, so an assignment of output may convey less than you expect. Agree who may use, keep and reuse outputs, and protect valuable ones as confidential information.
Bhavesh Barot - Founder & CEO
Written by

Bhavesh Barot

Founder & CEO

Founder & CEO of FactoryJet, an ecommerce and AI services company that has served 500+ businesses since 2014. Writes about ecommerce builds, AI agents, and AI search.

Free quote
Founder replies in 24h