RExSyn Nexus Light v0.1.0 is a production-ready BioAI platform with intelligent Omega scoring and scenario-driven simulations for B2B demonstrations. This edition runs with deterministic simulation modes optimized for repeatable sales demos, API evaluation, and integration testing—without requiring GPU infrastructure.
The Light edition provides complete API surface, authentication system, rate limiting, metrics, interactive frontend, and now includes:
- Omega Scorer Lite: Calculates Integrity, Resonance, Stability scores with S++/S+/S/A/B/C/D/F grading ✅
- Scenario Engine: Deterministic simulation modes (Perfect, Drift Detection, Empathy Fail) ✅
- API Integration:
/predictendpoint with omega_preview responses ✅ - Test Coverage: 14 tests, 100% passing ✅
What's New in v0.1.0:
- [+] Omega Scorer Lite: Geometric mean of I×P×(1-Δ) with production-grade grading
- [+] Scenario Engine: 4 deterministic modes for controlled demonstrations
- [+] API Enhancement: simulation_scenario parameter + omega_preview responses
- [+] Test Suite: 14 comprehensive tests validating all scenarios
Planned for v0.2.0:
- Visual Feedback: Empathy gate alerts + Omega breakdown displays (frontend)
- Security Updates: 8 dependency patches aligned with Full Edition
- Docker Compose: Production-ready multi-container setup
📊 Current Status: v0.0.5 → v0.1.0 (Core Features Implemented)
📖 Next Release: v0.2.0 with Visual Feedback + Security Updates (Q1 2025)
📋 Comparison: See WIKI.md for detailed Light vs Full feature matrix
| Feature | Description | Status |
|---|---|---|
| Placeholder Pipeline | Fast-response mock executor for API testing | ✅ Active |
| Authentication & RBAC | JWT-based auth with role-based access control | ✅ Active |
| Rate Limiting | SlowAPI integration with per-user/IP limits | ✅ Active |
| Request Guards | Body size validation, input sanitization | ✅ Active |
| Database | SQLite with SQLAlchemy ORM | ✅ Active |
| Metrics & Monitoring | Prometheus-compatible /metrics endpoint |
✅ Active |
| Health Checks | /health with component status reporting |
✅ Active |
| API Documentation | Auto-generated OpenAPI/Swagger at /docs |
✅ Active |
| Interactive Frontend | 4-page UI (landing, console, monitoring, preview) | ✅ Active |
| CI/CD | GitHub Actions with coverage gates (40%+) | ✅ Active |
-
Landing Page (
frontend/landing/code.html)- Edition comparison (Light vs Full)
- Quick start instructions
- Feature highlights
-
API Console (
frontend/api_console/code.html)- Interactive
/predict→/status→/resultworkflow - Request history (localStorage, max 20 entries)
- Error handling with color-coded feedback
- Interactive
-
Status Monitoring (
frontend/status_monitoring/code.html)- Real-time
/healthendpoint polling - Prometheus metrics viewer (
rsn_*gauges) - Auto-refresh toggle (5-second intervals)
- Real-time
-
Full Edition Preview (
frontend/full_edition_preview/code.html)- Feature comparison grid
- B2B upgrade options
- Contact links
- Python 3.11+
- Virtual environment (recommended)
# Clone repository
git clone https://github.com/flamehaven01/RExSyn-Nexus-light.git
cd RExSyn-Nexus-light
# Install dependencies
pip install -e .[dev]
# or
pip install -r requirements.txtOption 1: Automated script
./run_light.ps1Option 2: Manual startup
# Set environment variables
$env:ALLOW_PLACEHOLDER_PIPELINE="1"
$env:RSN_JWKS_URL="local"
$env:RSN_SECRET_KEY="demo-secret"
$env:JWT_SECRET_KEY="demo-jwt"
$env:DATABASE_URL="sqlite:///D:/Sanctum/tmp/rsn-light.db"
$env:DB_URL=$env:DATABASE_URL
# Start server
cd backend
python -m uvicorn app.main:app --port 8000# Health check
curl http://127.0.0.1:8000/health
# API documentation
open http://127.0.0.1:8000/docs
# Interactive UI
open http://127.0.0.1:8000/ui# Configure
$token = "demo-local-jwt-token-placeholder"
$base = "http://127.0.0.1:8000"
$body = @{
sequence = "ACDEFGHIKLMNPQRSTVWY"
experiment_type = "protein_folding"
method = "alphafold3"
} | ConvertTo-Json
# Step 1: Submit prediction job
$predict = Invoke-RestMethod -Method Post `
-Uri "$base/api/v1/predict" `
-Headers @{ Authorization = "Bearer $token" } `
-ContentType "application/json" `
-Body $body
$jobId = $predict.job_id
Write-Host "Job ID: $jobId"
# Step 2: Check status
Invoke-RestMethod -Uri "$base/api/v1/jobs/$jobId/status" `
-Headers @{ Authorization = "Bearer $token" }
# Step 3: Retrieve result
Invoke-RestMethod -Uri "$base/api/v1/jobs/$jobId/result" `
-Headers @{ Authorization = "Bearer $token" }- Backend running: Navigate to
http://localhost:8000/ui - Offline exploration: Open
frontend/index.htmlin browser
# Run all tests with coverage
pytest --cov=backend/app/api --cov=backend/app/core --cov-report=term-missing --cov-fail-under=45
# Run specific test modules
pytest tests/test_predict.py -v
pytest tests/test_auth.py -v- Minimum: 40% (Light profile with placeholder pipeline)
- CI Gate: 45% on
backend/app/apiandbackend/app/core - Placeholder services excluded from coverage targets
| Category | Light Edition | Full Edition |
|---|---|---|
| Structure Prediction | Placeholder responses | AlphaFold3, ESMFold, RoseTTAFold executors |
| Scientific Validation | ❌ Not included | DockQ v2, SAXS χ², PoseBusters |
| MD Refinement | ❌ Not included | GROMACS integration with artifacts |
| Reports | ❌ Not included | Academic PDF reports with graphs |
| Database | SQLite | PostgreSQL with replication |
| Task Queue | ❌ Not included | Redis + Celery workers |
| Storage | Local filesystem | MinIO/S3 with versioning |
| Experiment Tracking | ❌ Not included | MLflow integration |
| Infrastructure | Single-server | Helm charts, Kubernetes-ready |
| Governance | Basic audit logs | SIDRCE + SpicyFileReview gates |
| Auth | Local JWKS | JWKS-based RBAC (RS256/ES256) |
| Monitoring | Basic Prometheus | Grafana dashboards + alerts |
📖 Detailed Comparison: WIKI.md
- Email: info@flamehaven.space
- GitHub Issue: Create B2B Request
- Backend: FastAPI 0.110+, Python 3.11+
- Database: SQLAlchemy 2.0 + SQLite (Light) / PostgreSQL (Full)
- Auth: JWT with local JWKS (Light) / Remote JWKS (Full)
- Rate Limiting: SlowAPI with Redis backend
- Metrics: Prometheus client (
rsn_*namespace) - Frontend: Vanilla HTML/CSS/JS with Tailwind CSS
RExSyn-Nexus-light/
├── backend/
│ ├── app/
│ │ ├── api/ # API endpoints (v1)
│ │ ├── core/ # Config, security, dependencies
│ │ ├── db/ # Models, database connection
│ │ ├── services/ # Business logic (placeholder)
│ │ └── main.py # FastAPI application
│ └── tests/ # Pytest suite
├── frontend/
│ ├── index.html # Navigation hub
│ ├── landing/ # Landing page
│ ├── api_console/ # Interactive API tester
│ ├── status_monitoring/ # Health & metrics viewer
│ └── full_edition_preview/ # Upgrade CTA
├── .github/
│ └── workflows/ # CI/CD pipelines
└── docs/
├── WIKI.md # Light vs Full comparison
├── LOCAL_RUN.md # Development guide
└── CONTRIBUTING.md # Contributor guidelines
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
Focus Areas for Light Edition:
- ✅ Frontend UX improvements
- ✅ API documentation enhancements
- ✅ Test coverage expansion
- ✅ Bug fixes and error handling
Full-stack features (real executors, validators, MD) belong in the Full Edition. Open an issue to discuss before implementing.
- Omega Scorer Lite: I×P×(1-Δ) geometric mean algorithm
- Scenario Engine: Perfect/Drift/Empathy Fail/Random modes
- API Integration: simulation_scenario parameter + omega_preview
- Test Suite: 14 comprehensive tests, 100% passing
- Documentation: Updated CHANGELOG, README with v0.1.0 details
- Visual Feedback: Empathy gate alerts (frontend JavaScript)
- Omega Display: Interactive breakdown with progress bars
- Security Updates: 8 dependency patches (FastAPI, SQLAlchemy, etc.)
- Docker Compose: Production-ready multi-container setup
- Enhanced Documentation: API examples with Omega scenarios
- WebSocket support for real-time updates
- Interactive scenario builder UI
- Drift timeline visualization
- Enhanced API rate limiting (per-endpoint)
- Real structure prediction executors
- Scientific validation pipeline
- MD refinement workflows
- MLflow experiment tracking
- Kubernetes deployment manifests
- SIDRCE governance integration
- Research Labs: Quick API evaluation without infrastructure setup
- Biotech Startups: Prototype integration before Full Edition deployment
- Clinical Teams: Test workflows with placeholder data
- Developers: Explore BioAI API patterns and authentication
MIT License - See LICENSE file for details.
Commercial Use: Light Edition is MIT-licensed. Full Edition requires commercial license. Contact info@flamehaven.space for details.
- Email: info@flamehaven.space
- Issues: GitHub Issues
- Wiki: Light vs Full Comparison
- Documentation: See
docs/directory
Built with ethics-first principles. Rate limiting, request guards, and audit logging are enabled by default to prevent misuse and ensure responsible AI deployment.
Star ⭐ this repository if you find it useful for your research or development workflow!

