Repository navigation
Releases
Releases · stef41/lmscan
v0.3.0
What's New
- Multilingual support: French, Spanish, German, Portuguese + CJK auto-detection
- Streamlit Web UI: Interactive scanning with feature visualization and model attribution charts
- Benchmark framework: Evaluate detection accuracy with per-source breakdown
- Pre-commit hook: Integrate AI text detection into your Git workflow
- VS Code extension scaffold: Real-time AI text highlighting in your editor
193 tests passing. Published to PyPI.
v0.2.0
What's New
Batch Scanning
lmscan --dir submissions/scans all text files in a directoryscan_directory()Python API
Mixed Content Detection
lmscan --mixed "text"analyzes each paragraph independently- Detects documents mixing human and AI content
Calibration API
calibrate(samples)evaluates precision/recall/F1 on labeled datasetsfind_optimal_threshold(samples)auto-tunes for your domain
HTML Reports
lmscan --format html "text" > report.htmlgenerates self-contained dark-theme reports- Includes probability gauge, feature table, and model attribution
More Model Fingerprints
- Now detects 9 LLM families: GPT-4, Claude, Gemini, Llama, Mistral, Qwen, DeepSeek, Cohere, Phi
Stats
- 150 tests passing
- Zero dependencies
v0.1.0 — AI Text Forensics
🔍 lmscan v0.1.0
Detect AI-generated text. Fingerprint which LLM wrote it.
pip install lmscan
lmscan "Your text here..."Features
- 12 statistical features for AI text detection
- Model fingerprinting (GPT-4, Claude, Gemini, Llama, Mistral)
- Per-sentence analysis
- CLI with JSON output + threshold gating for CI
- Zero dependencies, works offline
- 96 tests
The open-source GPTZero alternative
Free. Offline. Explainable. Tells you WHICH model wrote the text.