Logo Lanfrica

Evan620/afcen-digital-cto

Domain:

environment and energy

Record type:

software
Creator:
Eva
Host:
AI-powered multi-agent technical leadership system for Africa Climate Energy Nexus # 🧠 AfCEN Digital CTO **AI-powered multi-agent technical leadership system** for the Africa Climate Energy Nexus. The Digital CTO is a network of specialized AI agents coordinated by a central LangGraph supervisor. It reviews code, manages sprints, joins meetings, scans markets, and communicates with the CEO's personal AI ("Jarvis"). ## πŸš€ Phase 1: Foundation Phase 1 delivers: - **Automated Code Review** β€” Reviews every PR from Bayes Consulting against a comprehensive checklist (security, architecture, dependencies, quality) - **GitHub Webhook Integration** β€” Receives PR events in real-time via webhooks - **3-Tier Memory** β€” Redis (working), PostgreSQL (episodic), Qdrant (semantic) - **LangGraph Supervisor** β€” Routes events to the correct sub-agent ## πŸ“¦ Quick Start ### Option A: Using the TUI (Recommended) The Digital CTO now includes a Terminal User Interface (TUI) for easy setup and interaction. ```bash # Install the Digital CTO pip install -e . # Run the onboarding wizard cto onboard # Start the main interface cto ``` The TUI provides: - πŸ§™ Interactive onboarding wizard - πŸ’¬ Chat interface with all agents - πŸ“Š Real-time system status dashboard - πŸ“œ Live log viewer - βš™οΈ Configuration management ### Option B: Manual Setup ```bash # 1. Clone & configure cp .env.example .env # Edit .env with your API keys (see below) # 2. Run with Docker docker compose up -d # 3. Verify curl localhost ``` ## πŸ”‘ Required Configuration Edit `.env` with: | Variable | Required | Description | |----------|----------|-------------| | `ANTHROPIC_API_KEY` | Yes* | Claude API key (preferred for code review) | | `AZURE_OPENAI_API_KEY` | Yes* | Azure OpenAI key (alternative to Anthropic) | | `ZAI_API_KEY` | Yes* | z.ai API key (GLM-5, OpenAI-compatible) | | `GITHUB_TOKEN` | Yes | GitHub PAT with `repo` scope | | `GITHUB_WEBHOOK_SECRET` | Yes | Secret for webhook HMAC verification | | `GITHUB_REPOS` | No | Comma-separated repos to monitor (e.g., `afcen/platform`) | …