Magnetic Outlier Agent for Telehealth Compliance
Project description
MOA Telehealth - Magnetic Outlier Agent
Consent Risk MVP for Telehealth Compliance
MOA – Magnetic Outlier Agent
Stop letting 0.3% of your chunks hallucinate your LLM.
→ Download MOA for RAG Teams (1-page PDF)
→ pip install moa-telehealth
→ Patent Pending • BUSL 1.1 until Nov 2029
Works with LangChain • LlamaIndex • Haystack • Claude Desktop • Cursor
Overview
MOA uses AI-based anomaly detection to flag telehealth visits lacking required consent elements and RAG chunks that cause hallucinations.
Impact: MOA dropped 22% of bad chunks on a test RAG index without touching the rest.
Key Features
- Stage I (Geometric): Multi-metric outlier detection (centroid distance, local density, clustering coefficient)
- Stage II (Fourier): Sequential degradation detection via spectral analysis
- Interactive Demo: Client-side web interface for real-time compliance checking
- Automated Reporting: PDF compliance reports with visualizations
Quick Start
# Clone the repository
git clone https://github.com/grzywajk-beep/moa_v1.git
cd moa_v1
# Install dependencies
pip install -r requirements.txt
# Run the demo
python src/demo.py
Project Structure
moa_v1/
├── src/
│ ├── core/ # Core MOA algorithms
│ │ ├── geometric.py # Stage I: Geometric detection
│ │ └── fourier.py # Stage II: Spectral analysis
│ ├── utils/ # Utilities
│ ├── api/ # FastAPI backend
│ └── demo.py # Demo script
├── web/
│ ├── index.html # Interactive landing page
│ └── assets/ # CSS, JS, images
├── docs/
│ ├── presentation/ # Course project materials
│ └── reports/ # Generated compliance reports
├── tests/
└── data/
└── synthetic/ # Sample datasets
Performance Benchmarks
| Metric | MOA (λ=1.5) | LOF | Isolation Forest |
|---|---|---|---|
| Precision | 0.92 | 0.73 | 0.81 |
| Recall | 0.87 | 0.68 | 0.75 |
| F1 Score | 0.89 | 0.70 | 0.78 |
Roadmap
- Core algorithm implementation
- Synthetic data generation
- Interactive web demo
- EHR integration (Epic, Cerner)
- Real-time compliance alerts
- Mobile app (iOS/Android)
License
Business Source License 1.1 - See LICENSE for details.
Commercial Use:
- Free for evaluation, internal use, and research.
- Commercial License Required for:
- Offering MOA as a paid hosted service (SaaS).
- Embedding MOA in a commercial product for external users.
- Converts to Apache 2.0 on 2029-11-24.
See MOA_Enterprise_Licensing_Overview.md for details.
Contact
Michael Ordon - GitHub: grzywajk-beep
Transforming telehealth compliance from a tedious afterthought into a streamlined, intelligent process.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file moa_telehealth-1.0.0.tar.gz.
File metadata
- Download URL: moa_telehealth-1.0.0.tar.gz
- Upload date:
- Size: 26.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc7b6ade5726ed6ed66a7e42b56613bfa8d9cc2f17b240ee16e250b615ac8767
|
|
| MD5 |
b7a6e84f5faa6aa88505731d28839e21
|
|
| BLAKE2b-256 |
6fea8156c4b070036290a994fe7b24439402550430f519666e7ed90231828eed
|
File details
Details for the file moa_telehealth-1.0.0-py3-none-any.whl.
File metadata
- Download URL: moa_telehealth-1.0.0-py3-none-any.whl
- Upload date:
- Size: 29.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db148ff3a5c7362d1d5b00f1ab90370b7b2c9b2100982ad3834771ff616268ec
|
|
| MD5 |
bb0b85c9ff7496e5cec58820d3029a9a
|
|
| BLAKE2b-256 |
f697e08bee9e6c29a8c165bc2d56b0d5d8f73cb6ce72f0586788e393a0e21f5b
|