RayRay Documentation

Enterprise Intelligence Platform with Human-in-the-Loop AI

Mission Statement

RayRay bridges the gap between AI capabilities and government compliance requirements. The system enforces mandatory human verification of all AI-generated extractions before database commitment, ensuring full auditability and regulatory compliance with OMB M-25-21, NIST 800-53, and FedRAMP frameworks.

Core Capabilities

  • Spatial Evidence Traceability — Every extraction links to source coordinates via bounding boxes, enabling 100% source verification
  • Mandatory Human-in-the-Loop — LangGraph checkpoints enforce human review prior to any database write operation
  • Immutable Audit Logs — Blockchain-style SHA-256 hash chains provide tamper-evident event history
  • Labor Optimization Metrics — Automated time-savings calculation for ROI reporting to agency leadership
  • Redundancy Validation — Pre-review quality checks flag low-confidence extractions for additional scrutiny

Compliance Posture

FrameworkControlImplementation
OMB M-25-21Human OversightLangGraph checkpoint requires human review before commit
NIST 800-53AU-9Cryptographic hash chain protects audit log integrity
NIST 800-53AC-3Role-based access control (Observer, Analyst, Reviewer, Admin)
NIST 800-53IA-2OAuth 2.0 + TOTP MFA authentication
FedRAMPAudit TrailAppend-only event log with SHA-256 checksums

Quick Start

# Backend API
cd apps/api
pip install -r requirements.txt
uvicorn app.main:app --reload --port 8000

# Frontend (new terminal)
cd apps/web
npm install
npm run dev

Access the application at http://localhost:3000. See Quick Start for demo credentials.

Documentation Index

SectionAudienceContent
IntroductionAll UsersSystem overview and capabilities
Quick StartAll UsersInstallation and first document
Installation & DeploymentISSOs, DevOps, SysAdminsPrerequisites, Docker, production checklist, security hardening
Extraction WorkflowAnalystsDocument processing and review procedures
Comparison & ScoringAnalysts, Decision MakersMulti-criteria comparison, scoring profiles, exports
SpreadsheetsAnalystsExcel/CSV processing guide
Export & BriefingAnalysts, ReviewersDecision memos, PPTX briefings, audit logging
API ReferenceDevelopersREST endpoints, authentication, error codes
ArchitectureArchitectsSystem design, data flow, security model
AuthenticationSecurity TeamsOAuth 2.0 + TOTP MFA implementation details
MFA SetupAll UsersStep-by-step MFA enrollment guide
Audit SystemISSOs, AuditorsImmutable logging, hash chain integrity, verification
ComplianceISSOs/ISSMsNIST control mappings, M-25-21 alignment
ChangelogAll UsersVersion history and release notes
GlossaryAll UsersKey terms and definitions
TroubleshootingAll UsersCommon issues and resolutions