# ๐Ÿง  Antigravity Brain - Enterprise AI Crew System A modular **CrewAI** application with shared memory, 26 specialized AI agents, and a web interface powered by **Chainlit**. ![Python](https://img.shields.io/badge/Python-3.11+-blue) ![CrewAI](https://img.shields.io/badge/CrewAI-0.80+-green) ![Docker](https://img.shields.io/badge/Docker-Ready-blue) ![License](https://img.shields.io/badge/License-Private-red) ## ๐Ÿš€ Features - **26 Specialized AI Agents** - From infrastructure (Arthur Mendes, Gus Fring) to sales (Ari Gold, Don Draper) to crisis management (Olivia Pope, Saul Goodman) - **Shared Memory** - Agents share knowledge via Mem0 + Qdrant vector database - **Smart Routing** - Automatic request classification to the appropriate crew - **Multi-Provider LLM Support** - Works with Gemini, OpenAI, Anthropic, or local Ollama - **Web Interface** - Beautiful chat UI powered by Chainlit - **Docker Ready** - One-command deployment with docker-compose ## ๐Ÿ“ Project Structure ``` minions-da-itguys/ โ”œโ”€โ”€ src/ โ”‚ โ”œโ”€โ”€ app.py # Chainlit entry point โ”‚ โ”œโ”€โ”€ config.py # LLM & Memory configuration โ”‚ โ”œโ”€โ”€ router.py # Smart request routing โ”‚ โ”œโ”€โ”€ agents/ โ”‚ โ”‚ โ”œโ”€โ”€ factory.py # Agent instantiation โ”‚ โ”‚ โ””โ”€โ”€ personas/ # 26 agent personality files (.md) โ”‚ โ”œโ”€โ”€ crews/ โ”‚ โ”‚ โ””โ”€โ”€ definitions.py # Crew assembly logic โ”‚ โ”œโ”€โ”€ knowledge/ โ”‚ โ”‚ โ””โ”€โ”€ standards/ # Corporate knowledge base โ”‚ โ”œโ”€โ”€ memory/ โ”‚ โ”‚ โ””โ”€โ”€ wrapper.py # Mem0 integration with rate limiting โ”‚ โ””โ”€โ”€ tools/ # Custom tools (Zabbix, Evolution, etc.) โ”œโ”€โ”€ docker-compose.yml # Container orchestration โ”œโ”€โ”€ Dockerfile # App container โ”œโ”€โ”€ requirements.txt # Python dependencies โ””โ”€โ”€ .env # API keys & configuration ``` ## ๐Ÿ› ๏ธ Installation ### Prerequisites - Docker & Docker Compose - Python 3.11+ (for local development) - Gemini/OpenAI API Key ### Quick Start (Docker) ```bash # 1. Clone the repository git clone https://github.com/your-org/minions-da-itguys.git cd minions-da-itguys # 2. Configure environment cp .env.example .env # Edit .env with your API keys # 3. Start the application docker-compose up -d # 4. Access the web interface open http://localhost:8000 ``` ### Local Development ```bash # Install dependencies pip install -r requirements.txt # Run Chainlit chainlit run src/app.py --port 8000 ``` ## โš™๏ธ Configuration Edit `.env` to configure the AI backend: ```env # LLM Provider: gemini, openai, anthropic, ollama LLM_PROVIDER=gemini LLM_MODEL_FAST=gemini-2.5-flash-lite-preview-06-17 LLM_MODEL_SMART=gemini-2.5-flash-lite-preview-06-17 GEMINI_API_KEY=your-api-key # Memory: qdrant (local) or mem0 (cloud) MEMORY_PROVIDER=qdrant MEMORY_EMBEDDING_PROVIDER=local ``` ## ๐Ÿค– Available Crews | Crew | Agents | Purpose | |------|--------|---------| | **Infra Engineering** | Arthur Mendes, Gus Fring | Zabbix templates, monitoring | | **Security Audit** | Elliot Alderson, Devil | Vulnerability assessment | | **HR & Evolution** | The Architect, Sherlock | Create agents, learn policies | | **Sales Growth** | Ari Gold, Chris Gardner, Don Draper | Pipeline management | | **Business Strategy** | Harvey Specter, Kevin O'Leary | Compliance, ROI analysis | ## ๐Ÿงช Usage Examples ``` User: "Validate this Zabbix template" โ†’ Routes to: Infra Engineering (Zabbix) โ†’ Arthur validates YAML, fixes UUIDs, Gus reviews User: "Create a new agent named Bob for DevOps" โ†’ Routes to: HR & Evolution โ†’ The Architect spawns new persona file User: "Analyze security of our login page" โ†’ Routes to: Security Audit โ†’ Elliot performs reconnaissance ``` ## ๐Ÿ“ฆ Dependencies - `crewai` - Multi-agent orchestration - `chainlit` - Web UI - `mem0ai` - Shared memory - `qdrant-client` - Vector database - `litellm` - Multi-provider LLM support - `sentence-transformers` - Local embeddings ## ๐Ÿ”’ Security Notes - Never commit `.env` with real API keys - The `.env.example` contains safe placeholder values - Memory is persisted in Docker volume `qdrant_data` ## ๐Ÿ“ License Private - ITGuys Internal Use Only --- Built with โค๏ธ by ITGuys