How mohd-ali-creator/aegis-ai works
Aegis AI is an enterprise LLM security proxy with an employee-facing chat interface and an administrator console. Its principal workflow sends a prompt from the client through the gateway to the analysis sidecar, where PII, heuristic, semantic, and attachment/URL checks inform a mitigation decision; the gateway then logs the outcome and, when appropriate, forwards the request to a protected LLM. The README documents these service relationships and capabilities; source excerpts confirm portions of the frontend, sidecar, and registry, but do not expose all gateway routing or persistence implementation details.
Main entry points: server.js API Gateway · main.py Analysis API · App.jsx Aegis Web App · AdminPortal.jsx Admin Portal
Components 14
Client Experience
- Aegis Web App
frontend/src/App.jsx - Admin Portal
frontend/src/components/AdminPortal.jsx - Employee Analytics
frontend/src/components/EmployeeAnalyticsDashboard.jsx
Gateway Governance
- API Gateway
gateway/server.js - Security Dimensions
gateway/securityDimensions.js
Security Analysis
- Analysis API
sidecar/main.py - PII And Heuristics
sidecar/main.py - Attachment And URL Scan
sidecar/main.py - Intent Classifier
sidecar/ml_engine.py - Risk And Mitigation
sidecar/main.py
Audit And Integrations
- Audit Database
- Protected LLM
Other components
- Employee
- Administrator
Connections 16
- Employee → Aegis Web App: submits prompt
README.md - Administrator → Admin Portal: opens console
README.md - Aegis Web App → API Gateway: sends requests
README.md - Aegis Web App → Admin Portal: renders
frontend/src/App.jsx - Admin Portal → API Gateway: fetches admin data
frontend/src/components/AdminPortal.jsx - Employee Analytics → API Gateway: requests analytics
- API Gateway → Analysis API: submits prompt
README.md - Analysis API → PII And Heuristics: redacts and matches
sidecar/main.py - Analysis API → Intent Classifier: scores intent
sidecar/main.py - Analysis API → Attachment And URL Scan: scans content
README.md - Attachment And URL Scan → Intent Classifier: scores file content
sidecar/main.py - Analysis API → Risk And Mitigation: calculates action
sidecar/main.py - API Gateway → Security Dimensions: uses registry
gateway/server.js - Risk And Mitigation → API Gateway: returns decision
README.md - API Gateway → Audit Database: writes audit records
README.md - API Gateway → Protected LLM: forwards safe prompt
README.md