Installation
Install AletheionGuard Python package to audit LLM outputs locally
Quick Install
Install AletheionGuard with a single pip command:
That's it! The package includes pre-trained models and all dependencies.
System Requirements
Python Version
- Minimum: Python 3.8+
- Recommended: Python 3.10+
- Tested on: 3.8, 3.9, 3.10, 3.11, 3.12
Hardware
- CPU: Any modern processor
- RAM: 2GB minimum, 4GB+ recommended
- GPU: Optional (CUDA supported for faster inference)
- Storage: ~500MB for models and dependencies
Verify Installation
Quick Test
Test your installation with this simple script:
✓ Expected Output
Optional: GPU Support
By default, AletheionGuard auto-detects your hardware (CPU/GPU). You can explicitly configure the device:
Auto-detect (Recommended)
Force CPU
Force GPU
Note: GPU support requires PyTorch with CUDA. Install with: pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
Advanced: Install from Source
For development or to use the latest unreleased features:
Warning: Installing from source may include unstable features. For production use, install from PyPI with pip install aletheion-guard.
What Gets Installed
AletheionGuard automatically installs these core dependencies:
ML Libraries
- • torch (PyTorch)
- • transformers (Hugging Face)
- • sentence-transformers
- • numpy, scipy
Utilities
- • pydantic (data validation)
- • tqdm (progress bars)
- • Pre-trained models (~2.3MB)
Troubleshooting
ModuleNotFoundError: No module named 'aletheion_guard'
Make sure you've installed the package:
CUDA out of memory
Force CPU mode if you don't have enough GPU memory:
Slow first run
The first run downloads sentence-transformers models (~90MB). Subsequent runs are fast.
Import errors after upgrade
Reinstall to ensure all dependencies are up to date:
Alternative: Use Cloud API
Don't want to install anything? Use our hosted API instead:
✓ Local Package (pip)
- • No API key needed
- • Works offline
- • No rate limits
- • No network latency
- • Free forever
✓ Cloud API
- • No installation needed
- • Always up-to-date
- • Managed infrastructure
- • Scales automatically
- • 1,000 req/month free
Next Steps
Need Help?
Having installation issues? We're here to help