HAYAGRIVA Artificial Intelligence

Sovereign AI for Indian Professionals

HAYAGRIVA combines a Marketplace of specialized legal models and audit reports with a private Workbench IDE. Ingest confidential case files, execute automated due-diligence workflows, and submit verified reports to regulators — powered entirely by 100% offline AI.

Marketplace

The intelligence distribution hub delivering domain-tuned quantised LLMs (`LegalParam-2.9B`), encrypted vaults extension packs (`.vlt`), and agentic reporting suites directly to your local workstation.

Explore Marketplace

Workbench

A custom desktop IDE customised for legal practitioners. It consumes Marketplace models, vaults, and report pipelines to automate legal drafting and compliance with complete privacy.

Open Workbench

Regulation (iPIE)

A unified digital platform connecting authorized stakeholders under the Insolvency and Bankruptcy Code, 2016. Enables automated API reporting from local private Workbenches directly to the regulator.

Inspect iPIE Gateway

End-to-End Agentic Process & Workflow

STEP 01
Marketplace Sourcing
Acquire offline `LegalParam` GGUF models, encrypted `.vlt` domain vaults, and `dashman` forensic reports.
STEP 02
Workbench Ingestion
Ingest raw case files (PDF, Word, Excel) into local SQLite FTS5/vector indices under Active-Context control.
STEP 03
Subagent Auditing
Specialized subagents (`@coc`, `@evaluator`) run critique loops and compile Regulation 39(4) Form H compliance.
STEP 04
Regulator Reporting
Sign encrypted JSON/XBRL payloads via Ed25519 keys and transmit directly to MCA Central iPIE Gateway.

Workbench IDE

The custom Eclipse Theia desktop IDE engineered specifically for legal professionals. Operates 100% on-premise with air-gapped zero cloud transmission.

STAGE 1

Case File Ingestion & Indexing

Securely parses and structures heterogeneous legal documents into high-performance local SQLite vector & full-text search indices.

Multi-Format Ingestion PDF, Word (.docx), Excel (.xlsx), TiddlyWiki, and scanned OCR layout handling.
Dual-Vector RAG Engine Concurrently routes legal text to `InLegal-SBERT` and financial sheets to `Finance-Embeddings`.
Active-Context Control Matrix Filters search scopes with a live 2,048-token budget gauge to prevent context window overflow.
Bi-Directional Monaco-SQLite Sync Intercepts edits to markdown tables and syncs key-value dictionaries directly to database records.
STAGE 2

Professional Enhancements & Visual Analytics

Provides real-time LSP diagnostics, dynamic relationship graphs, and automated judicial layout compilers.

Monaco LSP Hover & Completion Auto-completes section citations, key claims, and statutory definitions directly in the editor.
D3.js 3D Case Graph Viewer Renders interactive 3D graphs mapping corporate entities, creditors, claims, and related parties.
Case Wiki Q&A Accordions Auto-scans `wiki/qna/` markdown files to build structured collapsible question-and-answer trees.
Supreme Court Layout Compiler Compiles drafts into Supreme Court compliant DOCX (A4, Times New Roman, 14pt, 1.5 line spacing, 4cm margins).
STAGE 3

Agentic Reporting & Critique Loops

Orchestrates specialized subagents via Eclipse Theia ChatAgent delegation to perform automated compliance audits.

`@coc-coordinator` Subagent Computes voting shares ($\text{Debt}_i / \sum \text{Unrelated Debt} \times 100\%$) excluding Section 5(24) related parties.
`@plan-evaluator` Subagent Audits Resolution Plans against Section 30(2) & Section 29A to compile Regulation 39(4) Form H certificates.
`DocumentAgent` & `FormsAgent` Executes autonomous critique loops: drafts documents, sends to FormsAgent for auditing, and auto-refines.
Offline LLM Hot-Swapping Executes `LegalParam-2.9B` and `FinanceParam-2.9B` on unified port 8090 with 50% RAM savings (~2.7 GB).

Interactive Workbench Simulator

Hayagriva Workbench IDE - [Case: CIRP-Jaypee-2026]
● Engine: Port 8090 (Standard)
Explorer
📄 claims_registry.md
📄 avoidance_ledger.md
📁 wiki / qna
📊 case_graph_3d.d3
Subagents
🤖 @coc-coordinator
🤖 @plan-evaluator
1# Form H Compliance Certificate
2Under Regulation 39(4) of the IBBI (CIRP) Regulations, 2016.
3
4| Creditor Class | Claim Admitted (₹) | Voting Share (%) | Status |
5|----------------|--------------------|------------------|--------|
6| Financial (CoC)| 4,500,000,000 | 84.50% | Admitted|
7| Related Parties| 850,000,000 | 0.00% (Sec 5-24)| Excluded|
8
9[✓] Section 29A Disqualification Audit: Passed (0 Disqualifications found)
10[ℹ] Signed with local Ed25519 private key. Payload ready for iPIE portal.
Active-Context Matrix
Token Budget 854 / 2,048 Tokens

Marketplace

The distribution hub for domain-tuned GGUF LLMs, encrypted `.vlt` vaults, and specialized forensic report generators built in `desktop/RBZ Agents/dashman`.

💡 Workbench Ingestion Workflow: Reports generated from the Marketplace are ingested alongside confidential case files directly into the Workbench IDE. This allows the Insolvency Professional to query, verify, and cross-examine all data in a 100% private on-premise environment.
📢

PRA Outreach & Investor Search

Automated preparation of Process Memorandums, Teasers, and prospective resolution applicant outreach tracking for investor sourcing.

🛡️

29A Due-Diligence Audit

Multi-tier corporate ownership graph crawling, Connected Persons analysis, and Section 29A disqualification verification.

⚖️

Base Plan Preparation

Resolution plan creation, statutory compliance verification, multi-plan comparison matrix, and selected plan justification.

💰

Asset Valuation & Debt Audit

Asset Memorandum generation, liquidation vs. fair value appraisal, and financial creditor voting share calculations.

🔍

Forensic Audit & Transaction Audit

Corporate XBRL parsing, Tally XML/CSV transaction auditing for preferential (Sec 43), undervalued (Sec 45), and fraudulent transactions.

Laws & Statutory AI Regulations

HAYAGRIVA is architected from the ground up to comply with Indian data privacy acts, cybersecurity laws, and statutory AI directives issued by the Supreme Court, Reserve Bank of India (RBI), and IBBI.

DATA PRIVACY

DPDP Act 2023 Compliance

Enforces complete data minimization and local data sovereignty under Section 6 & Section 8 of the Digital Personal Data Protection Act 2023. All confidential case records, financial spreadsheets, and vector embeddings are stored and processed 100% on-premise without transferring data to external LLM cloud APIs.

  • Zero Cloud Data Leaks: Client documents remain strictly within local hardware boundaries.
  • Local Anonymization Engine: Automatic PII masking before local subagent execution.
  • Purpose Limitation: Case data is locked isolated to the active case workspace.
CYBERSECURITY

Information Technology Act 2000

Protects document integrity and guarantees an evidentiary chain of custody under Section 43A and Section 66A of the IT Act 2000. Utilizes local cryptographic hashing, asymmetric digital signatures, and encrypted on-premise storage.

  • Cryptographic Hashing: SHA-256 document fingerprinting at ingestion.
  • Ed25519 Digital Signatures: Cryptographically signed audit memos & Form H files.
  • Encrypted Vaults: AES-256-GCM encrypted `.vlt` databases with tamper-evident audit trails.
JUDICIAL DIRECTIVES

SC / RBI / IBBI AI Directives

Strictly adheres to Supreme Court legal ethics, RBI cybersecurity frameworks, and IBBI statutory codes governing AI deployment in judicial proceedings.

  • Attorney-Client Privilege: Confidential strategy is never transmitted offsite.
  • Human-in-the-Loop Audit: Mandates `verified_by_user = 1` verification flags on all AI drafts.
  • Air-Gapped Local Execution: Port 8090 local GGUF server isolates processing from public networks.

Statutory AI Compliance Matrix

Regulatory Act / Directive Statutory Mandate HAYAGRIVA Technical Guarantee
DPDP Act 2023 (Sec 6 & 8) Local data minimization & data fiduciary accountability ✓ 100% On-Premise Execution (Zero external API transmission)
Information Technology Act 2000 (Sec 43A) Cryptographic data security & tamper-proof audit trails ✓ Ed25519 Payload Signing & SHA-256 integrity chains
Supreme Court Judicial AI Code Preservation of attorney-client privilege & confidentiality ✓ Air-Gapped Local Models (LegalParam-2.9B offline engine)
IBBI Statutory Insolvency Regulations Verified Form H compliance & Sec 29A due-diligence audit ✓ Human-in-the-Loop Protocol (`verified_by_user = 1` flag)