Skip to content

scarr7981/the-apparatus

Repository files navigation

The Apparatus

Multi-Model Chain Review System for AI-Powered Development

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 CLI Python License

🎯 Project Vision

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

🚀 Quick Start

# 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

🎮 Usage

Interactive CLI Commands

  • 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

Status Panel Views

  • 🧠 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

🏗️ Architecture

Chain-Review Process

  1. 🧑‍💼 Qwen 2.5 Coder - Orchestrator & Conversation Manager
  2. 🔒 DeepSeek-Coder V2 - Security Analysis & Comprehensive Review
  3. 🔍 StarCoder2 - Logic Analysis & Multi-Language Bug Detection
  4. ⚡ CodeLlama - Performance Optimization & Efficiency Analysis
  5. ✨ Codestral - Code Style & Final Polish
  6. 🎯 Synthesis - Final Consolidation & Recommendations

📄 License

MIT License - see LICENSE file for details.


The Apparatus - Revolutionizing code review through multi-model AI collaboration 🔬

About

The Apparatus - Multi-model chain review system for code analysis and AI-powered development workflows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors