The Apparatus is a code review and analysis system that orchestrates multiple local LLM models to perform comprehensive, multi-perspective code evaluation. It creates a self-improving development cycle where AI systems review and enhance their own code through specialized model expertise.
The Apparatus represents the future of AI-powered development workflows, where multiple specialized models collaborate to provide:
- Comprehensive Code Review: 5-model chain analysis with specialized expertise
- Objective Quality Assessment: Consensus-based scoring and improvement recommendations
- Self-Improving Systems: AI systems that enhance their own code through continuous analysis
- Interactive Development: Real-time chat interface with live status monitoring
- Performance Optimization: Multi-model insights for security, logic, performance, and style
# Clone the repository
git clone https://github.com/scarr7981/the-apparatus.git
cd the-apparatus
# Install dependencies
pip install -r apparatus_cli_requirements.txt
# Start the API server
python apparatus_api.py --port 8001
# In another terminal, start the CLI
python apparatus_cli.py --url http://localhost:8001- Code Review: Paste code and press Enter twice to trigger chain review
- Keyboard Shortcuts: CTRL+1-5 for status views, CTRL+H for help, CTRL+T to toggle panels
- TMUX Compatible: Full terminal multiplexer integration
- 🧠 Model Activity: Real-time model status with animations
- 🏭 System Load: CPU, RAM, disk usage tracking
- 🤖 Agent Information: Detailed agent roles and specializations
- 📊 Performance Metrics: Request statistics and response times
- 📋 Session Information: Session tracking and TMUX status
- 🧑💼 Qwen 2.5 Coder - Orchestrator & Conversation Manager
- 🔒 DeepSeek-Coder V2 - Security Analysis & Comprehensive Review
- 🔍 StarCoder2 - Logic Analysis & Multi-Language Bug Detection
- ⚡ CodeLlama - Performance Optimization & Efficiency Analysis
- ✨ Codestral - Code Style & Final Polish
- 🎯 Synthesis - Final Consolidation & Recommendations
MIT License - see LICENSE file for details.
The Apparatus - Revolutionizing code review through multi-model AI collaboration 🔬