Skip to content
TheIndicSentinelPublic

About

Production-grade AI Governance Engine for real-time risk scoring, compliance enforcement (DPDP/RBI), and immutable audit logs.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

KavachX Product Hero

🛡️ KavachX — The AI Governance Infrastructure for Bharat

Real-time Policy Enforcement · Multi-Gate Risk Scoring · Immutable Compliance Auditing

License Python Deployment Architecture


⚡ The Enforcement Gap

As AI models integrate into the core of Bharat's digital infrastructure—from Fintech to Healthtech—the gap between intelligence and accountability is widening. Every inference is a potential compliance risk, a privacy leak, or a security breach.

KavachX (sanskrit: Kavach - Armor) is the software-defined enforcement layer that closes this gap. It provides a robust, low-latency "Digital Armor" that intercepts, analyzes, and regulates every interaction between AI models and users in real-time.


✨ Core Pillars of Governance

Pillar Capability Technical Driver
🔐 Security Immune to Prompt Injection & NAEL Adversarial Noise Classifiers
🧬 Safety Context-Aware Hate & Harm Filtering Fine-tuned Transformer Models
📋 Compliance DPDP 2023 & RBI Policy Adherence Regex + NLP PII Detection
📊 Audit Immutable Evidence Chains Cryptographic Interaction Logging
🌐 Flexibility Universal AI Interceptor Headless API & Browser Extension

🏛️ Architecture: The 4-Gate Enforcement Pipeline

                    ┌─────────────────────────────────────────┐
                    │         AI MODEL (LLM / ML System)       │
                    └──────────────────┬──────────────────────┘
                                       │  Inference Request
                                       ▼
        ╔══════════════════════════════════════════════════════╗
        ║              K A V A C H X   E N G I N E            ║
        ║──────────────────────────────────────────────────────║
        ║  Gate 1: 🔐 Security    │  Prompt Injection / NAEL   ║
        ║  Gate 2: 🧬 Safety      │  Hate, Bias, Harm Scoring  ║
        ║  Gate 3: 📋 Compliance  │  DPDP PII / IT Act Check   ║
        ║  Gate 4: 📊 Audit       │  Immutable Log + Dashboard ║
        ╚══════════════════════════════════════════════════════╝
                                       │  Governed Response
                                       ▼
                    ┌─────────────────────────────────────────┐
                    │              END USER / CLIENT            │
                    └─────────────────────────────────────────┘

🚀 Quick Start in 60 Seconds

📦 1. Installation

git clone https://github.com/TheIndicSentinel/kavachxv2.git
cd kavachxv2/backend
pip install -r requirements.txt

🐍 2. Basic Initialization

from kavachx import Sentinel

# Initialize the governance gate
sentinel = Sentinel(api_key="your_kavach_key")

# Governed inference
response = sentinel.inspect(
    prompt="Generate a response for the user...",
    context="banking_domain"
)

if response.is_blocked:
    print(f"Action Blocked: {response.violation_reason}")
else:
    print(response.content)

🗺️ Roadmap & Current Focus

  • v2.0 Core: Real-time interception and basic gate logic.
  • v2.5 Bhasha-Shield: Fine-tuned safety classifiers for 12+ Indian languages.
  • v3.0 Edge-Enforce: Moving governance logic to the client-side/edge for zero-latency.
  • v3.5 DPDPA-Masker: Specialized PII redaction for Indian data patterns (Aadhaar, PAN).

🤝 Community & Support


🛡️ KavachX — Policy-Aligned AI Infrastructure for Bharat
Built with conviction in 🇮🇳 India

About

Production-grade AI Governance Engine for real-time risk scoring, compliance enforcement (DPDP/RBI), and immutable audit logs.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages