A comprehensive AI-powered platform for real-time Anti-Money Laundering (AML) monitoring and document corroboration, built for Julius Baer.
This platform integrates two critical AML capabilities:
- Real-Time AML Monitoring - Monitor transactions in real-time, generate risk-based alerts, and provide actionable insights
- Document & Image Corroboration - AI-powered document forensics to detect tampering, inconsistencies, and suspicious patterns
- Real-time KPI metrics (Active Alerts, Critical Cases, Resolution Times)
- Risk level distribution visualization
- Transaction volume trends
- Comprehensive alert triage queue
- Detailed transaction analysis with risk scoring
- AI-powered document forensics with issue detection
- Multi-agent AI analysis system:
- Regulatory Watcher: Monitors compliance with FINMA regulations
- Transaction Analyst: Analyzes patterns and anomalies
- Document Forensics: Detects digital tampering and inconsistencies
- Historical transaction context
- Complete audit trail
julius-baer-aml/
βββ frontend/ # Next.js 14 + TypeScript + TailwindCSS
β βββ app/ # Pages and layouts
β βββ components/ # Reusable UI components
β βββ lib/ # Utilities and API client
β βββ types/ # TypeScript definitions
β
βββ backend/ # FastAPI + Python
β βββ api/ # REST API endpoints
β βββ models/ # Pydantic schemas
β βββ services/ # Business logic
β βββ agents/ # AI agents (future)
β
βββ README.md # This file
- Node.js 18+ (for frontend)
- Python 3.9+ (for backend)
- npm or yarn (for frontend packages)
- pip (for Python packages)
The frontend works standalone with mock data - perfect for UI testing!
# Navigate to frontend
cd frontend
# Install dependencies
npm install
# Start development server
npm run dev
# Open browser to http://localhost:3000The backend provides REST APIs with mock data - no database required!
# Navigate to backend
cd backend
# Create virtual environment
python -m venv venv
# Activate virtual environment
# Windows:
venv\Scripts\activate
# Mac/Linux:
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Start server
python main.py
# API available at http://localhost:8000
# Docs at http://localhost:8000/docsRun both frontend and backend together:
# Terminal 1 - Backend
cd backend
python -m venv venv
source venv/bin/activate # or venv\Scripts\activate on Windows
pip install -r requirements.txt
python main.py
# Terminal 2 - Frontend
cd frontend
npm install
npm run devThen open http://localhost:3000 in your browser!
- Overview of all active AML alerts
- KPI cards showing critical metrics
- Interactive charts for risk visualization
- Alert triage queue with investigation actions
- Detailed transaction information
- Document viewer with forensics analysis
- AI agent findings from multiple specialized agents
- Historical transaction context
- Remediation and audit trail actions
- Next.js 14 - React framework with App Router
- TypeScript - Type-safe development
- TailwindCSS - Utility-first styling
- shadcn/ui - High-quality React components
- Recharts - Data visualization
- React Query - Data fetching and caching
- FastAPI - High-performance Python API framework
- Pydantic - Data validation
- Uvicorn - ASGI server
- Mock Data - In-memory data (MongoDB ready)
- Simulated AI - Mock agents (Groq API ready)
- Frontend README - Detailed frontend documentation
- Backend README - Detailed backend documentation
- API Docs: http://localhost:8000/docs (when backend is running)
- Frontend UI with all pages and components
- Backend API with all endpoints
- Mock data for development and testing
- Complete documentation
- CORS configuration for integration
- MongoDB integration (currently using mock data)
- Groq API integration (currently using simulated AI)
- WebSocket for real-time updates
- User authentication and authorization
- Production deployment configuration
- Professional banking aesthetic matching Julius Baer's brand
- Responsive design for desktop and tablet
- Intuitive navigation between dashboard and investigation views
- Color-coded risk levels and priorities
- Interactive charts and data visualizations
This is a development version with:
- Mock data (no real customer information)
- No authentication (add before production)
- CORS enabled for localhost (restrict in production)
# Install MongoDB locally or use MongoDB Atlas
# Update backend/.env with connection string
# Uncomment MongoDB code in backend/services/database.py# Get Groq API key from https://groq.com
# Add to backend/.env: GROQ_API_KEY=your_key
# Implement real agents in backend/agents/# Add WebSocket support
# Implement live alert notifications
# Add real-time dashboard updates# Add authentication (JWT, OAuth)
# Configure production environment variables
# Set up monitoring and logging
# Deploy to cloud (AWS, Azure, GCP)cd frontend
npm run dev
# Visit http://localhost:3000
# Click through dashboard and investigation pagescd backend
python main.py
# Visit http://localhost:8000/docs
# Try the interactive API documentation# Start both frontend and backend
# Frontend will automatically connect to backend
# Test full flow: Dashboard β Click "Investigate" β View detailsNEXT_PUBLIC_API_URL=http://localhost:8000
NEXT_PUBLIC_WS_URL=ws://localhost:8000CORS_ORIGINS=http://localhost:3000
# Future additions:
# MONGODB_URL=mongodb://localhost:27017
# GROQ_API_KEY=your_key_hereThis is a proprietary project for Julius Baer. For questions or support, contact the development team.
Proprietary - Julius Baer
Built with β€οΈ for Julius Baer's AML Compliance Team