-
Notifications
You must be signed in to change notification settings - Fork 0
Quick Start Guide
paihari edited this page Aug 20, 2025
·
1 revision
Get your Dynamic AML Detection Platform running in just 5 minutes!
- Python 3.11+ installed
- Git for cloning the repository
- Web browser for accessing the dashboard
# Clone the repository
git clone https://github.com/paihari/aml-controller.git
cd aml-controller
# Install dependencies
pip install -r requirements.txt# Launch the AML platform
python app.pyThe system will automatically:
- β Initialize SQLite database
- β Load live sanctions data from OpenSanctions API
- β Generate sample transactions
- β Create AML alerts
- β Start the web server
Open your browser and navigate to:
- Dashboard: http://localhost:5000/dashboard/dynamic.html
- API Health: http://localhost:5000/api/health
- Statistics: http://localhost:5000/api/statistics
If you want more test data, visit:
http://localhost:5000/api/initialize
This will generate additional transactions and alerts for testing.
Don't want to install locally? Try our live demo: https://aml-controller.onrender.com/
- Real-time Alerts - Live AML detection results
- Risk Analytics - Transaction risk distribution
- Interactive Charts - Visual data representation
- Transaction History - Complete audit trail
The system will generate alerts for:
- π« Sanctions Matches - OFAC watchlist hits
- π Geography Risk - High-risk country transactions
- π° Structuring - Multiple small transactions
- β‘ Velocity Anomalies - Unusual transaction frequency
- π Round-Trip - Circular money flows
- System Architecture - Understand the system design
- API Reference - Explore the REST API
- Detection Rules - Learn about AML algorithms
- Development Setup - Set up for development
Port already in use:
# Check what's using port 5000
lsof -i :5000
# Kill the process or use a different port
PORT=8000 python app.pyMissing dependencies:
# Upgrade pip and retry
pip install --upgrade pip
pip install -r requirements.txtDatabase issues:
# Remove existing database to reset
rm aml_database.db
python app.py- Monitor Logs - Watch the console output for system status
-
Check Health - Visit
/api/healthto verify system status -
Generate Data - Use
/api/initializefor more test scenarios - API Explorer - Try different API endpoints to understand the system
Ready to dive deeper? Check out the System Architecture to understand how everything works!