Skip to content

richter83-star/Powerhouse-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

84 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Powerhouse Multi-Agent Platform

Enterprise-grade multi-agent AI platform for B2B use cases. Orchestrates 19+ specialized AI agents to solve complex business challenges.

πŸ—οΈ Architecture

  • Backend: FastAPI (Python) with multi-agent orchestrator
  • Frontend: Next.js 14 (React 18, TypeScript)
  • Database: PostgreSQL 15
  • Desktop: Electron wrapper for standalone deployment
  • Infrastructure: Docker Compose for containerization

πŸ“ Changelog (Unreleased)

  • Added agent reflection/evaluation logging with memory-guided planning and swarm consensus voting.
  • Added curriculum adaptation, meta-evolution hooks, and a learning-loop test.
  • New optional env var: MEMORY_STORE_PATH to persist MetaMemoryAgent entries.
  • New optional seeds for deterministic behavior: CurriculumAgent(seed=...), MetaEvolverAgent(seed=...).
  • Added LLM provider override LLM_PROVIDER and local fallback via LLM_ALLOW_NO_KEY for offline runs.

πŸš€ Quick Start

Prerequisites

Before installing, make sure you have:

  • Python 3.11+ - Download (check "Add Python to PATH")
  • Node.js 18+ - Download (LTS version recommended)
  • Docker Desktop - Download (for database)
  • Git (optional, for cloning the repository)

πŸš€ Fast Installation Options

Choose the fastest method for you:

Option 1: Docker-Only Install (Fastest - Recommended!) ⭐

File: INSTALL_DOCKER_ONLY.bat
Time: 5-8 minutes (first time), 30 seconds (after)
Requirements: Only Docker Desktop needed (no Python/Node.js!)

Why this is fastest:

  • βœ… No local dependencies to install
  • βœ… Everything runs in containers
  • βœ… Images cached for instant future startups
  • βœ… One script does everything

Usage:

INSTALL_DOCKER_ONLY.bat

Option 2: Docker Quick Start (After First Install)

File: docker-quickstart.bat
Time: ~30 seconds
Best for: Starting services after initial install

Usage:

docker-quickstart.bat

🎯 Recommended: Docker-Only Install

For first-time users, we recommend INSTALL_DOCKER_ONLY.bat:

  1. Install Docker Desktop (if not already installed)

  2. Run the installer:

    INSTALL_DOCKER_ONLY.bat
  3. That's it! Access at http://localhost:3000

Advantages:

  • No Python or Node.js installation needed
  • Faster setup (everything in Docker)
  • Easier to maintain
  • Works consistently across different systems

πŸ’‘ See README_QUICK_START.md for step-by-step Docker startup details.

Alternative: Manual Installation

If you prefer manual steps or encounter issues:

  1. Run Diagnostics (troubleshooting):

    scripts\maintenance\DIAGNOSE.bat
  2. Start Docker Services:

    docker-quickstart.bat

    Or:

    docker-compose up -d

Access Points

Once running, access:

πŸ“ Project Structure

POWERHOUSE_DEBUG/
β”œβ”€β”€ backend/          # FastAPI backend
β”‚   β”œβ”€β”€ agents/       # 19+ AI agent implementations
β”‚   β”œβ”€β”€ api/          # API routes and endpoints
β”‚   β”œβ”€β”€ core/         # Core orchestration, security, monitoring
β”‚   β”œβ”€β”€ database/     # Database models and migrations
β”‚   └── tests/        # Test suite
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ app/          # Next.js application
β”‚   └── desktop/      # Electron desktop app
β”œβ”€β”€ electron-app/     # Alternative Electron wrapper
└── docker-compose.yml

πŸ”§ Development

Backend Development

cd backend
python -m venv .venv
# Windows: .venv\Scripts\activate
# Linux/Mac: source .venv/bin/activate

# Install dependencies (minimal set to avoid heavy ML downloads)
pip install -r requirements-minimal.txt

# Copy environment template and point the API at a local SQLite DB for quick starts
cp .env.example .env
export DATABASE_URL=${DATABASE_URL:-sqlite:///./powerhouse.db}

# Run development server
uvicorn api.server:app --reload --port 8001

Frontend Development

cd frontend/app

# Install dependencies (if not already done)
npm install

# Run development server
npm run dev

Environment Variables

Backend (backend/.env):

  • Copy .env.example to .env and configure:
    • Database connection string
    • JWT secrets
    • API keys (OpenAI, Stripe, etc.)

Frontend (frontend/app/.env.local):

  • Copy .env.example to .env.local and configure:

πŸ§ͺ Testing

# Backend tests
cd backend
pytest tests/test_api_endpoints.py -k health -v

# Full suite (may require external services)
# pytest tests/ -v

# Frontend tests
cd frontend/app
npm test

πŸ“š Documentation

πŸ” Security

  • JWT-based authentication
  • Role-based access control (RBAC)
  • Multi-tenant isolation
  • Audit logging
  • Rate limiting

🚒 Deployment

Production Installer (Recommended for End Users)

Build a professional Windows installer that creates Setup.exe and Powerhouse.exe:

BUILD_PRODUCTION.bat

Output: electron-app/dist/Powerhouse Setup 1.0.0.exe

This creates:

  • βœ… Setup.exe - Professional Windows installer (~500-800 MB)
  • βœ… Powerhouse.exe - Desktop launcher (after installation)
  • βœ… Bundles all dependencies
  • βœ… One-click installation for end users
  • βœ… Native desktop app experience

See BUILD_QUICK_REFERENCE.md for quick guide or electron-app/README_PRODUCTION.md for detailed documentation.

Docker

docker-compose up -d

Production Server Deployment

See deployment guides in backend/docs/ directory.

πŸ“ License

[Your License Here]

🀝 Contributing

[Contributing guidelines]

πŸ“§ Support

[Support contact information]


πŸ“– Additional Resources

  • Quick Start Guide: See README_QUICK_START.md for step-by-step instructions
  • Installation Troubleshooting: See README_QUICK_START.md (Troubleshooting section)
  • Architecture: See docs/ARCHITECTURE.md for system design
  • Deployment: See docs/DEPLOYMENT_GUIDE.md for production setup
  • Git Setup: See docs/GIT_SETUP.md for repository configuration

Note: This is an active development project. For the fastest setup, use INSTALL_DOCKER_ONLY.bat.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors