Skip to content
Garima040106Public

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

66 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

RegIntelX

πŸ€– AI-Powered Regulatory Intelligence & Compliance Command Center

From regulation to action.

RegIntelX is an AI-driven regulatory intelligence platform for financial institutions. It monitors regulatory sources, detects meaningful changes, assesses their potential impact, and turns important updates into trackable compliance work with supporting evidence.

RegIntelX follows a simple operating model:

Regulation β†’ Change Detection β†’ Impact Analysis β†’ Compliance Action β†’ Evidence Tracking

πŸš€ Product Overview

  • πŸ“‘ Monitors trusted regulatory sources and ingests new or updated documents.
  • πŸ“„ Processes regulatory webpages, PDFs, and scanned documents.
  • 🧠 Extracts structured metadata, regulatory text, and source information.
  • πŸ—‚οΈ Maintains regulation versions and document hashes for traceability and duplicate detection.
  • πŸ” Detects meaningful changes between regulatory versions.
  • ⚠️ Classifies impact level and affected regulatory domains.
  • βœ… Generates compliance actions with priority, risk score, status, due date, and required evidence.
  • πŸ”Ž Supports semantic search across the regulation library using vector embeddings.
  • πŸ”— Provides regulation-level intelligence with links back to the authoritative source.
  • πŸ–₯️ Presents the complete workflow through a focused regulatory intelligence command center.

πŸ”„ Core Workflow

πŸ“‘ Regulatory Source
       ↓
πŸ“₯ Document Ingestion
       ↓
🧠 Text & Metadata Extraction
       ↓
πŸ—‚οΈ Version Tracking
       ↓
πŸ” Change Detection
       ↓
⚠️ Impact Analysis
       ↓
βœ… Compliance Action
       ↓
🧾 Evidence Tracking

πŸ—οΈ Architecture

  • βš™οΈ Backend: FastAPI, SQLAlchemy, PostgreSQL, pgvector, and ingestion services.
  • πŸ“₯ Ingestion: Playwright, Scrapy, BeautifulSoup, PDF extraction, OCR, document hashing, and metadata extraction.
  • 🧠 Intelligence: Regulation version comparison, change detection, impact classification, embeddings, semantic retrieval, and compliance risk scoring.
  • 🎨 Frontend: Next.js, React, TypeScript, Tailwind CSS, Motion, and lucide-react.
  • πŸ—„οΈ Database: PostgreSQL with pgvector for regulatory data and semantic search.

πŸ“‹ Requirements

  • 🐍 Python 3.12 or newer
  • 🟒 Node.js 20 or newer
  • πŸ“¦ npm
  • πŸ—„οΈ PostgreSQL with the pgvector extension enabled
  • πŸ€— A Hugging Face access token for embedding generation

πŸ’» Local Development

Clone the repository and run the backend and frontend in separate terminals.

βš™οΈ Backend

From the repository root:

python -m venv .venv
source .venv/bin/activate
python -m pip install -r backend/requirements.txt

Create backend/.env with the required database setting. Do not commit this file or share its values:

DATABASE_URL=postgresql://<user>:<password>@<host>:<port>/<database>

Set the Hugging Face token in the shell that runs the backend:

export HF_TOKEN=<your_huggingface_token>
uvicorn backend.app.main:app --reload

The API runs at:

http://localhost:8000

Useful checks:

curl http://localhost:8000/health
curl http://localhost:8000/health/database

🎨 Frontend

In a second terminal:

cd frontend
npm install
npm run dev

Open:

http://localhost:3000

Available frontend checks:

npm run lint
npm run build

npm install is only needed the first time, or after package.json or package-lock.json changes.

The frontend reads the backend API configuration from:

frontend/src/lib/regintelx/api.ts

The deployed backend currently allows the production Vercel origin through CORS. A local frontend may therefore show an unavailable API state unless the backend CORS allowlist is updated to include:

http://localhost:3000
http://127.0.0.1:3000

🧭 Product Workflow

πŸ“Š Overview

The command center provides a high-level view of the regulatory environment, including:

  • πŸ“œ Monitored regulations
  • 🚨 High-impact changes
  • πŸ“‹ Open compliance actions
  • πŸ“ˆ Average risk
  • πŸ‘€ Items requiring attention

πŸ” Changes

Each detected regulatory change provides:

  • Change type
  • Impact level
  • Affected domains
  • AI confidence
  • Explanation of what changed
  • Related compliance actions

βœ… Actions

Compliance actions provide an operational work queue with:

  • 🎯 Priority
  • πŸ“Š Risk score
  • πŸ”„ Status
  • πŸ“… Due date
  • 🧾 Required evidence
  • πŸ“ Action description

Actions can move from:

Pending β†’ In Progress β†’ Completed

πŸ“š Regulations

The regulation library supports semantic search, allowing users to search by meaning rather than relying only on exact keywords.

Search results provide:

  • 🎯 Relevance score
  • πŸ”Ž Matching evidence
  • πŸ“‹ Regulatory metadata
  • 🧠 Access to the full intelligence view

🧠 Regulation Intelligence

Each regulation can be opened through Open intelligence to view its metadata, summary, source, and connections to detected changes and compliance actions.

🌐 Sources

The Sources section provides visibility into the regulatory authorities and source systems feeding the platform, along with their status and source URLs.

🎬 Demo Flow

The intended product walkthrough is:

πŸ“Š Overview
   ↓
πŸ” Changes
   ↓
⚠️ Compliance Impact
   ↓
βœ… Actions
   ↓
πŸ“š Regulations
   ↓
πŸ”Ž Semantic Search
   ↓
🧠 Open Intelligence
   ↓
🌐 Sources

The demo highlights the complete journey from discovering a regulatory update to understanding its impact and tracking the resulting compliance work.

☁️ Deployment

The backend is configured for Render through render.yaml:

pip install -r backend/requirements.txt
uvicorn backend.app.main:app --host 0.0.0.0 --port $PORT

The frontend is a standard Next.js application and can be deployed to Vercel or another Node-compatible hosting platform.

For a production build:

cd frontend
npm install
npm run build
npm run start

🌍 Current Deployment

Frontend

https://reg-intel-x.vercel.app

Backend

https://regintelx-backend.onrender.com

πŸ’‘ Why RegIntelX?

Traditional regulatory monitoring often looks like:

πŸ“’ Regulation published
       ↓
πŸ‘€ Someone finds it
       ↓
πŸ“– Someone reads it
       ↓
🧠 Someone identifies the impact
       ↓
πŸ“ Someone creates tasks
       ↓
πŸ“‹ Someone tracks them manually

RegIntelX turns this into:

πŸ“’ Regulatory Update
       ↓
πŸ“₯ Automated Ingestion
       ↓
πŸ” Change Detection
       ↓
⚠️ Impact Analysis
       ↓
βœ… Compliance Action
       ↓
🧾 Evidence & Traceability

Less searching. Less manual interpretation. More structured action.

🎯 Built for Regulated Fintech

RegIntelX is designed for financial institutions and fintechs where regulatory changes can affect areas such as:

  • πŸ” KYC and onboarding
  • πŸ›‘οΈ AML controls
  • πŸ’³ Payment operations
  • πŸ“Š Risk management
  • πŸ”’ Cybersecurity
  • πŸ—ƒοΈ Data handling
  • βš™οΈ Internal controls
  • πŸ“‘ Regulatory reporting

For a company operating in a regulated environment, knowing that a new circular exists is only the first step.

The real challenge is knowing what changed, what it affects, and what needs to happen next.

🧠 The Bigger Idea

RegIntelX is built around a simple shift in how regulatory technology should work.

Compliance shouldn't start when someone notices a circular.

It should start when the regulatory environment changes.

RegIntelX aims to make that process:

Discoverable β†’ Understandable β†’ Actionable β†’ Trackable β†’ Auditable

πŸ† Built for the Razorpay AI Buildathon 2026

RegIntelX was built for the Open Track, focusing on a real operational problem in regulated fintech.

The project explores how AI can be used beyond chat interfaces to create systems that continuously interpret changing information and connect it to real-world workflows.

πŸ’¬ One-line pitch

RegIntelX turns regulatory change into actionable, traceable compliance work.


πŸš€ RegIntelX

Don't just know what changed. Know what to do next.

πŸ“„ License

MIT. See LICENSE.

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages