Pramanik is a state-of-the-art, AI-powered RegTech platform designed to automate and harden the KYC (Know Your Customer) and regulatory compliance process for Indian businesses. By leveraging a multi-agent orchestration layer, Pramanik transforms messy OCR text from various statutory documents into structured, verified, and audit-ready JSON data.
- Automated Document Intelligence: Specialized agents for extracting data from PAN Cards, GST Certificates, MOA/AOA, LEI Certificates, and Utility Bills.
- Agentic Extraction Pipeline: Uses a multi-step "Prompt → LLM → Parse → Validate" workflow with self-correcting retry logic for high reliability.
- Rigid Validation: Built-in Pydantic schemas ensure data integrity and type safety across all extracted fields.
- Cross-Document Verification: Automatically reconciles entity names and identification numbers (PAN, CIN, GSTIN) across multiple document types to detect inconsistencies.
- Fraud & Anomaly Detection: Analyzes legal clauses in MOA/AOA and identifies risk signals or fraudulent patterns in corporate filings.
- Python 3.9+
- Tesseract OCR engine installed on your system.
-
Clone the repository and navigate to the project root:
git clone <repository-url> cd EPL
-
Install the required dependencies:
pip install -r requirements.txt
-
Configure environment variables: Create a
.envfile in thesrcdirectory and add your API keys:SANDBOX_PAN_API_KEY=INSERT_KEY_HERE SANDBOX_AUTH_URL=https://api.sandbox.co.in/authenticate SANDBOX_PAN_URL=https://api.sandbox.co.in/kyc/pan/status GROQ_API_KEY = INSERT_KEY_HERE
Pramanik uses specialized agents to ensure precise extraction. Below are the core JSON structures for primary compliance documents:
{
"pan_number": "ABCDE1234F",
"entity_name": "PRAMANIK TECH SOLUTIONS PRIVATE LIMITED",
"date_of_reg": "12/04/2022",
"entity_type": "COMPANY",
"issuing_auth": "Income Tax Department"
}{
"gstin": "29ABCDE1234F1Z5",
"pan_number": "ABCDE1234F",
"legal_name": "PRAMANIK TECH SOLUTIONS PRIVATE LIMITED",
"trade_name": "Pramanik RegTech",
"state_code": "29",
"state": "Karnataka",
"status": "ACTIVE",
"registration_date": "15/05/2022",
"constitution": "Private Limited Company",
"address": "123, Tech Park, Electronic City, Bengaluru, Karnataka",
"pincode": "560100"
}{
"company_name": "PRAMANIK TECH SOLUTIONS PRIVATE LIMITED",
"cin": "U72900KA2022PTC123456",
"state": "Karnataka",
"address": "123, Tech Park, Electronic City, Bengaluru",
"pincode": "560100",
"authorized_capital": "1000000",
"main_objects": [
"To carry on the business of software development and IT enabled services.",
"To provide regulatory technology solutions and compliance automation services."
],
"subscribers": [
{"name": "JOHN DOE", "shares": "5000"},
{"name": "JANE DOE", "shares": "5000"}
]
}- 95%+ Extraction Accuracy: By utilizing document-specific heuristic prompts and majority-voting mechanisms for entity reconciliation, Pramanik minimizes manual data entry errors.
- Rapid Onboarding: Reduces KYC processing time from several days to under 5 minutes, allowing financial institutions to onboard corporate clients near-instantaneously.
- Enhanced Fraud Resilience: Simplifies fraud detection by automatically flagging discrepancies between statutory filings (like MOA) and identity proofs, drastically reducing the risk of synthetic identity fraud.