A secure, scalable GUI for managing multi-device inference sessions with enterprise-grade features and an easy-to-use interface.
| Feature | Description |
|---|---|
| ๐ Model Library Manager | LM Studio-style model browsing with quantization options |
| ๐ฌ Chat Interface | Multi-turn conversations with context management |
| ๐ Real-time Metrics | GPU/CPU/Memory charts with PyQtGraph |
| ๐ Session Queue Manager | Priority-based job scheduling |
| โ๏ธ Worker Configuration | Multi-device layer splitting support |
| ๐ Security Center | PQC + mTLS + JWT authentication |
| ๐ Conversation History | Usage tracking and analytics |
- โ JWT Authentication with RSA signatures
- โ mTLS Support for secure worker communication
- โ Post-Quantum Cryptography (PQC) hybrid KEM support
- โ Encrypted Configuration using Fernet encryption
- โ Role-Based Access Control ready
- โ Connection Pooling - 100+ concurrent connections
- โ Real-time Metrics - PyQtGraph charts for GPU/CPU/Memory
- โ Memory Efficiency - Deque with maxlen limits
- โ Multi-device Layer Splitting across workers
- โ Easy Model Management - Download/Upload with quantization
- โ Intuitive Chat Interface - Like LM Studio's chat panel
- โ Live Performance Monitoring - Throughput and latency charts
- โ Session Queue System - Priority job management
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ฆ
Mohawk Inference Engine v2.1.0 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ [๐ Model Library] [๐ฌ Chat Interface] โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ Tab Navigation: โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ ๐ Models | ๐ฌ Chat | ๐ Metrics | ๐ Sessions โ โ
โ โ โ๏ธ Workers | ๐ Security | ๐ History โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ Status: ๐ข All Systems Operational โ
โ Throughput: 1,250 req/s | Latency p50: 12ms โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
./launch.sh
This bootstraps a local virtual environment, installs missing dependencies, and opens the interactive launcher for native or Docker full-stack modes.
docker compose up -d --build
Services:
- GUI backend:
http://localhost:8003 - Worker service:
http://localhost:8004
Desktop GUI auto-launches when the display environment supports it. To skip container desktop GUI launch:
MOHAWK_SKIP_DESKTOP_GUI=1 docker compose up -d --build
python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt # Start full stack from launcher python launch.py
python test_user_functions.py
Expected summary:
SUMMARY: 33/33 passed (100.0%)
# Run build script build_windows.bat # Output: dist/Mohawk-Inference-Engine.exe
- Click "๐ Models" tab
- Click "โฌ๏ธ Download" or "โฌ๏ธ Upload" to get models
- Select quantization: Q4_K_M (recommended for balance)
- Configure device splitting if using multi-GPU
- Click "๐ Load Model"
- Click "๐ฌ Chat" tab
- Type your message in the input box
- Adjust settings:
- Temperature: 0.7 (balanced creativity)
- Max Tokens: 2048 (good for most tasks)
- Press โค Send or hit Enter
- Click "๐ Metrics" tab
- Watch real-time throughput and latency charts
- Monitor GPU/CPU/Memory usage
- View conversation statistics
- Model Browser - Browse with search and filters
- Download/Upload - Get models from any source
- Quantization Selector - Q4_K_M, Q5_K_M, Q8_0, FP16
- Device Split Config - Multi-device layer splitting
- Status Tracking - Ready/Loading/Failed states
- Conversation History - Scrollable message history
- Parameter Controls:
- Temperature (0.0 - 2.0)
- Top-p sampling
- Max tokens generation
- System Prompt Editor - Customizable instructions
- Context Management - Token usage tracking
- Throughput Chart - Requests per second (real-time)
- Latency Monitoring:
- p50 latency (median)
- p95 latency (95th percentile)
- p99 latency (99th percentile)
- Resource Usage Charts:
- CPU utilization
- Memory consumption
- GPU utilization per device
- Statistics Summary with totals
- Session Table - View all active sessions
- Queue Configuration - Max size and priority levels
- Job Management - Queue, cancel, monitor sessions
- Worker List - View connected workers
- Multi-device Config - Layer splitting across devices
- Worker Actions - Connect/Disconnect/Restart
- JWT Authentication - Token status and refresh
- mTLS Configuration - Certificate management
- PQC Support - Hybrid KEM for quantum resistance
- Security Event Log - Immutable audit trail
- History Table - All conversations with timestamps
- Usage Statistics - Total tokens, average latency
- Model Usage Tracking - Which models were used
# Token expiry: 24 hours # Algorithm: RS256 (RSA signatures) # Refresh window: 1 hour
- Client certificate authentication
- Encrypted configuration (Fernet)
- Certificate validity monitoring
- Optional hybrid KEM support
- X25519 + Kyber key exchange
- Quantum-resistant security layer
# Configure device splitting Format: 'cpu_threads;gpu_ids' Example: 'cpu;0,1,2,3;cuda:0,1'
- Supports 100+ concurrent connections
- WebSocket metrics streaming
- Configurable buffer windows
- PyQtGraph charts for smooth rendering
- Sub-second metric updates
- Memory-efficient data structures
build_windows.bat # Windows ./build_linux.sh # Linux/macOS
pyinstaller \
--name=Mohawk-Inference-Engine \
--onefile \
--windowed \
mohawk_gui/main.pydocker build -t mohawk-gui:latest . docker run -d \ --name mohawk-gui \ -p 8003:8003 \ -v $(pwd)/certs:/app/certs \ -v $(pwd)/logs:/app/logs \ mohawk-gui:latest
- ๐ฆ Install Guide - prerequisites and environment setup
- ๐ ๏ธ Setup Guide - local, Docker, and devcontainer run paths
- ๐ Dashboard Features Guide - Complete feature documentation
- โก Quick Start Guide - 3-minute setup guide
- โก API Quick Start - endpoint-focused smoke flow
- ๐ณ Docker Setup - container runtime details and troubleshooting
- ๐๏ธ Implementation Plan - Architecture details
- โ Production Readiness - Quality checklist
# Run unit tests pytest mohawk_gui/ -v # Run security tests pytest tests/test_security.py -v # Run performance benchmarks pytest tests/test_performance.py -v --benchmark # Code quality checks black --check mohawk_gui/ flake8 mohawk_gui/ mypy mohawk_gui/
- PyQt6 >= 6.5.0 - GUI framework
- cryptography >= 41.0.0 - Security
- PyJWT >= 2.8.0 - Token handling
- psutil >= 5.9.0 - System monitoring
- pyqtgraph >= 0.13.0 - Charts and plots
- PyInstaller - Build executables
- pytest - Testing framework
- black, flake8, mypy - Code quality
Install all with: pip install -r requirements.txt
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests
- Submit a pull request
See CONTRIBUTING.md for details.
MIT License - See LICENSE file for details
| Feature | Status | Implementation |
|---|---|---|
| JWT Authentication | โ Complete | RSA signatures, token expiry |
| mTLS Support | โ Complete | Certificate management ready |
| PQC Hybrid Mode | โ Optional | X25519 + Kyber support |
| Connection Pooling | โ Complete | 100+ connections supported |
| Real-time Metrics | โ Complete | PyQtGraph charts |
| Error Recovery | โ Complete | Retry, degrade, abort strategies |
| Multi-device Splitting | โ Complete | Layer partitioning across workers |
| Docker Support | โ Complete | Multi-stage builds ready |
| Cross-platform | โ Complete | Windows, Linux, macOS |
For issues and questions, please open an issue on GitHub or contact the Mohawk Inference Engine team.
Mohawk Inference Engine v2.1.0 - Production Ready! ๐ฆ