Skip to content
ayush110109mishraPublic

About

NETRA — AI-Powered Defence Intelligence & Situational Awareness Platform (Astraveda Defence)

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

NETRA - Next-Generation Evidence & Tactical Reasoning Assistant      Astraveda Defence

NETRA // Astraveda Defence

Next-Generation Evidence & Tactical Reasoning Assistant
Advanced Systems for Technological Research, Artificial Vision, Engineering & Deep-tech AI

"See. Understand. Respond."
AI-powered interactive defence intelligence and situational-awareness command platform.


Foundation Phase Overview

NETRA is engineered as a high-density, mission-critical command-and-control platform. This initial foundation phase establishes the monorepo architecture, Express API infrastructure, tactical React client shell, and Prisma database configuration.

Operational Guardrails

  • Human-in-the-loop: AI services remain purely advisory.
  • Autonomous Weapon Prohibitions: Weapon firing, autonomous attacks, and targeting routines are strictly disallowed by system doctrine.
  • Strict Separation of Concerns: Clean Controller → Service → Data Access layering.

Monorepo Architecture

NETRA/
├── ai-core/                    # Python Intelligence Core (FastAPI, AI/ML, Phases 1-7) [ATUL]
│   ├── anomaly/                # Phase 4: Multi-dimensional anomaly detection & attribution
│   ├── api/                    # FastAPI endpoints (/health, /intelligence, /anomalies, /fusion, /predictions, /ask)
│   ├── entities/               # Phase 3: Entity profiles, behavioral baselines & focus mode
│   ├── events/                 # Phase 2: Multi-event correlation, clustering & deduplication
│   ├── fusion/                 # Phase 5: Multi-source sensor fusion, conflict arbitration & evidence
│   ├── intelligence/           # Master domain orchestrators (Phases 1-7, AskNetraEngine)
│   ├── models/                 # Deterministic Pydantic v2 data contracts
│   ├── prediction/             # Phase 6: Predictive intelligence, trend regression & forecasting
│   ├── query/                  # Phase 7: Natural language intent classification, DAG planner & executor
│   ├── reasoning/              # Phase 7: 5-tier Epistemic Ledger, attribution & structured synthesis
│   ├── simulation/             # 60+ operational synthetic scenarios
│   └── tests/                  # 309 automated unit & integration tests (100% pass rate)
├── apps/
│   ├── web/                    # React 18, Vite, TypeScript, Tailwind CSS, TanStack Query [AYUSH]
│   └── api/                    # Express.js, TypeScript, Zod, Structured Logger, Correlation ID [AYUSH]
├── packages/
│   └── shared/                 # Common TypeScript contracts, API envelopes, constants
├── prisma/
│   └── schema.prisma           # PostgreSQL database schema and migration baseline
├── docs/                       # Architecture & Setup documentation
├── .env.example                # Environment variables template
└── package.json                # Root workspaces configuration

Technology Stack

Layer Technologies Primary Owner
Intelligence Core Python 3.12, FastAPI, Pydantic v2, Pytest, NumPy ATUL (AI/ML & Intelligence)
Command Web UI React 18, TypeScript, Vite, Tailwind CSS, TanStack Query, Lucide React, Recharts, Framer Motion AYUSH (Full Stack)
Command API Gateway Node.js, Express.js, TypeScript, Zod, UUID, CORS AYUSH (Full Stack)
Database & ORM PostgreSQL, Prisma ORM Joint
Architecture Hybrid Monorepo (Node.js workspaces + Python AI Core) Joint

Quick Start

1. NETRA Intelligence Core (Python / AI / ML)

cd ai-core
pip install -r requirements.txt
python main.py

2. NETRA Operational Dashboard & Gateway (Node / TypeScript)

npm install
cp .env.example .env
npm run dev

Quality & Verification

# Verify Python Intelligence Core (309/309 tests passed, 50/50 bit-for-bit determinism)
cd ai-core && pytest tests/ -q && cd ..

# Run strict TypeScript type checks across all Node workspaces
npm run typecheck

# Run production build across all Node workspaces
npm run build

Licensing & Compliance

Proprietary software developed by Astraveda Defence. All rights reserved.

About

NETRA — AI-Powered Defence Intelligence & Situational Awareness Platform (Astraveda Defence)

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages