PRYSM is an AI-powered audit intelligence platform that helps finance teams, CFOs, CA firms, and SMEs detect compliance gaps, reconciliation mismatches, missing invoices, and audit risks before they become expensive problems.
PRYSM transforms manual audit preparation from weeks of document checking into minutes of AI-powered compliance intelligence.
Audit preparation is slow, expensive, and reactive.
Finance teams often spend weeks collecting invoices, GST returns, bank statements, ROC filings, and supporting documents. Critical issues such as GST mismatches, missing invoices, late filings, or unmatched bank entries are usually discovered too late — during the audit itself.
This leads to:
- Delayed audit readiness
- High CA preparation costs
- Missed compliance gaps
- Penalties and interest exposure
- Poor document traceability
- Last-minute finance team stress
Businesses should not discover audit risks only when the auditor arrives.
PRYSM acts as a continuous audit intelligence layer.
Users upload financial documents. PRYSM extracts structured entities using OCR and LLMs, runs deterministic compliance checks, detects gaps, explains risks in plain English, and generates a professional audit-ready PDF report.
flowchart LR
A[Upload Financial Documents] --> B[OCR + PDF Text Extraction]
B --> C[LLM Entity Extraction]
C --> D[Structured Data Store]
D --> E[Compliance Rule Engine]
E --> F[Risk Dashboard]
F --> G[Audit-Ready PDF Report]
F --> H[AI Copilot Explanations]
| Feature | Description |
|---|---|
| 📤 AI Document Upload Portal | Upload invoices, GST returns, bank statements, ROC filings, and scanned PDFs |
| 🔍 PDF + OCR Extraction | Uses PyMuPDF and Tesseract to extract text from native and scanned documents |
| 🧠 LLM Entity Extraction | Extracts GSTIN, invoice number, dates, amounts, HSN codes, vendor names, and tax details |
| ⚖️ Compliance Rule Engine | Runs 18 deterministic audit and compliance rules |
| 🧾 GST Mismatch Detection | Compares invoice data, GST returns, and extracted values |
| 🚨 Missing Invoice Detection | Detects invoice sequence gaps and missing financial records |
| 📊 Risk Dashboard | Displays Critical, High, Medium, and Low severity findings |
| 🤖 AI Copilot | Explains every risk in plain English for CFOs, founders, and finance teams |
| 📑 Audit PDF Reports | Generates CA-ready audit reports with evidence and remediation steps |
| 🧬 ChromaDB Search | Enables semantic search and document intelligence across uploaded files |
flowchart TD
U[User Browser] --> FE[React / Next.js Frontend]
FE -->|REST API| API[FastAPI Backend]
API --> UPLOAD[Upload Service]
API --> EXTRACT[Extraction Service]
API --> ANALYZE[Compliance Analyzer]
API --> REPORT[Report Generator]
API --> COPILOT[AI Copilot API]
UPLOAD --> DOCS[(Uploaded Documents)]
EXTRACT --> PDF[PyMuPDF Parser]
EXTRACT --> OCR[Tesseract OCR]
PDF --> LLM[Groq / LLaMA Entity Extraction]
OCR --> LLM
LLM --> DB[(SQLite / PostgreSQL)]
LLM --> VECTOR[(ChromaDB Vector Store)]
DB --> RULES[18 Compliance Rules]
VECTOR --> COPILOT
RULES --> RISKS[Risk Scoring Engine]
RISKS --> DASH[Risk Dashboard]
RISKS --> REPORT
REPORT --> PDFOUT[Audit-Ready PDF]
sequenceDiagram
participant User
participant Frontend
participant Backend
participant OCR
participant LLM
participant Rules
participant Report
User->>Frontend: Upload financial documents
Frontend->>Backend: POST /upload
Backend->>OCR: Extract text from PDFs/images
OCR->>LLM: Send cleaned document text
LLM->>Backend: Return structured entities
Backend->>Rules: Run compliance checks
Rules->>Backend: Return risk findings
Backend->>Frontend: Display dashboard
User->>Frontend: Click Export Report
Frontend->>Report: Generate audit PDF
Report->>User: Download CA-ready report
git clone https://github.com/your-username/prysm.git
cd prysmcd backend
python -m venv venvvenv\Scripts\activatesource venv/bin/activatepip install -r requirements.txtuvicorn app.main:app --reloadBackend will run on:
http://localhost:8000API docs will be available at:
http://localhost:8000/docscd frontend
npm install
npm run devFrontend will run on:
http://localhost:3000Create a .env file inside the backend folder:
GROQ_API_KEY=your_groq_api_key
DATABASE_URL=sqlite:///./prysm.db
CHROMA_DB_PATH=./chroma_db
UPLOAD_DIR=./uploads
REPORT_DIR=./reportsCreate a .env.local file inside the frontend folder:
NEXT_PUBLIC_API_URL=http://localhost:8000| Method | Endpoint | Description |
|---|---|---|
GET |
/health |
Check backend server health |
POST |
/upload |
Upload financial documents |
POST |
/extract |
Extract text and entities from uploaded documents |
POST |
/analyze |
Run compliance rules and generate risks |
GET |
/risks/{doc_id} |
Fetch risk findings for a document |
POST |
/copilot |
Ask AI Copilot questions about audit risks |
GET |
/report/{doc_id} |
Generate and download audit-ready PDF report |
PRYSM/
│
├── backend/
│ ├── app/
│ │ ├── main.py
│ │ ├── routers/
│ │ │ ├── upload.py
│ │ │ ├── extract.py
│ │ │ ├── analyze.py
│ │ │ ├── risks.py
│ │ │ └── report.py
│ │ │
│ │ ├── services/
│ │ │ ├── pdf_parser.py
│ │ │ ├── ocr_service.py
│ │ │ ├── llm_extractor.py
│ │ │ ├── compliance_engine.py
│ │ │ ├── risk_scoring.py
│ │ │ └── report_generator.py
│ │ │
│ │ ├── models/
│ │ │ ├── document.py
│ │ │ ├── entity.py
│ │ │ └── risk.py
│ │ │
│ │ ├── core/
│ │ │ ├── config.py
│ │ │ └── database.py
│ │ │
│ │ └── rules/
│ │ └── rules.json
│ │
│ ├── requirements.txt
│ └── README.md
│
├── frontend/
│ ├── app/
│ ├── components/
│ │ ├── UploadPortal.tsx
│ │ ├── RiskDashboard.tsx
│ │ ├── RiskCard.tsx
│ │ ├── CopilotPanel.tsx
│ │ └── ReportViewer.tsx
│ │
│ ├── public/
│ ├── package.json
│ └── README.md
│
├── docs/
│ ├── architecture.md
│ ├── api-contract.md
│ └── demo-script.md
│
├── tests/
│ ├── backend/
│ └── frontend/
│
└── README.mdflowchart LR
A[1. Open PRYSM Landing Page] --> B[2. Upload Sample Documents]
B --> C[3. Watch AI Extract Entities]
C --> D[4. Risk Dashboard Loads]
D --> E[5. Click Critical Risk]
E --> F[6. View Plain-English Explanation]
F --> G[7. Export Audit PDF]
G --> H[8. Judges See Audit Readiness in Minutes]
| Step | Action | What Judges See |
|---|---|---|
| 1 | Open PRYSM | Premium fintech-style landing page |
| 2 | Upload documents | Invoice, GST return, bank statement upload |
| 3 | Run extraction | GSTIN, invoice number, dates, amounts appear |
| 4 | View dashboard | Critical and High risks highlighted |
| 5 | Open risk details | Evidence, explanation, and remediation steps |
| 6 | Ask AI Copilot | Plain-English answer about the compliance issue |
| 7 | Export report | Professional audit-ready PDF download |
| 8 | Closing line | “Know your audit gaps before the auditor does.” |
| Member | Role | Responsibility |
|---|---|---|
| Shreekumar | Team Lead / System Architect | Architecture, integration, backend design, demo strategy |
| Santheesh | Backend Lead | FastAPI, OCR pipeline, database, compliance engine |
| Tharun BL | Frontend Lead | React / Next.js UI, dashboard, upload portal, UX |
| Vishal | Research Lead | GST rules, compliance logic, prompt engineering |
| Sharun | Testing & CI/CD Lead | Testing, deployment, QA, CI/CD pipeline |
timeline
title PRYSM Product Roadmap
Hackathon MVP
: Upload documents
: OCR extraction
: LLM entity extraction
: 18 compliance rules
: Risk dashboard
: Audit PDF export
Phase 2
: Continuous monitoring
: Daily reconciliation
: Audit readiness score
: GSTN API integration
Phase 3
: Human review workflow
: CA firm mode
: Evidence tracking
: Tally and Zoho integration
Phase 4
: AI Copilot
: Vendor risk scoring
: Fraud indicators
: Predictive compliance
Phase 5
: Multi-tenant SaaS
: Enterprise security
: SSO and RBAC
: Global compliance packs
- Multi-agent audit workflow
- Human-in-the-loop compliance review
- Tally and Zoho Books integration
- GSTN API integration
- Vendor risk scoring
- Fraud pattern detection
- Multi-client CA firm dashboard
- Enterprise RBAC and SSO
- Continuous audit readiness monitoring
- Predictive compliance alerts
PRYSM is not just another document parser.
It combines:
- AI extraction for speed
- Deterministic rules for trust
- Risk scoring for prioritization
- Plain-English explanations for clarity
- Audit-ready reports for real-world usability
PRYSM does not replace auditors.
It makes every finance team audit-ready before the auditor arrives.
This project is licensed under the MIT License.
MIT License
Copyright (c) 2026 Team Ragnarok
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files, to deal in the Software
without restriction, including without limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software.