← AI Free Learning
1 / 10
🎙 NARRATING Loading…
CTO Program Project · Viswa
Agentic AI · Compliance Technology
Agentic-AI
Compliance Review Platform
An intelligent, serverless platform that automates contract and procurement document review — delivering structured compliance insights powered by Agentic AI.
🔗 ai.viswanext.com/agent.html ☁️ AWS Serverless 🤖 Agentic AI 📄 PDF → JSON Reports
Section 1 · Overview
Purpose & Motivation
Compliance reviews of contracts and procurement documents are time-consuming, inconsistent, and hard to audit. This platform changes that.
⚡
Automate Initial Review
AI-driven compliance and risk-flagging replaces manual first-pass review, saving significant effort.
🎯
Improve Consistency
Every document is assessed by the same intelligent engine — eliminating human variability and bias.
📋
Enable Audit Trail
Structured JSON reports with metadata support compliance history, governance, and auditability.

Users only need a browser: upload PDF → get report. The backend handles all heavy-lifting — AI, storage, and processing.

— Platform Design Principle
Section 1.3 · People
Who Benefits?
The platform is designed to serve multiple roles across an organisation's compliance ecosystem.
⚖️
Compliance & Legal Teams
Internal compliance officers and legal reviewers receive AI-flagged risk summaries before deep manual review.
📁
Contract Managers
Business users who upload procurement documents get immediate structured insights with zero coding required.
🛠️
DevOps & Infrastructure
Teams managing AWS S3, Lambda, and API Gateway maintain the platform's serverless backbone.
🔍
Auditors & Governance
Access compliance history, timestamps, and structured reports for regulatory and governance reviews.
Section 2 · Design
System Architecture
Serverless-first, with clear separation of concerns across five core components.
🖥️
Frontend UI
Static site — login.html, agent.html. Handles file selection, upload triggers, and report display.
🔐
Authentication
Credential API integrated with login flow. Only authorised users access upload & review.
⬆️
Upload API Lambda
Accepts PDF from frontend, decodes base64, stores securely in S3 under data/contracts/.
🤖
Agent Review Lambda
Containerised Lambda — downloads PDF, runs AI workflow, generates JSON report, uploads to S3.
🗄️
S3 Storage
Private bucket stores contracts at data/contracts/ and reports at data/reports/.
📊
CloudWatch Logs
Lambda logs, errors, and audit trail for debugging, monitoring, and compliance tracking.
Section 2.3 · Process
Request Flow
A clean six-step sequence from login to downloadable compliance report — entirely serverless.
1
User Login
login.html → auth token
→
2
Upload PDF
base64 → /agent/upload
→
3
Store in S3
data/contracts/
→
4
Run Review
/agent/runreview
→
5
AI Analysis
Lambda → JSON report
→
6
Download Report
data/reports/ ✓

Each Lambda is stateless and independent — no persistent local state between executions. This ensures scalability, cost-efficiency, and alignment with serverless best practices.

— Architectural Principle
Section 3 · Technology
Technology Stack
Built entirely on AWS serverless infrastructure with a Python AI backend and containerised review logic.
LayerTechnology / Service
FrontendHTML / CSS / JavaScript — static site hosted on CloudFront
AuthenticationCustom Credential API integrated with login flow
API / Backend ComputeAWS Lambda (Python) · Containerised Lambda for AI review (ECR)
StorageAWS S3 — contracts, reports, and logs (private bucket)
API GatewayAWS API Gateway (REST) — frontend ↔ Lambda endpoints with CORS
AI / ML BackendPython Agentic AI — transformers / sentence-transformers / custom logic
Logging / MonitoringAWS CloudWatch Logs + optional custom log store in S3
Future AnalyticsAWS Athena + QuickSight · or custom backend dashboard
Section 4 · Functional Spec
Use Cases & APIs
Five use cases, two live API endpoints, and a clear data flow from upload to report download.
📤
UC-01 · Upload Contract PDF
POST /agent/upload
Input: { filename, file: base64 } → Returns S3 key & success message
🔬
UC-02 · Trigger AI Review
POST /agent/runreview
Input: { filename } → Returns report_s3_key + completion status
📥
UC-03 · Retrieve Report
Download JSON report from S3 with metadata — timestamp, s3_key, compliance flags & summary
🔮
UC-04/05 · Future
Audit history dashboard, human review/approval workflow, annotations, and status tracking
Section 5 · Security
Security & Privacy
Enterprise-grade security controls protect sensitive contract data throughout the platform.

Private S3 Bucket — No public listing or reading of contracts or reports. All access is IAM-controlled.

Minimal IAM Permissions — Lambda roles granted only s3:GetObject, s3:PutObject, s3:ListBucket, and CloudWatch logs.

Authenticated API Access — Only credentialled users can call upload & review APIs via the login/credential integration.

CORS Restriction — API Gateway CORS settings restrict origins to ai.viswanext.com/agent.html only.

Audit Trail Logging — Every upload and review is logged: who, what file, when, what action — for compliance history.

Section 6.2 · Roadmap
Future Enhancements
A clear roadmap of planned capabilities that will transform the platform into a full compliance intelligence system.
📊
Dashboard & History UI
List uploads, past reports, statuses, download links, and timestamps with search/filter.
🧠
Vector RAG over Policy Archive
AI cross-references uploaded contracts against internal policy documents using vector search.
👤
Human-in-the-Loop Workflow
Reviewers accept/reject AI findings, add annotations, and mark approval status.
⚙️
Infrastructure as Code (IaC)
AWS CDK / CloudFormation for reproducible deployments, staging/production environments.
🔑
RBAC & Role Management
Role-based access: who can upload, review, approve, and view reports — fine-grained control.
🚀
CI/CD & Testing Pipeline
Unit & integration tests, automated builds, containerisation, deployment, and rollback.
Summary · Viswa
Intelligent Compliance,
Automated
The Agentic-AI Compliance Review Platform demonstrates how modern serverless architecture and agentic intelligence can eliminate manual bottlenecks in contract review — delivering speed, consistency, and full auditability to enterprise compliance teams.
100%
Serverless — zero server management
6-Step
Upload-to-report workflow
JSON
Structured, auditable compliance reports