AI-Driven Contract Analysis and Extraction at Scale

pricewaterhousecooper_/_pwc · Legal · 2026 · source Agentic: no · promotional bias: high · source-backed · extracted with prompt 0.5.2 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Contract analysis and extraction

PwC customers needed to extract structured insights and answer questions over lengthy unstructured contracts at scale.

Constraints:

Architecture

PwC’s AIDA is an AWS-native contract-insight platform. Authenticated users enter through edge security and Cognito/project roles, upload contracts and OCR outputs into S3, persist structured configurations and extracted insights in RDS, and use Bedrock/Knowledge Bases/Guardrails for LLM-powered rule extraction and natural-language Q&A with linked citations. QuickSight and downstream integrations expose throughput, status, analytics, and extracted insights.

Diagram confidence: explicit (topology described by the source).

flowchart LR
  edge-security-and-access["edge security and access"]
  cognito-and-roles["Cognito and roles"]
  aida-application["AIDA application"]
  s3-document-store["S3 document store"]
  rds-insight-store["RDS insight store"]
  bedrock-ai-services["Bedrock AI services"]
  quicksight-dashboards["QuickSight dashboards"]
  system-integrations["system integrations"]
  edge-security-and-access --> cognito-and-roles
  edge-security-and-access --> aida-application
  cognito-and-roles --> aida-application
  aida-application --> s3-document-store
  s3-document-store --> rds-insight-store
  aida-application --> rds-insight-store
  aida-application --> bedrock-ai-services
  bedrock-ai-services --> rds-insight-store
  aida-application --> quicksight-dashboards
  aida-application --> system-integrations
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
edge security and access AWS WAF, load balancing, reverse proxy, TLS, and authenticated routing for AIDA user traffic. Cognito and roles, AIDA application
Cognito and roles Enterprise identity integration plus fine-grained application/project roles. edge security and access, AIDA application
AIDA application Contract analysis application exposing template extraction, document chat, and cross-document chat. edge security and access, S3 document store, RDS insight store, Bedrock AI services, QuickSight dashboards, system integrations
S3 document store Durable storage for uploaded contracts, OCR outputs, and metadata. AIDA application, RDS insight store
RDS insight store Stores structured data, configurations, and extracted insights for analytics and integration. AIDA application, S3 document store
Bedrock AI services LLM, Knowledge Bases, and Guardrails layer for context-aware extraction/Q&A and safety controls. AIDA application, RDS insight store
QuickSight dashboards Visualization layer for document volumes, OCR accuracy, extraction throughput, and processing status. AIDA application
system integrations Lambda/EventBridge-style downstream integrations with internal, vendor, and third-party systems. AIDA application

Data flow

A user authenticates through AIDA’s edge/access layer, uploads contracts, and AIDA stores documents, OCR outputs, metadata, configurations, and extracted insights in S3/RDS. User-defined templates and extraction rules identify relevant contract context; LLMs interpret that context, return cited values or Q&A answers, and dashboards/integrations expose results to legal, procurement, and downstream systems.

4 supporting quotes
“The architecture illustrates how AIDA’s components work together to securely process, analyze, and deliver insights from complex contracts using the scalable, cloud-native services of AWS.”article, implied
“After authentication, AIDA stores uploaded documents, Optical Character Recognition (OCR) outputs, and associated metadata in Amazon S3”article, stated
“Structured data, configurations, and extracted insights persist in Amazon RDS, so users can query and retrieve insights effectively for analytics and integration.”article, stated
“Extraction rules guide how relevant content is identified, and LLMs interpret that context to extract the correct values.”article, stated

Why this architecture

AIDA combines deterministic extraction structure with LLM interpretation because contract review needs scalable, repeatable fields and flexible natural-language answers, but legal/compliance use also requires traceability, role-based access, citations, guardrails, encryption, and human review before business or legal reliance.

4 supporting quotes
“PwC’s AI-driven annotation (AIDA) solution, built on AWS, can extract structured insights from contracts through rule-based extraction and natural language queries.”article, stated
“Users can ask natural language questions about individual contracts or across multiple documents within a project and receive context-specific answers supported by linked citations.”article, stated
“AIDA applies fine-grained access control through both application-level and project-level roles, so administrators can manage user access and permissions centrally.”article, implied
“Amazon Bedrock Guardrails](https://aws.amazon.com/bedrock/guardrails/) to apply content filtering, sensitive information (PII) protection, and prompt safety controls”article, stated

Models used: LLMs via Amazon Bedrock · Amazon Bedrock Knowledge Bases · Amazon Bedrock Guardrails

Scale

Alternatives considered (roads not taken)

Manual search and interpretation of contract language

Rejected because: AIDA reduces manual search/review by extracting structured insights and supporting natural-language questions with citations.

“By reducing the need to manually search and interpret contract language, these capabilities help streamline review workflows.”article, stated

LLM output without source traceability

Rejected because: AIDA returns results with citations to original contract text so users can verify each insight.

“Results are returned with citations that link back to the original contract text, enabling you to verify where each insight came from.”article, stated

Ungoverned AI-generated legal reliance

Rejected because: The source says safeguards and human review should be applied before legal/business reliance.

“appropriate safeguards and human review workflows should be applied prior to business or legal reliance on AI-generated outputs.”article, implied

Patterns

rag-retrieval (document-intelligence)

AIDA answers contract questions with context-specific responses and linked source citations.

“Users can ask natural language questions about individual contracts or across multiple documents within a project and receive context-specific answers supported by linked citations.”article, stated

safety-policy-enforcement (enterprise-security)

The architecture layers identity, project-level permissions, encryption, and customer-controlled compliance safeguards.

“AIDA applies fine-grained access control through both application-level and project-level roles, so administrators can manage user access and permissions centrally.”article, stated

Tradeoffs

Extraction strategy.

Chose rules plus LLM Q&A over keyword/pattern extraction alone.

Rationale: Rules provide repeatable structured fields while LLMs handle complex language and natural questions.

“PwC’s AI-driven annotation (AIDA) solution, built on AWS, can extract structured insights from contracts through rule-based extraction and natural language queries.”article, stated

Gotchas (what bit them)

AI-generated contract outputs still need safeguards before business or legal reliance.

Root cause: Contracts contain sensitive, consequential information and LLM outputs may be incomplete or wrong.

Resolution: Apply access controls, citations, and human review workflows before relying on generated insights.

“As AIDA processes potentially sensitive contractual data, appropriate safeguards and human review workflows should be applied prior to business or legal reliance on AI-generated outputs.”article, stated

Evaluation

PwC reports customer implementation time-savings and use-case outcomes.

Metrics: up to 90% manual review reduction · 90% rights research reduction

“In customer implementations, AIDA has helped reduce manual contract review time by up to 90%, helping teams to retrieve key information more quickly and shorten review cycles.”article, stated

Outcomes

AWS/PwC solution post; marked non-agentic document-intelligence workflow rather than autonomous agent.

“One major film and TV studio reduced rights research time by 90%.”article, stated