# Free AI Automation Services Agreement template

> A contract for building AI automations, agents and workflows in a client’s own accounts, covering API keys, AI provider costs, output accuracy, human review, data use and acceptance testing. Use it when a freelancer or AI automation agency connects AI models to a client’s business systems.

- Web page: https://rapidagree.com/contract-templates/ai-automation-agreement
- Who signs: Provider, then Client
- Last revised: 2026-11-30
- Fill it in and send it for e-signature free on RapidAgree (3 documents a month): https://rapidagree.com/signup?template=ai-automation-agreement

## Key clauses

- **An automations table.** Lists each automation or agent, what it does and every system it touches, so scope and access are agreed up front. ([clause](https://rapidagree.com/contract-templates/ai-automation-agreement#clause-automations))
- **Client-owned accounts and keys.** Automations run in the client’s own accounts, with least-privilege API keys the client creates and can revoke. ([clause](https://rapidagree.com/contract-templates/ai-automation-agreement#clause-accounts-and-access))
- **AI provider costs paid by the client.** The client signs up for and pays AI and software providers directly, or the agency passes costs through without markup. ([clause](https://rapidagree.com/contract-templates/ai-automation-agreement#clause-third-party-providers))
- **No promise that AI outputs are right.** Says plainly that model outputs can be wrong and keeps a human review step for decisions about hiring, credit, health, legal rights or money. ([clause](https://rapidagree.com/contract-templates/ai-automation-agreement#clause-ai-outputs-and-human-review))
- **Data use limits.** Client data is used only for the work, never to train the provider’s models, and deleted when the project ends. ([clause](https://rapidagree.com/contract-templates/ai-automation-agreement#clause-client-data))
- **Acceptance tests on sample inputs.** Each automation must pass a set share of real sample inputs, judged on what a good result contains, not exact wording. ([clause](https://rapidagree.com/contract-templates/ai-automation-agreement#clause-testing-and-acceptance))
- **Model and API changes.** Breakage from provider updates, deprecations or price changes is billed or covered by an optional monthly support plan. ([clause](https://rapidagree.com/contract-templates/ai-automation-agreement#clause-changes-and-support))
- **Client owns the workflows and prompts.** The client owns the workflows, prompts, configurations and code on payment; the provider keeps its reusable components and licenses them. ([clause](https://rapidagree.com/contract-templates/ai-automation-agreement#clause-ownership))

## When to use something else

- You’re selling access to your own AI software as a subscription. Use the [SaaS Subscription Agreement](https://rapidagree.com/contract-templates/saas-agreement) instead.
- You’re doing general consulting or advice with no automations being built. Use the [Consulting Agreement](https://rapidagree.com/contract-templates/consulting-agreement) instead.
- You’re handling regulated data such as health or financial records; this needs specialist legal drafting.

## Who uses it

- **AI automation agencies.** Build agents and workflows on platforms like n8n, Make or Zapier with AI models, with costs and data rules settled before you connect anything.
- **Freelance AI engineers.** Take on a project wiring AI models into a client’s CRM, inbox or help desk without carrying the client’s API bills or output risk.
- **Small businesses hiring an AI builder.** Make sure you own the accounts, keys and prompts, and that your data is not used to train anyone’s models.

## The agreement

### AI Automation Services Agreement

This AI Automation Services Agreement (the “Agreement”) is entered into as of [Effective date] (the “Effective Date”) by and between [Provider’s legal or business name], with an address at [Provider’s address] (the “Provider”), and [Client’s legal name], with an address at [Client’s address] (the “Client”). Each is a “Party” and together they are the “Parties.”

The Client wants the Provider to design, build and set up automated workflows and AI agents that connect AI models to the Client’s business systems, and the Provider wants to do so on the terms below. The Parties agree as follows.

#### 1. The Automations

The Provider will design, build, configure and document the following automations, agents and workflows (each an “Automation”) and set them up in the Client’s accounts, with a target delivery date of [Target delivery date]:

| Automation | What it does | Systems it touches |
| --- | --- | --- |
| [Automation 1: name] | [Automation 1: what it does] | [Automation 1: systems it touches] |
| [Automation 2: name] | [Automation 2: what it does] | [Automation 2: systems it touches] |
| [Automation 3: name] | [Automation 3: what it does] | [Automation 3: systems it touches] |

For each Automation the Provider will deliver short documentation on how it works, the accounts it uses, how to pause it and where its prompts and settings live, plus a handover session of up to one hour. The Parties may change the Automations by agreeing in writing, including by email, with any change to the fee or dates stated. Work outside this table is billed at [Hourly rate for extra work] per hour, only if the Client approves it in advance.

#### 2. Client Accounts and Access

The Automations will run in accounts that the Client owns and controls, including its accounts with AI model providers, automation platforms, hosting services and business software. The Client will create those accounts in its own name and create the API keys and access the Automations need, which it can revoke at any time. If the Parties agree that the Provider will open an account for the Client, the Provider will transfer it to the Client on request.

- The Client will give the Provider only the access the work needs, through user seats, roles or API keys limited to the systems in the table above, not shared passwords or owner-level access.
- The Provider will keep credentials in a password manager or secrets store, never in code, prompts or messages, and share them only with its personnel working on this Agreement.
- Each Automation will use its own keys or service accounts where the platform allows, with the narrowest permissions that let it work.
- When the work ends, or earlier on request, the Client will revoke the Provider’s access and the Provider will confirm in writing that it no longer holds working credentials.

#### 3. Third-Party AI and Software Providers

The Automations depend on AI models and software run by other companies (“Third-Party Services”). The Provider will recommend Third-Party Services, but the Client chooses them, signs up for them, accepts their terms and policies, and pays them directly. Usage-based charges, such as AI model fees per token or per request, will vary with how much the Automations are used and are the Client’s responsibility.

If the Parties agree in writing that the Provider will buy a Third-Party Service for the Client, the Provider will pass the cost through at cost, without markup, with the receipt, and the Client still accepts that service’s terms. The Provider is not responsible for the acts, outages, security or data practices of Third-Party Services.

#### 4. Fees and Payment

The Client will pay the Provider a total fee of [Total project fee] for the Automations in the table above. The Client will pay [Deposit due on signing (%)]% of that fee on signing, and the balance when all Automations are accepted under the Testing and Acceptance section. The Client will pay each invoice within [Days to pay each invoice] days of receiving it.

If an undisputed amount is still unpaid 15 days after the Provider gives written notice that it is overdue, the Provider may pause work until it is paid, and the delivery date moves accordingly. The Provider is responsible for taxes on amounts it receives.

#### 5. Testing and Acceptance

Before the Provider starts building each Automation, the Client will supply at least [Sample inputs per automation for testing] realistic sample inputs for it, such as example emails, forms or records, with personal details removed or replaced where possible, and the Parties will agree in writing what a correct result looks like for each one (the “Acceptance Criteria”). Because AI outputs vary, Acceptance Criteria should describe what a good result must contain or do, not require identical wording.

When an Automation is ready, the Provider will run it on the sample inputs and share the results. An Automation passes if it meets the Acceptance Criteria on at least [Share of sample inputs that must pass (%)]% of the sample inputs and never takes an action outside its described purpose. The Client has [Client’s testing window (business days)] business days to confirm acceptance or describe in writing where it fails. The Provider will fix reported failures and test again. An Automation is accepted when the Client confirms it, when the testing window passes without a written description of a failure, or when the Client starts using it in its live business.

#### 6. AI Outputs and Human Review

The Client understands that AI models can produce outputs that are wrong, incomplete, biased or made up, and can behave differently from one run to the next even with the same input. Passing acceptance tests does not mean every future output will be accurate. The Provider does not warrant that any output is accurate, complete or fit for a particular decision.

The Client will keep a person in the loop to review and approve outputs before they are used for any decision that significantly affects someone, including decisions about hiring or employment, credit or lending, housing, insurance, health or medical care, legal rights, or payments and refunds of money, unless the Client decides otherwise in writing. If it does, it takes responsibility for that choice. By default, the Provider will build such outputs to go to a person for approval.

The Client decides how it uses the Automations and their outputs and is responsible for using them lawfully, including giving its customers, staff and other users any notices it owes them, such as that they are dealing with an automated system, and getting any consents it needs.

#### 7. Client Data and Security

“Client Data” means data the Provider receives from the Client or accesses through the Client’s systems, including the sample inputs, business records and personal information about the Client’s customers and staff. The Client owns its Client Data. The Provider will:

- use Client Data only to build, test and support the Automations for the Client;
- not use Client Data, or outputs created from it, to train, fine-tune or evaluate its own AI models or products, or those of anyone else;
- keep as few copies of Client Data as the work needs, stored securely with access controls; and
- delete all copies of Client Data in its possession within [Days to delete Client Data after the end] days after this Agreement ends, and confirm the deletion in writing on request.

Because the Third-Party Services run in the Client’s accounts, the Client chooses their data settings, such as retention, logging and whether a provider may use the Client’s data to improve its models, and the Provider will point out the ones it knows to be relevant. If Client Data will include health, financial account, government ID or children’s information, the Client will say so before sharing it, and the Parties will agree in writing on any further safeguards or separate data protection terms the law or the Client requires.

If the Provider learns that Client Data or a Client credential in its possession may have been accessed or used without authorization, it will tell the Client within [Hours to report a security incident] hours, help revoke and replace affected credentials, and share what it knows.

#### 8. Confidentiality

Each Party will keep confidential the non-public information the other shares under this Agreement, including Client Data, business processes, prompts and pricing, use it only for this Agreement, and share it only with personnel and advisers who need it and are bound by similar duties. These duties do not cover information that is or becomes public through no fault of the receiving Party, that it already lawfully had, or that it gets from someone free to share it, or disclosures the law requires. These duties last for three years after this Agreement ends, and for as long as the information remains a trade secret or Client Data.

#### 9. Ownership and License

When the Client has paid the fees due for the Automations, the Provider assigns to the Client all rights in the workflows, prompts, configurations, code and documentation created specifically for them (the “Deliverables”). As between the Parties, the Client also owns the outputs its Automations produce, subject to the Third-Party Services’ terms. The Provider does not promise that AI-generated outputs can be protected by copyright.

The Provider keeps its general skills, know-how and methods, and the reusable components it created before or apart from this Agreement or that are not specific to the Client, such as code libraries, prompt patterns, templates and connectors (“Provider Components”), as long as they contain no Client Data or Client confidential information. The Provider grants the Client a non-exclusive, perpetual, royalty-free license to use, copy and modify any Provider Components included in the Deliverables, as part of the Client’s own business. Open-source and third-party materials stay under their own licenses.

#### 10. Provider Changes, Fixes and Support

For [Days after acceptance for free defect fixes] days after an Automation is accepted, the Provider will fix, at no extra charge, any failure caused by a defect in its own work. Third-Party Services often update or retire models, change APIs, prices and limits, and have outages. Failures caused by those changes, by changes others make to the Automations or connected systems, or by data very different from the sample inputs are not defects in the Provider’s work.

Fixing them is billed at [Hourly rate for extra work] per hour, or covered by the optional support plan if the Client chooses it in writing. The support plan costs [Optional support plan fee per month] per month, includes up to [Support hours included per month] hours a month of monitoring, fixes and small changes, runs month to month, and either Party may end it with 30 days’ written notice. Unused hours do not roll over.

#### 11. Warranties and Liability

The Provider will do the work in a professional manner, consistent with good practice for building AI automations. The Client has the rights it needs to provide Client Data and let the Provider use it for the work. Except as stated in this Agreement, neither Party gives any other warranty, express or implied, to the extent the law allows.

The Client will defend and indemnify the Provider against third-party claims, and related reasonable costs and attorneys’ fees, to the extent they arise from Client Data, from the Client’s use of the Automations or their outputs, or from the Client’s decision to remove human review, except to the extent caused by the Provider’s breach of this Agreement. The Provider will do the same for claims that its Deliverables infringe someone’s intellectual property, excluding Third-Party Services and AI outputs.

Neither Party is liable for indirect, incidental or consequential damages or lost profits. Each Party’s total liability under this Agreement is limited to the fees paid and payable under it in the 12 months before the claim, or two times that amount for a breach of the Confidentiality or Client Data and Security sections. These limits do not apply to indemnity obligations, unpaid fees, or fraud or willful misconduct.

#### 12. Term and Termination

This Agreement starts on the Effective Date and continues until all Automations are accepted and paid for, and after that for as long as a support plan is in place. Either Party may end it with [Notice period to end the Agreement (days)] days’ written notice, or immediately by written notice if the other materially breaches it and does not cure the breach within 10 days of being told.

When it ends, the Client will pay for work done up to the end date, valued at [Hourly rate for extra work] per hour and capped at the total fee, plus any approved pass-through costs. The deposit is credited against that amount, and the Provider will refund any part of it not used. The Provider will hand over the current version of the Deliverables once the Client has paid all amounts due, return or transfer any accounts held for the Client, and delete Client Data as described above. The Client will revoke the Provider’s access. Sections that by their nature should continue, including those on data, confidentiality, ownership and liability, survive.

#### 13. General

- Independent contractor. The Provider is an independent contractor. It may use subcontractors only with the Client’s written consent and remains responsible for them.
- Governing law. This Agreement is governed by the laws of the State of [State whose law governs], without regard to its conflict-of-laws rules.
- Entire agreement. This Agreement, with any written Acceptance Criteria and change agreements, is the Parties’ entire agreement about its subject. It may be changed only in a writing signed or confirmed by email by both Parties.
- Notices. Notices must be in writing and sent to the addresses above, or to email addresses the Parties give each other for this purpose.
- Assignment. Neither Party may assign this Agreement without the other’s written consent, except to a successor to its business that takes on all of its obligations.
- Severability. If any provision is found unenforceable, it will be enforced to the maximum extent permitted and the rest of this Agreement will remain in effect.
- No waiver. A failure or delay in enforcing any provision is not a waiver of it.
- Counterparts and e-signatures. This Agreement may be signed in counterparts and with electronic signatures, each of which is treated as an original.

Each Party has signed this Agreement through its authorized representative as of the Effective Date.

**Provider**
[Provider’s legal or business name]  
Signature: ________________  
Name: [Signer for the Provider]  
Title: [Provider signer’s title]  
Date: ________________  

**Client**
[Client’s legal name]  
Signature: ________________  
Name: [Signer for the Client]  
Title: [Client signer’s title]  
Date: ________________  

## How to customize it

1. Enter both parties’ details and list each automation, what it does and the systems it touches.
2. Set the fee, deposit, payment terms and hourly rate for extra work.
3. Choose the number of sample inputs, the pass rate and the testing window for acceptance.
4. Fill in the fix period, support plan price and hours, incident notice time and data deletion period.
5. Send it for signature. The provider signs first, then the client, and both receive the signed PDF.

## Questions

### Who should pay for OpenAI or other AI API costs in a client project?

Usually the client. Usage fees grow with how much an automation runs, so an agency that pays them is taking on an open-ended bill it doesn’t control. This template has the client open its own accounts, accept the providers’ terms and pay them directly. If you agree to buy a service for the client, it’s passed through at cost with the receipt.

### How do you write acceptance criteria for an AI automation?

Test it on real examples rather than promising perfect results. Collect a set of sample inputs, agree what a good result must contain for each, and set a pass rate, such as 18 of 20. Judge results on substance, not identical wording, because AI outputs vary between runs. This template also fails any automation that takes an action outside its stated purpose.

### Can an AI agency use client data to train its own models?

Not under this template. The provider may use client data only to build, test and support the client’s automations, may not use it or outputs made from it to train or evaluate its own or anyone else’s models, and must delete its copies after the project. The client separately controls whether its AI providers may use the data, through the settings in its own accounts.

### What happens when an AI model or API the automation uses changes?

AI providers regularly retire models, change APIs and adjust prices, which can break a working automation. Under this template that isn’t treated as a defect in the provider’s work. Fixes are billed at the agreed hourly rate, or included in an optional monthly support plan with a set number of hours. Defects in the provider’s own work are fixed free for a set period after acceptance.

---

This template is a general starting point written for US businesses. It is not legal advice, and RapidAgree is not a law firm. Laws differ by state and situation, so have a qualified lawyer review it before you rely on it.
