Back to Insights

What to Write Into an A.I. Contract Before You Sign It

November 2026 7 min read Jay Cleary

Most of the protection an agency gets from an A.I. tool is decided in the contract, before anyone turns the tool on. Once it is signed, the sales team moves on and what is left is the language on the page. If a protection is not written there, the agency is relying on good will.

I previously wrote about the questions agency leaders should ask before a vendor’s A.I. pitch. This piece takes the next step. It covers five terms I would want in writing before signing any contract for an A.I. tool that touches youth records, and the plain language an agency can ask for. I spent 14 years at Maryland’s Department of Juvenile Services, the last 11 as Chief of Staff, and I hold a law degree. At DJS, we implemented new technology platforms to enhance community supervision, case management and staff management.

This is practical guidance for agency leaders, not legal advice. Work with your agency counsel on the final language.

A Federal Model Agencies Can Borrow

On April 3, 2025, the White House Office of Management and Budget issued Memorandum M-25-22, Driving Efficient Acquisition of Artificial Intelligence in Government. It binds federal agencies and applies to federal contracts awarded from solicitations issued 180 days or more after the memo and to options exercised after that point (Section 2(c)).

State and local agencies are not required to follow it, but it is worth borrowing from. Its contract sections are written plainly and a vendor that also sells to federal agencies will be working under it on new federal contracts. Below, I note where the memo supports each clause and where I recommend going further than the memo.

1. No Training on Agency Data

Juvenile records are among the most protected records in government. Once they are used to train or tune a model, there is no practical way to pull them back out.

M-25-22 is direct on this point. Section 3(e)(iv) directs federal agencies to ensure contracts “permanently prohibit the use of non-public inputted agency data and outputted results to further train publicly or commercially available AI algorithms, consistent with applicable law, absent explicit agency consent.” Two details in that sentence are crucial. It covers outputs as well as inputs and it allows an exception only with explicit agency consent.

Suggested Contract Language: The vendor will not use agency data, including inputs, outputs, and anything derived from them, to train, fine-tune, or improve any model, for any customer, without the agency’s prior written consent signed by a named agency official. This applies to the vendor’s subcontractors and to any third-party model provider the vendor uses.

The memo bans training only on publicly or commercially available models. It does not cover the vendor’s own internal models or its subcontractors, and it does not require the contract to list outside model providers. I recommend adding all three, because agency records can reach a model through any of those routes.

2. Data Return and Deletion When the Contract Ends

Every contract ends. The question is whether the agency leaves with its data in a form it can use, and whether the vendor keeps a copy.

M-25-22 supports the first half. Section 3(e)(iii) says agency information “must only be collected and retained by a vendor when reasonably necessary to serve the intended purposes of the contract.” Sections 4(c)(ii) and 4(d)(iii)(C) call for data and model portability to protect against vendor lock-in. Section 4(f)(i) tells agencies, once a decision is made not to extend, to work with the vendor on the format and usability of the data and “a plan for conducting any transfers of data or other derived assets necessary per the terms of the contract.”

The memo does not require the vendor to delete agency data or to certify that it has. I recommend adding both, because getting your data back means little if the vendor keeps a copy.

Suggested Contract Language: Within a set number of days after the contract ends, the vendor will return all agency data in a documented, usable format named in the contract, at no added cost. The vendor will then delete all copies, including backups, logs, and copies held by subcontractors, and provide a written certification of deletion signed by an officer of the company.

One consideration unique to juvenile justice is the impact on sealing of records and expungements. When a court seals or expunges a record, that order should reach the vendor’s copy too. Write in how the vendor will act on sealing and expungement notices during the contract period, not just at the end.

3. Notice Before the Model or Tool Changes

An A.I. tool is not a fixed product. The vendor can swap the underlying model, change providers, or add A.I. features to software the agency bought before it had any.

M-25-22 addresses this, though as a recommendation, not a mandate. Section 4(d)(iii)(G) says agencies should consider, where relevant, requiring vendors to notify agency stakeholders “prior to the integration of new AI enhancements, features, or components.” Section 4(d)(iii)(F) encourages agencies to require vendors to meet performance standards before deploying a new version, or to “roll-back to a previous version if a new version fails to meet performance standards.”

Suggested Contract Language: The vendor will give written notice a set number of days before any change to the underlying model, the model provider, or the A.I. features in the product, and before turning on any new A.I. feature. The notice will describe the change and the agency data it touches. The agency may test the change before it goes live and may require the vendor to keep or restore the prior version if the change does not meet the performance standards in the contract.

4. Audit and Validation Rights

A vendor’s validation study tells you how the tool performed on someone else’s data. Your agency needs to know how it performs on your data.

M-25-22 is strongest here. Section 4(d)(iii)(E) says contract terms must let the agency regularly monitor and evaluate the tool’s performance, risks, and effectiveness, with quarterly or biannual reviews given as examples. Agencies are to use their own testing data, which “should not be accessible to the vendor.” The memo states, “Vendors must provide the access and time necessary for agencies to complete independent evaluation.” It also says contracts must detail the vendor’s testing procedures and “must not prohibit agencies from internally disclosing how the vendor conducts testing or the results of testing.”

Suggested Contract Language: The agency may test the tool at least quarterly using data the agency selects and does not share with the vendor. The vendor will provide documentation, access, and reasonable cooperation for that testing at no added cost. The vendor will describe its own testing methods and share results in enough detail for the agency to check them.

The memo does not require the next two protections, but I recommend adding them. First, the agency should be able to review results by race, ethnicity, gender, age, and region, because a tool can widen disparities the agency already tracks. Second, the memo protects internal disclosure. I would also make sure no confidentiality or trade secret clause keeps the agency from sharing results with its oversight bodies, its board, or its State Advisory Group.

5. Incident Reporting

Something will eventually go wrong: a breach, a bad output that impacts a decision about a young person, or a flaw the vendor finds through another customer. The contract decides whether you hear about it from the vendor or from a reporter.

M-25-22 does not include an A.I. incident reporting clause. Section 4(e)(ii) requires agencies to monitor system performance so emerging risks to privacy, civil rights, and civil liberties are identified, and Section 4(d)(iii)(F) encourages requiring vendors to monitor performance and fix unacceptable behavior. Neither sets a reporting duty for the vendor. Neither requires the vendor to tell the agency when something goes wrong. The clause below is my recommendation to fill that gap.

Suggested Contract Language: The vendor will notify a named agency contact within a set number of hours after it learns of a security incident, unauthorized access to agency data, a material drop in accuracy, or an error that may have affected a decision about a youth. The same duty applies to a flaw found at another customer that affects the same product. The vendor will follow up with a root cause report and a corrective plan and will cooperate with any notice the agency owes to youth, families, courts, or state officials.

Work with counsel to name the agency contact or contacts who will receive the notice, and to set how many hours the vendor has to send it. Your state’s breach notification law may set some of these timelines for you.

Who Should Read the Contract

Sections 3(b)(ii) and 4(a)(i) of the memo call for a cross-functional team on A.I. purchases, with expertise in areas such as IT, cybersecurity, privacy, legal, data, and program evaluation. In a juvenile justice agency, add the probation and case management staff who will use the tool every day. They will spot an operational problem in a contract faster than anyone else in the room.

A Note for Vendors

Vendors who offer these five terms up front will earn trust early and make the agency review process more efficient.

Before You Sign: The A.I. Tool Pre-Contract Review

If you have one A.I. tool or one vendor proposal on the table, the A.I. Tool Pre-Contract Review is built for that moment. Over two weeks, remotely, I review the contract or proposal for data rights, liability, explainability, and exit terms, check it against juvenile records confidentiality and your state’s A.I. law or regulations and map it against the NIST AI Risk Management Framework. You receive a short memo and a leadership briefing. For a full picture of every A.I. tool in use or under consideration, choose the full A.I. Readiness and Governance Assessment.

The contract is the last point where the agency has full leverage. Use that leverage to ensure your agency and, most importantly, the youth and families in your care are protected.

Have an A.I. Contract on the Table?

The A.I. Tool Pre-Contract Review looks at one tool or one vendor proposal over two weeks, remotely, and checks the data rights, liability, explainability, and exit terms before you sign. Fixed-scope packages available on request.

See the A.I. Readiness and Governance Assessment