← BACK TO DISCUSSIONS
Technology, Data & Digital BusinessLEGAL ANALYSIS

What clauses matter most in an AI service provider agreement?

An artificial-intelligence services agreement should not be treated as an ordinary software subscription with the product name changed. An AI provider may process confidential business records, customer information, employee data, unpublished legal documents or commercially sensitive algorithms. Its outputs can be incomplete, misleading, inaccurate or unsuitable for the customer's intended purpose. The customer may also depend on a model or cloud operator with whom it has no direct contract. A useful agreement must allocate responsibility for these particular risks, not merely promise access to an online service.

For a Pakistani business purchasing an AI solution, the most important clauses concern the actual scope of work, inputs and outputs, ownership and permitted use of data, confidentiality, service performance, human review, intellectual property, regulatory compliance, liability and termination. The governing law and dispute-resolution mechanism should be fitted to the parties' location and commercial exposure. For providers serving foreign customers, the applicable foreign privacy, consumer or AI-specific rules must be examined separately.

Identify the service being purchased, not simply the model

Begin with a schedule describing the business process the AI system is expected to support. A contract for drafting internal summaries is different from one allowing a model to recommend credit decisions, screen job applicants, give customers regulated financial recommendations or operate machinery. The greater the consequence of an incorrect output, the more precisely the services, supervision and acceptance tests should be defined.

List the model functionality, integrations, data sources, output types, expected users, geographic availability, usage limits and systems to which the provider needs access. If the service depends on a third-party foundation model, that dependency should be disclosed at the appropriate level. The customer should understand which services the provider controls and which are delivered subject to another supplier's technical and contractual limitations.

Avoid accepting vague specifications such as 'enterprise-grade AI' or 'high-accuracy answers' without identifying performance measurements. If the application is designed to extract names and dates from documents, the acceptance criteria can test that specific function. A general claim that the model understands law, finance or medicine is not a substitute for an agreed and independently testable scope.

Separate customer data, provider technology and generated outputs

The contract should distinguish at least four categories: information supplied by the customer; information collected from its users; the provider's pre-existing models, software and know-how; and outputs generated through the service. These categories may be subject to different legal rights. A blanket statement that either party owns 'all data and intellectual property' is likely to create disagreement.

Customer ownership of uploaded documents should be preserved where appropriate. The licence granted to the provider should be limited to hosting, processing and other acts necessary to deliver the agreed service. If the provider wishes to train or improve its general models using customer prompts, documents or outputs, this should be addressed expressly, with a meaningful permission decision and applicable technical controls.

Ownership of AI-generated output is not always a simple question. Copyright protection, originality and authorship can depend on the nature of the material and the applicable law. In Pakistan, copyright questions begin with the Copyright Ordinance, 1962 and the specific circumstances of creation and use. A contractual allocation can regulate the parties' rights against each other but cannot guarantee that every generated sentence, image or code fragment is exclusively protectable against the world.

Set clear prohibitions on training and secondary use

Many customers assume that 'confidential' means the provider is prohibited from using submitted material to improve models, retain it indefinitely or share it with third parties. The agreement should not leave those matters to inference. Address whether inputs, outputs and metadata may be used for training, fine-tuning, human review, benchmarking, advertising, analytics or unrelated product development.

Where no secondary use is authorised, say so in operational terms. Include obligations applying to employees, subcontractors and model providers, and require the primary provider to maintain appropriate enforceable arrangements with them. Where customer data must pass to an external provider, specify the processing purpose and controls rather than merely incorporating a changing web policy without notice.

The parties should also consider trade secrets. A company might share software architecture, customer pricing, legal strategy or confidential procurement submissions through an AI service. Even where formal copyright ownership is clear, unauthorised dissemination of that confidential commercial information may cause harm that a low monthly subscription fee bears no relation to.

Confidentiality and information security must be measurable

A sound confidentiality clause identifies protected information, authorised recipients, permitted disclosures, security standards, notification duties and survival after termination. Standard exceptions for information already public or lawfully obtained independently can be included without destroying the protection. The provider should be prevented from disclosing information merely because it appears in an output or system log.

The security schedule should address access control, authentication, encryption appropriate to the service, separation of customer environments, secure software development, logging, vulnerability management, subcontractor oversight and handling of security incidents. Where personnel use customer information to test models, access should be limited and auditable.

Incident notification should contain a workable trigger and time frame, with a duty to provide details as they become available. The contract should distinguish confirmed incidents from routine technical alerts, while ensuring that a significant compromise is not hidden until the provider has completed every aspect of its internal investigation.

Examine applicable data protection and regulatory obligations

The parties need to identify the categories of personal data processed, the source of lawful authority to use it, applicable notice or consent requirements and any restrictions on disclosure or cross-border processing. Pakistan's electronic crime law, contractual confidentiality, sectoral regulatory duties and other applicable protections may be relevant; the presence or absence of a single comprehensive personal-data statute should be checked against the law in force on the contract date.

If the customer is a regulated financial institution or another supervised business, its own outsourcing, governance, retention and audit requirements may apply. A provider's standard international privacy statement cannot automatically override the customer's obligations under Pakistani law or an applicable regulator's directions.

For cross-border contracts, do not assume that Pakistani governing law makes foreign privacy obligations irrelevant. If the service processes data of individuals in another jurisdiction or supports a foreign regulated activity, the territorial reach of the relevant law needs specific examination.

Allocate responsibility for accuracy, bias and human review

An AI system can produce plausible but incorrect statements. The contract should identify whether outputs are merely assistive drafts or are intended for operational decisions, and who must verify them before use. The service provider should disclose material known limitations and avoid promising outcomes that cannot be tested or controlled.

Human-in-the-loop review should be described for consequential uses. For example, a contract for automating internal research can require supporting citations and retrieval provenance while reserving final legal analysis to a qualified professional. A contract for payment-risk scoring should specify validation, oversight, appeal handling and monitoring for material error patterns.

An agreement should not shift every conceivable error to the customer by saying outputs are provided 'as is', while simultaneously advertising a guaranteed professional-grade solution. Liability provisions need to correspond to the service's actual purpose, the degree of provider control and whether mandatory statutory duties can be excluded.

Build useful service levels and change controls

Availability matters differently for a chatbot used occasionally by staff and for a platform serving thousands of paying users. Define uptime measurement, maintenance windows, response times, incident classifications, remediation responsibilities and restoration targets. Where relevant, agree on throughput, latency, error rates and conditions for capacity scaling.

A service-credit formula is one remedy, not necessarily a full solution. The customer may need termination rights or another remedy after repeated major outages. The agreement should address whether credits are exclusive, what failures qualify, and how disruptions caused by upstream models or cloud providers are treated.

AI systems change frequently. Model replacements, safety-filter adjustments, prompt changes and updated third-party terms can affect output quality or remove essential functionality. Require notice and, for material changes, an appropriate acceptance, objection or termination mechanism. A general right to change the service at any time should be resisted where the customer depends on stable behaviour for a critical business process.

Treat third-party intellectual property and infringement carefully

A customer may receive output resembling someone else's protected work or code. The parties should distinguish infringement attributable to the provider's technology, customer-supplied materials, a customer's instructions and independent downstream modification. A provider warranty that every output is non-infringing worldwide may be impossible to support; a clause disclaiming all responsibility may be equally unsuitable for a high-value enterprise arrangement.

Negotiate a specific infringement indemnity where commercially justified, with notice, control of defence, settlement restrictions and remedies such as replacing, modifying or lawfully licensing the affected technology. Confirm whether the provider may continue delivering unaffected services while resolving a disputed component.

Where the customer is commissioning a fine-tuned model, prompts, software integration or original code, distinguish newly developed deliverables from underlying provider tools. Rights to source code, configuration, trained weights, evaluation datasets and deployment scripts should be stated rather than left within a broad definition of 'deliverables'.

Set liability caps against the real risk allocation

Many vendor templates cap all liability at fees paid during the previous twelve months. That may be commercially reasonable for minor subscription errors but disproportionate for a service receiving a company's entire customer database or controlling mission-critical operations. The correct cap depends on data sensitivity, possible loss, insurance and the provider's ability to mitigate the risk.

Consider separate treatment for confidentiality breaches, data misuse, infringement indemnities, deliberate misconduct, unpaid fees and other agreed exceptions. Define the treatment of indirect loss, lost profits and consequential loss carefully; these expressions can generate disputes if the parties have not identified foreseeable categories of harm.

Do not assume that an indemnity removes all requirements of proof, mitigation or causation. Its scope and operation depend on the words used and applicable law. The agreement should avoid internal contradictions between indemnities, general liability caps, exclusions and exclusive remedies.

Specify transition, deletion and termination procedures

Termination provisions should cover non-payment, material breach, security incident, prolonged outage, unlawful use and insolvency risks. The customer needs realistic access to its information on exit, especially where retrieval, vector indexes, embeddings, model configurations or workflow rules have become operationally important.

Require an export of customer data in an agreed workable format and define the period for transition assistance. Address deletion from active systems and backups, permitted legal retention and confirmation of completion. If the provider may terminate access immediately, the contract should consider how the customer retrieves information necessary for business continuity or compliance.

For a commissioned AI platform, consider escrow or step-in arrangements where appropriate and practicable. A customer that depends entirely on one vendor's proprietary architecture should understand whether a replacement provider can maintain or migrate the system without unaffordable reconstruction.

Governing law, evidence and enforceable dispute mechanisms

The agreement should identify governing law, jurisdiction or arbitration, service of notices, applicable electronic-signature and records provisions and the language of proceedings. The Electronic Transactions Ordinance, 2002 may be relevant to particular electronic communications or records in Pakistan, subject to the nature of the instrument.

Specify which documents control if the master agreement, order form, technical schedules and online policies conflict. Unilateral website terms should not silently override negotiated confidentiality, pricing or data-retention obligations. Preserve versions of terms in force at signing and on any material amendment.

Audit and evidence clauses can be particularly important. If a customer claims that an AI provider used confidential prompts to train another system, the ability to obtain logs, configuration records and relevant contractual disclosures may determine whether the claim can be proved.

Opinion and recommended negotiating position

An AI service provider agreement should be approved only after the parties have identified the exact tasks the system performs, the information it receives, whether it trains on that information, the reliance the customer may place on outputs and the practical consequences of downtime or inaccuracy. These matters should be recorded in enforceable schedules and supported by operational controls.

The highest-priority negotiating points for most Pakistani commercial customers are restrictions on secondary data use, proportionate security duties, clear IP allocation, performance and change controls, meaningful remedies for significant failures, and usable exit rights. Regulation, professional obligations and foreign law may add controls for particular sectors or data subjects.

The purpose is not to write the longest disclaimer. It is to align the contract with how the AI system actually works and who is able to prevent, detect and remedy the risks it creates. A concise but specific allocation of those responsibilities is worth more than a broad promise that the technology is accurate, safe or compliant in every possible circumstance.

Principal authorities for verification: Contract Act, 1872; Copyright Ordinance, 1962; Electronic Transactions Ordinance, 2002; Prevention of Electronic Crimes Act, 2016 as amended; applicable SECP, SBP or other sectoral outsourcing and information-security requirements; and foreign privacy or AI-related legislation where its territorial scope is engaged.

LEGISLATION, SOURCES & CASE LAW

Contract Act, 1872 ↗

Consult the current enactment and any subsequent amendments and reported judgments for the relevant jurisdiction.
Useful? Join the discussionLegal information, not client-specific advice

Discussion

Start a thoughtful discussion. Published comments are reviewed by our editorial team.

Comments are submitted privately and held for moderation before they become visible.