AI Agent Contracts
If you are going to either write an AI agent or hire someone (like a contractor or a development firm) to do that for you, you need to set some ground rules. If a third party is doing the development then this looks like a real, legal contract. If you are doing the development in house, you still need to deal with these issues and maybe the “contract” looks like a set of “requirements”. In either case, you need to document these issues.
Define the agent’s authority – specify permitted actions and access
What are the agent’s intended functions, what systems and data can it access, what actions it can take and who is responsible for setting and managing the parameters that both get the job done and don’t let the agent do anything it should not do.
Set approval and escalation rules
The question is what actions require a human-in-the-loop. Financial transactions are an obvious one. Are there some transactions or tasks that require additional approvals or authentication. Tasks that are hard to undue or will cause damage or loss are examples of this.
How are agent specific incidents handled
What is an incident? Who is notified when an incident occurs? How quickly is the appropriate person notified? If a third party is involved, what are their responsibilities for investigation, cooperation and preservation of information?
What About the Security of Third Party Tools and APIs?
If the agent is going to rely on APIs, plugins and other internal and external systems, who selects them? Who assesses their security? What are the security requirements for these external services. How are material changes and vulnerabilities handled? All important stuff.
How does ongoing management work?
Software is not a one and done thing. Changes happen. Upgrades are needed, Bug fixes are required. How is all of that going to be handled? And not just for the next few months, forever.
What are the suspension and termination rules?
When is it looks like something bad happened or worse yet, what if you know something bad did happen. What are your options to suspend or terminate with prejudice an agent? Who can do that? How long does it take? Who cleans up the mess?
Who owns the security responsibilities?
That could include simple stuff like managing credentials and granting or revoking access. Who does that? Again, not a one time thing. It is for the life of the agent. What if third party integrations require changes – who does that? Forever!
Liability, indemnity and insurance
This is more of a problem when there is a third party involved because if your team is doing the development and operations, the answer is mostly you. But the insurance question still applies and there are lots of nuances here. For example, if you are Amazon (real case that they talk about publicly) and one of your team members asks an AI to do something and that AI does something really bad (like in Amazon’s case delete a production environment that took 9 hours to recover and cost them millions of lost orders), is your insurance going to cover that?
The AI advocates say just do it. Don’t worry. Be happy. Make sure that whoever says that has a checkbook with enough digits to cover what happens next. Need assistance? Contact us.
Credit: Galkin Law
