Deavo
Due diligenceGuide · 4 min read

Due diligence on an AI search and retrieval platform

Two women review a book and a laptop together at a desk with sticky notes on a nearby post.
Photo by Vitaly Gariev on Unsplash

Due diligence on an AI search and retrieval platform verifies whether indexed documents can be retrieved outside their original access permissions, what the contract actually says about retaining or deleting customer data, how dependent the platform is on a single foundation-model provider for both embedding and generation, and whether every contractor who built the retrieval code assigned its IP.

Technical diligence on a retrieval-augmented-generation platform should test, before closing, how it behaves with real, permissioned customer data, by asking for evidence rather than relying on the seller’s description.

The document list specific to this sub-sector

  • Data-processing agreements by customer, including retention and deletion terms for indexed content
  • The contract with the underlying foundation-model provider covering both embedding and generation, and whether it is assignable
  • IP assignment records for every contractor who built or contributed to the retrieval or ranking layer
  • Any prior security review, audit or incident history related to data access or permission enforcement
  • A list of enterprise customer contracts that include data-governance, security or data-residency commitments

Testing permission boundaries yourself

Ask for, or arrange, a real test of whether the system enforces each document’s original access permissions during retrieval — for example, whether a query from one user can ever surface content that user was never permitted to see in the source system. A seller’s assurance that “permissions are respected” is not the same as evidence of a tested enforcement mechanism. Ask for the test method, its results and the date it was last run. If the test shows content surfacing outside a user’s permissions, ask the seller which customers’ data was exposed and what was done about it, and take that to your lawyer.

Sensitive-document exclusion, not just permission enforcement

Respecting a document’s existing access permissions is a different question from whether a category of sensitive content can be excluded from the retrieval index altogether. Ask specifically whether the platform can exclude classes of documents — material under legal hold, executive or HR-only content, anything flagged confidential — from ever being retrieved or surfaced, regardless of a given user’s permission level. If it cannot, record that in the same file as the permission-boundary test above, and ask your advisers how it bears on the kinds of documents the target’s customers index.

What a data-retention gap in the contract actually means

If a customer’s data-processing agreement is silent or vague on what happens to indexed content after the relationship ends, record that as a finding and ask the seller what actually happens to that content. The Office of the Privacy Commissioner of Canada lists limiting use, disclosure and retention among the principles of PIPEDA, a law it helps businesses understand and comply with, so ask a lawyer whether it applies where the indexed content includes personal information. Ask to see the actual deletion mechanism, not just the policy language describing it.

Foundation-model dependency for both embedding and generation

Ask which foundation-model provider, if any, the platform relies on for generating embeddings for the retrieval layer and for generating the final response, and confirm whether both depend on the same single provider or are diversified. Review pricing terms and ask what happens to the product and its costs if the provider changes access terms or discontinues a specific model.

Contractor-built retrieval and ranking code: the IP check

Confirm that every contractor or agency who worked on the retrieval or ranking layer signed an agreement formally assigning IP rights to the company. In Ontario, work created by an outside contractor may still belong to the contractor unless there is a written assignment, so ask for the signed documents rather than an invoice or a verbal understanding. Then, where any fine-tuned embedding models were involved, confirm whether the underlying training data and resulting model can actually be transferred under its own licensing terms.

Breach-notification and incident-history review

Ask directly whether the platform has ever experienced a privacy or security incident involving indexed customer content, and request any records of it, and ask about ransomware, phishing and unauthorized access, not only headline breaches. The Office of the Privacy Commissioner of Canada publishes guidance on mandatory reporting of breaches under PIPEDA, so ask your lawyer whether any past incident triggered a reporting duty and whether it was met. Ask whether the seller has a documented process for detecting and responding to unauthorized access to indexed content. Where any customers were affected by a past incident, confirm how it was disclosed to them.

Financial diligence alongside the technical review

Financial diligence should run in parallel with the technical review, not as an afterthought once retrieval quality is confirmed. Ask for financial statements normalized against actual bank and payment-processor records over several years, with recurring subscription revenue from enterprise and self-serve customers reported separately from one-time implementation or professional-services fees. Pay particular attention to how inference and embedding cost is presented: ask whether it is reported as a flat share of revenue, and request it broken out against both document volume and query volume, so you can see how it moves as either grows.

How long this diligence takes

Permission-boundary testing and a technical review of the retrieval and indexing pipeline are best run against a realistic volume of documents, so build enough time into the transaction timeline. In Ontario, one law firm’s article notes there is no fixed timeline for due diligence, which varies with the size and complexity of the business and how organized the seller’s records are. Involve an independent technical reviewer rather than relying solely on the seller’s own representations.

Sources

Every requirement and figure referenced in this guide traces to a primary source. Links were last confirmed on the dates shown.

  1. 01
    Treadstone LawLegal commentary
    Cybersecurity and Data Privacy Due Diligence When Buying a Business in Ontario
    treadstonelaw.ca·Checked Aug 14, 2026
  2. 02
    Office of the Privacy Commissioner of CanadaGovernment
    The Personal Information Protection and Electronic Documents Act (PIPEDA)
    priv.gc.ca·Checked Aug 14, 2026
  3. 03
    Treadstone LawLegal commentary
    How Long Does Due Diligence Take When Buying a Business in Ontario?
    treadstonelaw.ca·Checked Aug 14, 2026
  4. 04
    Treadstone AssociatesAdvisory
    AI-Assisted Due Diligence
    treadstoneassociates.ca·Checked Aug 16, 2026
  5. 05
    Treadstone LawLegal commentary
    Intellectual Property Due Diligence When Buying a Business in Ontario
    treadstonelaw.ca·Checked Aug 14, 2026

Deavo is an advertising and listings platform, not a brokerage, law firm or valuation firm. This page is general information, not legal, tax, accounting or valuation advice, and rules differ by province. Confirm anything you rely on with a qualified professional before you act on it.