Intelli-Credit (Cappri) is a modular, AI-driven platform designed to automate and streamline the corporate lending process. By leveraging specialized micro-agents and advanced OCR capabilities, Cappri transforms manual financial assessments into a transparent and explainable decision-making pipeline.
- Automated Document Ingestion: Processes complex financial documents, including GST filings, bank statements, and corporate records.
- Intelligent OCR Pipeline: Utilizes a hybrid approach featuring Chandra OCR for local processing alongside specialized APIs for high-accuracy data extraction.
- Modular Micro-Agent Architecture:
- Fraud Detection: Identifies anomalies and forensic inconsistencies in financial data.
- Capacity Calculation: Evaluates debt-servicing capabilities and financial health.
- Forensic Reconciliation: Automatically reconciles data across disparate sources to prevent manual bottlenecks.
- Explainable AI: Provides transparent credit decisions with clear justifications, ensuring compliance and trust in the appraisal process.
- FastAPI Backend: A high-performance, asynchronous Python-based API layer.
The system is built on a modular pipeline architecture, allowing for independent scaling and updates of specific appraisal components.
- Ingestion Layer: Captures and digitizes raw financial documents.
- Analysis Layer: Specialized micro-agents process extracted data for risk, fraud, and capacity.
- Decision Engine: Aggregates agent outputs to provide a comprehensive credit score and recommendation.
- API Layer: Serves results via a RESTful interface.
- Language: Python
- Framework: FastAPI
- OCR: Chandra OCR / Specialized Extraction APIs
- Architecture: RAG (Retrieval-Augmented Generation)
- Containerization: Docker
-
Clone the repository:
git clone https://github.com/roshanRobyn/IntCredit.git cd IntCredit -
Set up a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Configuration: Create a .env file in the root directory and add necessary API keys and environment variables:
OCR_API_KEY=your_key_here DATABASE_URL=your_db_connection_string
To start the FastAPI server:
uvicorn main:app --reloadThe API documentation will be available at http://127.0.0.1:8000/docs.
Distributed under the MIT License. See LICENSE for more information.