All case studies

Legal tech

AI contract review inside Microsoft Word

For Neo.Law, we built the Word add-in that brings the AI analysis to where lawyers work, with suggestions as tracked changes.

Client
Neo.Law
Industry
Legal tech
Period
2024–2026
Status
Completed

How it works

  1. Contract in Word
  2. sourcecast Word add-in
  3. The platform's AI analysis
  4. sourcecast Findings and suggestions as tracked changes

The starting point

Neo.Law's AI platform reviews contracts against a company's negotiation playbook. The analysis lived in a browser, but lawyers negotiate in Microsoft Word. They expect changes the way a colleague would mark up a draft, as tracked changes, word by word.

The add-in had to read the open contract, send it for analysis, show findings next to the text and write suggested wording back into a document that may have been edited in the meantime. It had to do that across Word versions and while the platform and its sign-in were still changing.

What we built

We built the add-in from the first commit. After about six weeks it could sign users in, have the contract analysed, show topics and findings in the task pane, jump to the relevant passage and insert suggestions as tracked changes. From there we worked in short cycles with Neo.Law's product team.

The second version added a contract dashboard, critical and advice topics, a check for clauses no playbook covers, reasoning for every finding, generated missing clauses, progress messages for long analyses and a German and English interface. To keep results attached to the right text after edits, every paragraph gets an invisible, stable ID in the document. Instead of locking out users on older Word versions, the add-in only switches off the features that need a newer one.

Outcome

With the add-in, lawyers use the platform's analysis, reasoning and suggested wording directly in Word and accept or reject suggestions there. We developed it in regular releases from October 2024 to April 2026, and every release went through automated tests and per-environment builds.

Working with sourcecast is exactly what you imagine modern software development to be. Focused, professional and agile. Quick understanding and a friendly manner make joint meetings efficient and pleasant. I would start projects with the team again at any time.
Flavio Trillo · Head of Product, Neo.Law Technology GmbH
Technical details
  • React, TypeScript and Office.js in Word's task pane, tested with Jest and React Testing Library.
  • Stable paragraph IDs via hidden, non-deletable content controls tagged with a UUID.
  • Long analyses run in the backend. The add-in shows progress, and a hash of the paragraphs tells whether the contract has changed since it was last analysed.
  • The supported Word API version is checked per feature.
  • Each environment has its own manifest and add-in ID, so several can be installed side by side.
work with us
get in touch