• Client Project
  • CrewAI Agent

NDA Analysis Agent

A client needed a faster first pass on non-disclosure agreements. GenAILabs built a CrewAI agent that reads an NDA in PDF form, scores it against five weighted criteria and ends with a clear recommendation: approve, approve with changes, or deny.

Delivered
NDA Analysis Agent: PDF text extraction, five weighted criteria, scores and risk levels, clear recommendation, output validation, human reviewer decides
What the agent does

Snapshot

Delivery, status and stack.

Verified status, engagement and technology.

Client / Context
Confidential client, delivered as a freelance project
Engagement
Client project: a CrewAI agent that reviews NDAs and recommends whether to sign
Status
Delivered and completed in early 2025
Technology
CrewAI, OpenAI language models, Python

The challenge

Faster first-pass NDA reviews.

The business context, constraints and data handling that shaped the build.

Reading every NDA closely takes time, and the same questions come up each time: how wide is the confidentiality, how long does it last, can it be enforced. The client wanted an agent to do the first pass and say what to approve, change or refuse.

So we built a CrewAI agent that extracts the text, evaluates it against weighted criteria, and returns scores, risk levels, quotes from the document and a final recommendation.

Contributions

What GenAILabs worked on.

Factual breakdown of our direct engineering contributions.

01

PDF text extraction

A tool opens the NDA, extracts its text and checks for corrupt files, empty pages and unusable text before analysis starts.

02

Weighted criteria

Five areas, each with its own sub-criteria and weight: confidentiality, scope, duration, enforceability and compliance.

03

Analyst agent

A CrewAI agent set up as a senior NDA analyst, guided by a detailed prompt and the reviewer's own instructions for each run.

04

Scores and risk levels

Every criterion gets a score, a risk level, quotes from the document and specific recommendations.

05

Clear recommendation

The review ends with a decision: approve as is, approve with changes (listed), or deny with the dealbreakers explained.

06

Validation and handover

Output is checked for structure and required fields. The client received the source code and written documentation.

System / solution

How the agent is built.

A small codebase with one job per module.

nda-analysis-agent/
├── main.py                 entry point
└── src/
    ├── agents/             analyst agent and task
    ├── config/             weighted criteria
    ├── tools/              PDF text extraction
    └── utils/              output conversion and checks

System architecture

The PDF tool extracts the NDA text. The analyst agent evaluates it against the weighted criteria and the reviewer's instructions. The output is converted, checked for required fields and saved.

Flywheel impulse

Delivery and handover.

Verified real-world deployment and support terms.

The agent was delivered as source code with written documentation, covering setup, usage, the criteria, error handling and common fixes. The client runs it with their own OpenAI API key.

Built by GenAILabs
The agent, its prompts, the criteria configuration, the PDF tool and the output checks.
Delivered as code
Source code and a documentation file the client runs in their own environment with their own API key.
Instructions per run
The reviewer passes focus instructions with each NDA, such as trade secrets or term length.

Outcomes / evidence

Verified facts about the build.

No usage metrics were shared. These are facts about the order and the build.

Verified evidence

Delivered early

Delivered Jan 30, 2025, ahead of the Feb 9 due date, and completed Feb 2

Verified evidence

Five weighted criteria

Each with its own sub-criteria, score and risk level

Verified evidence

Three possible decisions

Approve, approve with changes, or deny

Key outcome

A first-pass NDA review on demand

The client can run an NDA through the agent and get a structured review. No usage metrics were shared.

Capabilities involved

How core competencies were applied.

Agent frameworks and document analysis.

01

Multi-Agent Frameworks

Building task-focused agents with CrewAI, with prompts, tools and output rules designed together.

02

Document Analysis

Turning long legal documents into scored, structured reviews that point back to the source text.

Related work

Related work.

Other client projects built by the same team.

Client ProjectDelivered

LinkedIn Connection Agent

An n8n workflow that turns a Google Sheet of prospects into LinkedIn connection requests.

View Case Study
Client ProjectDelivered

Triten

A custom Claude skill that applies a real estate firm's fonts, colours, logo rules and tone to what Claude produces.

View Case Study

Let's talk

Have a similar challenge?

Let's discuss the problem you're trying to solve.

Talk to our team

Contact us

Stop experimenting and start engineering. Let's discuss how we can turn your complex requirements into a deployed solution.

Project intake

* Required fields