Air-Gapped AI Deployment in India: A Technical Architecture Guide
India's regulatory landscape is shifting decisively toward data sovereignty. The Digital Personal Data Protection (DPDP) Act, RBI's data localization mandates for financial services, and the defence sector's classified information handling requirements all point in one direction: sensitive data processing must happen within your control boundary.
For enterprises that need AI capabilities — document extraction, contract analysis, bill of lading parsing, invoice classification — the question is no longer whether AI will help but whether the AI can operate without sending a single byte to an external API.
This guide covers the architecture of a fully air-gapped AI deployment for document intelligence in the Indian regulatory context.
What "Air-Gapped" Actually Means
The term is overused and often misapplied. Let us be precise.
An air-gapped AI deployment means:
- Zero network egress. No data, no telemetry, no model update requests, no license checks leave the deployment boundary.
- Zero network ingress from the internet. The system does not accept connections from outside the controlled network.
- Self-contained inference. The AI model, its runtime, its dependencies, and its serving infrastructure are all pre-loaded and operate without any external service.
This is a materially different architecture from "private cloud" or "VPC deployment." A private VPC on AWS still uses AWS services, still sends telemetry, and still depends on AWS's infrastructure. An air-gapped deployment depends on nothing outside the physical server room.
Why Indian Enterprises Need This Now
DPDP Act Compliance
The DPDP Act requires data fiduciaries to implement "reasonable security safeguards" and restricts cross-border transfer of personal data to notified countries. While the full notification framework is still evolving, enterprises processing sensitive personal data (financial records, medical records, identity documents) are increasingly choosing to eliminate cross-border data flow entirely rather than navigating the notification uncertainty.
An air-gapped AI system processes data where it is generated and stores results where the data lives. No cross-border question arises.
RBI Data Localization
The Reserve Bank of India mandates that payment data must be stored only in India. AI systems that process payment-related documents (invoices, receipts, bank statements) under a cloud API model may inadvertently send this data outside India — even briefly, during inference.
Defence and Government
DRDO, ISRO, and defence PSUs handle classified documents that cannot touch any network connected to the internet. AI-powered document processing for these organizations must be air-gapped by regulation.
Competitive Intelligence
Manufacturing, pharmaceutical, and trading companies process proprietary documents (formulations, pricing sheets, trade contracts) that represent core competitive advantages. Cloud AI APIs — even from reputed providers — introduce a trust dependency that many enterprises are unwilling to accept.
Architecture of an Air-Gapped Document AI System
The Stack
Model Format: Why ONNX
ONNX (Open Neural Network Exchange) is the right model format for air-gapped deployment because:
- Runtime independence. ONNX Runtime runs on CPU (x86, ARM) and GPU (CUDA, DirectML) without framework dependencies like PyTorch or TensorFlow.
- No network calls. ONNX Runtime performs inference locally. There is no license server, no telemetry, no model download step.
- Hardware flexibility. The same ONNX model runs on a server-grade NVIDIA GPU, a consumer GPU, or a CPU-only deployment with no code changes.
- Quantization support. Models can be quantized to INT8 for CPU-only deployment, trading marginal accuracy for significant throughput improvement on hardware without GPUs.
Pre-Loading the System
In an air-gapped environment, every dependency must be pre-loaded before the network connection is severed. This includes:
- Operating system packages (Ubuntu/RHEL ISO with all updates)
- Container images (all Docker images saved and loaded from local registry)
- ONNX models (each model file, typically 50 MB to 2 GB)
- Language models (if using LLM-based extraction, the full model weights)
- Application code and configuration
- SSL certificates (self-signed CA for internal HTTPS)
- NTP server (local time synchronization, since internet NTP is unavailable)
This pre-loading is done via a secure physical transfer (encrypted USB drive or dedicated transfer terminal) following the organization's classified data handling procedures.
Document Processing Pipeline
A typical air-gapped document AI pipeline for Indian enterprises handles:
- PDF ingestion — bills of lading, customs declarations, invoices, contracts
- Layout analysis — detecting text regions, tables, headers, stamps, and signatures using a vision model
- OCR — extracting text from detected regions, including Hindi and regional language support
- Named Entity Recognition — identifying company names, GSTIN numbers, amounts, dates, HSN codes
- Table extraction — parsing line items from invoices and customs documents
- Classification — routing documents by type (invoice, PO, BOL, contract)
- Validation — cross-checking extracted fields against business rules (GSTIN format validation, HSN code lookup from local database)
Each step runs as a containerized service, communicating over a local network with no external dependencies.
Hardware Sizing for Indian Enterprise Deployment
CPU-Only Deployment (Rs 5-8 lakh hardware cost)
| Component | Specification |
|---|---|
| Server | Dell PowerEdge R750 or HPE ProLiant DL360 |
| CPU | 2x Intel Xeon Gold 6342 (24 cores each) |
| RAM | 256 GB DDR4 ECC |
| Storage | 4x 1.92 TB NVMe SSD (RAID 10) |
| Throughput | ~200 pages/hour with INT8 quantized models |
GPU-Accelerated Deployment (Rs 15-25 lakh hardware cost)
| Component | Specification |
|---|---|
| Server | Dell PowerEdge R750xa or similar GPU server |
| GPU | 1x NVIDIA A30 (24 GB) or 1x NVIDIA L40 |
| CPU | 1x Intel Xeon Gold 6342 |
| RAM | 128 GB DDR4 ECC |
| Storage | 4x 1.92 TB NVMe SSD (RAID 10) |
| Throughput | ~2,000 pages/hour |
Deployment Considerations
- Redundancy: For production workloads, deploy two servers in active-passive configuration
- Backup: Local backup to encrypted tape or a second air-gapped storage system
- Updates: Model updates are transferred via the secure physical transfer process and deployed during maintenance windows
- Monitoring: All monitoring is local (Prometheus + Grafana on the same network), with alerts via local email server or SMS gateway
IntelligenceCore: Lubhata's Implementation
IntelligenceCore is our production air-gapped document AI platform. It handles PDF extraction for bills of lading, customs declarations, invoices, and contracts using local ONNX models with zero external API calls.
It is deployed for clients in logistics, manufacturing, and financial services who need document intelligence without cloud dependency.
Need air-gapped AI for your documents? Schedule a technical discussion.
Related reading: - Custom ERP vs SaaS ERP in India: The Real Cost - NIC Direct API vs GSP for GST E-Invoicing