AI-Native Terminal β’ 72% Offline Success β’ LuciferAI Built-In β’ Enterprise-Grade β’ Privacy-First
Lucid Terminal is a modern, AI-native terminal application built from the ground up with intelligence at its core. Unlike traditional terminals with AI bolted on, Lucid integrates LuciferAI as its native execution engine, bringing professional-grade AI assistance directly into your development workflow.
Not a Fork, Not a Wrapper - Lucid Terminal is original TypeScript/Electron architecture that implements LuciferAI's proven offline-first principles as a native plugin system. While inspired by modern terminal UX patterns, every line is purpose-built for AI integration.
LuciferAI as the Default Engine - LuciferAI isn't an add-on; it's the core execution layer. The terminal is designed around its 5-tier model system, FixNet consensus engine, and quality grading algorithms. Think of Lucid as the professional GUI frontend to LuciferAI's powerful backend.
Enterprise-Grade Architecture - Built with TypeScript, Electron, and React for production reliability. DARPA-level documentation, security-first design, and comprehensive testing make this ready for serious development work.
"Professional AI Development, Zero Compromise."
Lucid Terminal with 72% offline status, dual terminal tabs, and integrated file explorer
Complete command reference with 45+ commands across 12 categories
- 72% Offline Success Rate: Most fixes work without LLM using local templates
- 11-Grade Quality System: A+ to F- fix quality grading with intelligent filtering
- 5-Tier Model System: Tier 0 (nano) to Tier 4 (expert) automatic routing
- FixNet Integration: Encrypted, collaborative fix dictionary
- Step-by-Step Execution: Visual progress for script creation and testing
- Segmented Display: File references with exact line numbers
β /path/to/file.ts (123-456) - 5-Phase Workflow: Parse β Route β Execute β Validate β Complete
- Real-Time Progress: Loading indicators and status updates
β³ Warping... - Tier 2+ Thinking: Shows model reasoning for complex requests
- Auto-Tier Selection: Starts with highest available tier, falls back gracefully
- 40+ Model Library: TinyLlama to Llama 3.1 405B across 5 tiers
- Bypass Routing: Tier 4β3β2β1β0 for quality, then shell fallback
- Validation System: Syntax checking, execution testing, auto-fix retry
# Clone the repository
git clone https://github.com/GareBear99/lucid-terminal.git
cd lucid-terminal
# Install dependencies
npm install
# Start development
npm run dev
# Build production (macOS)
npm run buildOn first launch, Lucid Terminal will:
- β Auto-detect installed Ollama models
- β Configure LuciferAI plugin with highest available tier
- β Initialize FixNet dictionary for offline fixes
- β Start instantly on subsequent launches (< 1 sec)
# Start Lucid Terminal (after build)
open "dist/mac/Lucid Terminal.app"
# Or use development mode
npm run dev
# Now try these commands in the terminal:
> help # Show all 45+ commands
> /llm list # See available models
> make me a script that tells me my gps # Create scripts with AI
> /fix broken_script.py # Auto-fix with quality grading
> what is TypeScript # Ask questions
> /models # Manage AI models
> /fixnet sync # Sync community fixes| Component | Requirement |
|---|---|
| OS | macOS 10.14+, Windows 10+, Linux |
| Node.js | 16.0+ |
| RAM | 8GB minimum, 16GB+ recommended |
| Disk | 5GB for app, 50GB+ for all AI models |
| Internet | Optional (only for model downloads) |
β
5-Tier Model System - TinyLlama to Llama 3.1 405B automatic routing
β
Warp AI-Style UX - Segmented display with exact file references
β
Script Generation - Natural language β Python/Bash/TypeScript scripts
β
Quality Grading - 11-grade system (A+ to F-) for fixes
β
Step-by-Step Execution - Visual progress with validation phases
β
FixNet Integration - 72% offline success rate with community fixes
β
Command Registry - 45+ commands across 12 categories
β
Tier 2+ Thinking - Shows model reasoning for transparency
CRITICAL DIFFERENTIATOR: Lucid Terminal maintains 72% functionality WITHOUT any LLM
Why This Matters:
- β 45+ commands work offline - No cloud/API required
- β Air-gapped capable - Secure environments (military, research)
- β FixNet consensus system - Community-validated fixes
- β 5-tier fallback - High auto-recovery success rate
- β Emergency mode - Works even when everything fails
Commands That Work WITHOUT LLM:
# File operations (100% available)
> /ls ~/Documents # Native OS operations
> /cat file.txt # Read files
> /grep pattern # Search content
# Script execution with FixNet (72% success)
> /run script.py # Detects errors automatically
> /fix broken.py # Applies consensus fixes
# System management (100% available)
> /llm list # Manage models without LLM
> /models # View model status
> /fixnet sync # Community fixes
> /help # Complete command referencevs Competitors:
- GitHub Copilot: 0% without cloud β
- Cursor: 0% without API β
- Codeium: 0% offline β
- Lucid Terminal: 72% without LLM β
| Feature | LuciferAI_Local | Lucid Terminal | Status |
|---|---|---|---|
| Offline Success Rate | 72% | 72% | β |
| Quality Grading System | 11 grades (A+ to F-) | 11 grades (A+ to F-) | β |
| Relevance Formula | similarity*0.40 + successRate*0.30 + recency*0.20 + usage*0.10 |
Exact match | β |
| Tier System | 5 tiers (0-4) | 5 tiers (0-4) | β |
| Bypass Routing | Highest tier first | Tier 4β3β2β1β0 | β |
| Step-by-Step Execution | print_step() format |
Matching format | β |
| Warp AI Display | N/A | Segmented display with file refs | β + |
| Command Registry | 45+ commands | 45+ commands | β |
| Thinking Display | Tier 2+ | Tier 2+ | β |
| Fix Dictionary | FixNet encrypted | FixNet encrypted | β |
| Validation Phases | Multi-phase | 5-phase workflow | β |
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β User Input β
ββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β IntentParser β
β Analyzes intent, extracts parameters β
ββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β WorkflowOrchestrator β
β 5-Phase: Parse β Route β Execute β Validate β
β β Complete (with SegmentedDisplay) β
ββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β
βββββββββ΄βββββββββ
βΌ βΌ
βββββββββββββββββββ βββββββββββββββββββ
β BypassRouter β β FixNetRouter β
β Tier 4β3β2β1β0 β β Quality Gradingβ
ββββββββββ¬βββββββββ ββββββββββ¬βββββββββ
β β
βΌ βΌ
βββββββββββββββββββ βββββββββββββββββββ
β ScriptExecutor β β FixDictionary β
β Step-by-step β β A+ to F- fixes β
βββββββββββββββββββ βββββββββββββββββββ
workflowOrchestrator.ts(623 lines) - 5-phase workflow coordinationbypassRouter.ts(312 lines) - Tier 4β0 intelligent routingfixnetRouter.ts(445 lines) - Quality grading integrationfixQualityGrader.ts(305 lines) - 11-grade quality systemsegmentedDisplay.ts(281 lines) - Warp AI-style displayscriptExecutor.ts(385 lines) - Step-based executioncommandRegistry.ts(748 lines) - 45+ command library
β‘ /help, /fix <file>, /models, /llm list, /chat, /exec <cmd>, /pwd
π§ /fixnet search, /fixnet sync, /fixnet status
π§ /model list, /model switch, /model install, /model info
β¨ /generate, /build
βοΈ /workflow status, /validate, /history, /settings
π¬ Any question or request without / prefix routes to LLM
View complete reference: Type /help in terminal or see COMMANDS.md
- Frontend: React 18 + TypeScript
- Backend: Electron + Node.js
- UI Framework: Custom terminal components
- AI Integration: Ollama API
- Styling: CSS Modules
lucid-terminal/
βββ electron/
β βββ core/
β β βββ workflow/ # 5-phase orchestration
β β βββ routing/ # Tier-based routing
β β βββ fixnet/ # Quality grading & dictionary
β β βββ executor/ # Script execution
β β βββ display/ # Segmented display
β β βββ commands/ # Command registry
β βββ plugins/
β β βββ luciferAI/ # LuciferAI plugin
β βββ main.ts # Electron main process
βββ src/
β βββ components/ # React components
β βββ hooks/ # Custom hooks
β βββ types/ # TypeScript types
βββ tests/ # Test suites
# Development mode with hot reload
npm run dev
# Type checking
npm run typecheck
# Build for production (macOS)
npm run build
# Build for Windows
npm run build:win
# Build for Linux
npm run build:linuxWe welcome contributions! See CONTRIBUTING.md for guidelines.
MIT License - see LICENSE file for details.
Built on LuciferAI's Foundation:
Lucid Terminal implements the core AI principles and algorithms from LuciferAI_Local, including:
- FixNet consensus system and quality grading
- 5-tier model routing with intelligent fallback
- Offline-first architecture (72% success without LLM)
- Step-by-step validation and auto-fix patterns
- Relevance scoring formula:
similarity*0.40 + successRate*0.30 + recency*0.20 + usage*0.10
Lucid Terminal brings these proven algorithms into a modern Electron-based GUI with professional TypeScript architecture, file explorer integration, and real-time visual feedback. While LuciferAI_Local excels as a CLI tool, Lucid targets developers who want the same intelligence in a full-featured terminal application.
- π Issues: GitHub Issues
- π¬ Discussions: GitHub Discussions
- π§ Email: Contact via GitHub profile
Built with β€οΈ by developers, for developers.