Aegis
Architecture
Aegis is built as the document-intelligence companion to ParaEval. Its job is to turn claims material into typed evidence, retrieve corroborating context, and produce a recommendation that stays transparent about uncertainty.
System Layers
Current Integration Status
The source material began as a standalone Vite and Express app underaegis-document/. The portfolio now exposes the product surface natively through Next.js routes so it behaves like the rest of the site.
The current MVP cut is case-based: a user creates a case, uploads a document, runs extraction, and reviews the resulting evidence and recommendation in one place.
Live document parsing now sits behindapp/api/aegis/*route handlers, with the next increment being durable persistence rather than more demo scaffolding.
Guardrails
- • Keep PII scrubbing explicit before wider retrieval or escalation.
- • Separate document understanding from trigger adjudication so each step remains explainable.
- • Expose evidence quality and missing data rather than pretending every upload is decisive.
- • Gate live parsing and model calls behind environment configuration in production.
Relationship To ParaEval
Aegis and ParaEval should remain separate product surfaces. Aegis specializes in document understanding and triage. ParaEval specializes in formal trigger evaluation once structured evidence is available. Keeping those boundaries clear makes both systems easier to explain, test, and evolve.