Executive Summary
The procurement team had two polished vendor demos and an internal engineering team saying "we can build this ourselves". Both sides sounded convincing, and the wrong choice would mean either a multi-year platform contract that did not fit, or a build project that never reached production. GenAI Protos ran a focused R&D sprint that tested both paths on the client's own supplier contracts, using the same test set and the same scoring. Leadership got a decision based on evidence, not on the best demo.
01Problem Statement
The client reviews thousands of supplier contracts across regions, with legal and procurement teams checking the same clauses again and again: liability caps, payment terms, termination rights and data clauses. Before committing budget, leadership needed answers to questions that demos do not answer:
- How accurate is each option on our contracts, including scanned files and non-standard templates?
- Does it find the clauses that matter most, or only the easy ones?
- Can it connect to our contract repository and approval workflow?
- Where does contract data go, and can we keep it in our chosen region?
- What is the real cost per contract at our expected volume, over three years?
- How hard is it to switch later if the market or our needs change?
02Our Approach
We agreed the research questions, success criteria and budget with procurement, legal and IT before testing anything. Legal reviewers labelled a set of real, de-identified contracts, marking the clauses that carry the most risk. A separate holdout set was kept aside until the final check.
Three paths were tested under the same rules: two shortlisted commercial platforms through trial access, and a build prototype using open-weight and hosted models with document parsing and retrieval. Every option was scored on clause-level accuracy, missed high-risk clauses, handling of scanned and unusual layouts, response time, integration effort and data location.
We then built a three-year cost view for each path, including licences, usage, hosting, integration and the engineering time needed to run and improve a build. Findings were reviewed with the engineers who ran the tests, including where each option failed.

03Outcome
- A side-by-side scorecard for both vendor platforms and the build prototype
- Clause-level results, including missed high-risk clauses and failure examples
- A three-year total cost of ownership view for each path
- Integration and data-location findings for legal, IT and security review
- A reusable labelled test set to re-check vendors at renewal or new releases
- A clear recommendation with the conditions that would change it
04Tech Stack & Ecosystem
Key models, frameworks, and core infrastructure powering this solution.
Docling for build-path parsing of contracts, including tables and section structure.
LiteLLM for consistent access to hosted and open-weight models in the build prototype.
vLLM for open-weight models, to test a private deployment option.
Label Studio for legal reviewers to mark clauses and risk levels.
Microsoft Presidio to de-identify contracts before testing.
Custom Python harness for clause-level scoring across all three options.
Langfuse for tracing requests and tracking usage cost in the build path.
05Client Testimonials
“We were weighing two contract review platforms against an internal build, but the vendor demos could not tell us how either option would perform on our supplier contracts. GenAI Protos tested all three against the same legally reviewed documents and showed us the missed high-risk clauses, integration constraints, data-location implications, and three-year costs. That gave procurement, legal, and IT a common basis for the decision.”