The only AI coding assistant that runs 100% locally, works offline, self-heals errors, and needs zero API keys.
LuciferAI is a fully local AI terminal assistant with self-healing capabilities and collaborative fix learning. Unlike cloud-dependent tools like GitHub Copilot, Cursor, or Codeium, LuciferAI runs entirely on your machine โ no API keys, no cloud, no data leaving your device โ while still benefiting from community wisdom through its unique FixNet consensus system.
Key differentiators: ๐ 100% local & offline ยท ๐ง Multi-tier LLM (llamafile/GGUF) ยท ๐ง Self-healing FixNet ยท ๐ก๏ธ AES-256 encrypted ยท โก 80+ commands ยท ๐ฅ๏ธ macOS/Linux/Windows
"Forged in Silence, Born of Neon."
๐ฎ Try the Interactive Playground โ Experience LuciferAI directly in your browser! No installation required.
# Navigate to LuciferAI directory
cd LuciferAI_Local
# Run LuciferAI (that's it!)
python3 lucifer.pyZero installation required! LuciferAI auto-bootstraps on first run:
- โ Auto-assembles llamafile binary from split parts (1-2 sec)
- โ Prompts to download TinyLlama model (670MB, one-time)
- โ Works offline after initial setup
- โ Starts instantly on subsequent runs (< 1 sec)
# Start LuciferAI
python3 lucifer.py
# Now try these commands:
> help # Show all commands
> llm list # See available models
> make me a script that tells me my gps # Create scripts
> fix broken_script.py # Auto-fix errors
> what is python # Ask questions
> create file test.py # File operations
> install mistral # Install better models| Component | Requirement |
|---|---|
| OS | macOS, Linux, Windows (WSL) |
| Python | 3.9+ |
| RAM | 4GB minimum (Tier 0), 8GB+ recommended |
| Disk | 2GB for base, 50GB+ for all models |
| Internet | Optional (only for model downloads) |
โ
TinyLlama (1.1B) - Bundled, works offline immediately
โ
File Operations - create, delete, move, copy, read, list, find
โ
Script Generation - Natural language โ Python/Bash scripts
โ
Auto-Fix - Fix broken scripts automatically
โ
Multi-Tier LLMs - Install bigger models as needed (Mistral, DeepSeek, Llama3)
โ
FixNet - Learn from community fixes (encrypted)
โ
GitHub Sync - Link and upload your projects
โ
Session History - 6 months of command history
โ
Badge System - Track your progress and achievements
# Inside LuciferAI:
> install core models # Install Llama3.2, Mistral, DeepSeek (recommended)
> install tier 2 # Install Tier 2 models (Mistral 7B)
> install tier 3 # Install Tier 3 models (DeepSeek 33B)
> llm list all # See all available modelsIf LuciferAI doesn't start:
# Check Python version (needs 3.9+)
python3 --version
# Install dependencies manually if needed
pip3 install colorama requests psutil
# Run with verbose output
python3 lucifer.py --verboseStill having issues? See Troubleshooting Guide below.
CRITICAL DIFFERENTIATOR: LuciferAI maintains 72% functionality WITHOUT any LLM
๐ Read Complete Technical Documentation โ DARPA/NSF/DOD Format
Why This Matters:
- โ 50+ commands work offline - No cloud/API required
- โ Air-gapped capable - Secure environments (military, research)
- โ FixNet consensus system - 10K+ community-validated fixes
- โ 5-tier fallback - 87% auto-recovery success rate
- โ Emergency mode - Works even when everything fails
Commands That Work WITHOUT LLM:
# File operations (100% available)
> list ~/Documents # Native OS operations
> copy file.txt backup # No AI needed
> find *.py # Pattern matching
# Script execution with FixNet (100% available)
> run script.py # Detects errors automatically
> fix broken.py # Applies consensus fixes (94% success)
# System management (100% available)
> llm list # Manage models without LLM
> session list # 6-month history
> environments # Scan venvs
> github status # Git operations
> fixnet sync # Community fixesvs Competitors:
- GitHub Copilot: 0% without cloud โ
- Cursor: 0% without API โ
- Codeium: 0% offline โ
- LuciferAI: 72% without LLM โ
๐ Just implemented - Perfect routing and fallback system:
# Run comprehensive validation tests
python3 tests/test_master_controller.py
# Expected: 76/76 tests passing (100% success rate)What's New:
- โ Action verb detection: 40-50% โ 100% (expanded from 23 to 80+ verbs)
- โ 5-layer routing architecture (perfect command detection)
- โ Tier-based model selection (smart LLM routing)
- โ Multi-layer fallback system (never crashes)
- โ Emergency recovery mode
Previously Failing Commands (Now Fixed!):
> make me a script that tells me my gps point # Now works! โ
> create a program that gives weather info # Now works! โ
> write a script that finds files # Now works! โ
> build something that checks system status # Now works! โ
See MASTER_CONTROLLER_STATUS.md for full details.
Built by 1 developer with $0 funding โ currently ranked top 1.1% globally (#56 out of 5,265 AI coding tools).
| Metric | LuciferAI | Funded Competitors |
|---|---|---|
| Funding | $0 | $5M - $65M+ |
| Team Size | 1 developer | 20-200 engineers |
| Self-Healing | โ FixNet (unique) | โ None |
| 100% Local | โ Yes | โ Cloud-dependent |
| Privacy | โ AES-256 encrypted | โ Data leaves machine |
Outperforms funded competitors: Tabnine ($32M), Codeium ($65M), Amazon Q Developer, Replit AI ($100M+), and 5,200+ other tools.
- Tier 0-4: 100% local operation (no data sent to cloud)
- Tier 5: Optional ChatGPT/GPT-4 integration
- Automatic Fallback: Cloud unavailable โ seamless local model switch
- Best of Both Worlds: Privacy + latest GPT-4 features when needed
- Tier 0-5 Architecture: Automatically selects the best model for each task
- Native Llamafile: Direct GGUF model execution - no external servers required
- 85+ Supported Models: From TinyLlama (1B) to Llama-3.1-70B + GPT-4
- Resource-Aware: Works on everything from 8GB RAM to 64GB+ workstations
- Typo Auto-Correction: All commands auto-correct typos (e.g., 'mistrl' โ 'mistral')
- Automatic Error Detection: Catches and fixes common errors automatically
- 51% Consensus Validation: Community-validated fixes with quality thresholds
- Privacy-First: AES-256 encrypted fixes, only metadata shared publicly
- 71.4% Duplicate Rejection: Smart filter prevents fix pollution
- Relevance Dictionary: Tracks fixes across local + remote sources
- User Reputation System: Beginner โ Expert tiers based on fix quality
- A/B Testing: Data-driven fix selection
- ML Error Clustering: Groups similar errors for pattern recognition
- Fraud Detection: Blocks dangerous patterns (rm -rf, fork bombs, etc.)
- Spam Protection: Community reporting with auto-quarantine
- Local-First: Your code never leaves your machine
LuciferAI features a 5-tier self-healing fallback system that ensures the assistant keeps working even when components fail. This is what makes LuciferAI resilient on any system.
| Tier | Name | Indicator | What It Does |
|---|---|---|---|
| 0 | Native Mode | โ Green | All dependencies satisfied, full functionality |
| 1 | Virtual Environment | ๐ฉน Cyan | Missing Python packages? Auto-creates venv and installs them |
| 2 | Mirror Binary | ๐ Yellow | Missing system tools? Downloads from mirror repository |
| 3 | Stub Layer | ๐งฉ Purple | Module crashes? Creates stub to prevent import failures |
| 4 | Emergency CLI | โ ๏ธ Red | Catastrophic failure? Minimal survival shell with core commands |
| ๐ซ | Recovery | ๐ซ Green | Auto-repair: rebuilds environment and restores to Tier 0 |
| Feature | LuciferAI | GitHub Copilot | Cursor | Tabnine | Codeium | Amazon Q |
|---|---|---|---|---|---|---|
| Funding | $0 | Microsoft/OpenAI | $60M | $32M | $65M | AWS |
| Works Offline | โ 100% | โ No | โ No | โ No | โ No | |
| Self-Healing | โ FixNet | โ No | โ No | โ No | โ No | โ No |
| Multi-Tier LLM | โ 5 Tiers | โ Single | โ Single | โ Single | โ Single | โ Single |
| Privacy | โ Local | โ Cloud | โ Cloud | โ Cloud | โ Cloud | โ Cloud |
| Open Source | โ MIT | โ No | โ No | โ No | โ No | |
| Free | โ Yes | ๐ฐ Paid | โ Yes | ๐ฐ Paid |
๐ Full Command Documentation โ All 80+ commands with examples
๐๏ธ File Operations | ๐๏ธ Build & Create | ๐ง Fix & Run | ๐ค Model Management | ๐ FixNet | ๐ Sessions | ๐ GitHub | ๐ Thermal | ๐ฎ Fun
Total Commands: 80+ ยท Work Offline: 72% ยท No LLM Required: 80% ยท Avg Response: 15-50ms
See docs/COMMANDS.md for the full reference.
LuciferAI_Local/
โโโ lucifer.py # Main entry point
โโโ core/
โ โโโ enhanced_agent.py # Main agent with FixNet integration
โ โโโ consensus_dictionary.py # 51% consensus system
โ โโโ fixnet_integration.py # FixNet orchestration
โ โโโ relevance_dictionary.py # Fix tracking & relevance
โ โโโ smart_upload_filter.py # Duplicate prevention
โ โโโ model_tiers.py # Tier configuration
โ โโโ llm_backend.py # LLM abstraction layer
โโโ tools/
โ โโโ file_tools.py # File operations
โ โโโ command_tools.py # Shell command utilities
โโโ docs/ # Documentation
โโโ tests/ # Test suite
| Tier | Size | RAM | Use Case | Example Models |
|---|---|---|---|---|
| 0 | 1-3B | 2-4GB | Quick tasks | phi-2, tinyllama |
| 1 | 3-8B | 4-8GB | General coding | gemma2 |
| 2 | 7-13B | 8-16GB | Complex tasks | mistral |
| 3 | 13B+ | 16-24GB | Expert coding | deepseek-coder |
| 4 | 70B+ | 32GB+ | Frontier | llama3.1-70b |
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
git clone --recursive https://github.com/GareBear99/LuciferAI_Local.git
pip install -r requirements.txt
python -m pytest tests/MIT License โ see LICENSE for details.
- ๐ Documentation
- ๐ Report Issues
- ๐ฌ Discussions
- โค๏ธ Sponsor This Project
Made with ๐ฉธ by LuciferAI