Structura AI — Zero-Retention AI Document Extraction Engine (PDF by Anurag KumarStructura AI — Zero-Retention AI Document Extraction Engine (PDF by Anurag Kumar

Structura AI — Zero-Retention AI Document Extraction Engine (PDF

Portfolio project
Anurag Kumar
Built Structura AI, a stateless, zero-retention AI document parsing engine designed for enterprises and compliance-first workflows aligned with India's Digital Personal Data Protection (DPDP) Act, 2023.

Key Engineering Highlights

Zero-Retention Architecture: Processes uploaded PDFs strictly in volatile RAM (io.BytesIO) with zero disk or database persistence—eliminating data leak risks for invoices, resumes, and financial records.
In-RAM PII Redaction: Built-in regex privacy filter masks sensitive identifiers (Aadhaar, PAN, phone numbers, email addresses) in memory before encrypted LLM inference while preserving business identifiers like 15-character GSTINs.
High-Availability Dual-LLM Failover: Engineered an automated failover pipeline using Groq as primary ultra-fast inference and Google Gemini as secondary fallback (~5.63 ms average failover switching overhead).
Schema-Enforced Structured Output: Converts messy, multi-page PDFs into validated JSON and clean CSV exports using strict schema prompting (temperature=0.0) and Pydantic validation.
Verified Benchmarks & Testing: Backed by a 25-test automated pytest suite and offline performance benchmarks (29.27 MiB peak RAM footprint across 20-page documents, 0 disk writes).

Live Links

GitHub Repository & Benchmarks: https://github.com/KernelKiller-ai/Structura-AI

0 likes · 1 view · Nov 30, 2026

Built Structura AI, a stateless, zero-retention PDF-to-JSON/CSV extraction engine with in-RAM PII redaction (DPDP Act 2023 compliant) and automated Groq + Googl

Tags