UNPKG

ai-team-orchestrator

Version:

🧠 AI Team Advanced - Maximum Quality Agent System avec 9 agents ultra-spĂ©cialisĂ©s et collaboration intelligente

192 lines (143 loc) ‱ 4.57 kB
# 🚀 AI Team Orchestrator - DĂ©marrage Ultra-Rapide ## ⚡ Installation en 3 Ă©tapes (2 minutes) ### 1ïžâƒŁ **Installation du package** ```bash npm install -g ai-team-orchestrator@latest ``` ### 2ïžâƒŁ **Configuration locale (.env) - Pour le CLI** ```bash # Dans votre projet Git ai-team setup-api ``` → Choisir "📁 Fichier .env local" → Entrer votre clĂ© Together.ai → Entrer votre token GitHub (optionnel) ### 3ïžâƒŁ **Installation des workflows GitHub** ```bash ai-team init ``` ## ✅ **C'est prĂȘt ! Test immĂ©diat** ```bash ai-team issue "Landing page moderne" --type frontend ``` --- ## 🔑 **Configuration des clĂ©s API** ### **đŸ“± LOCAL (CLI) - Fichier .env** Pour utiliser les commandes `ai-team issue`, `ai-team create` #### **Together.ai (obligatoire)** 1. 🌐 **CrĂ©er un compte:** https://together.ai 2. 🔑 **GĂ©nĂ©rer une clĂ©:** https://api.together.ai/settings/api-keys 3. 📝 **Nom:** "AI Team DeepSeek R1" 4. đŸ’Ÿ **Copier la clĂ©** #### **GitHub Token (optionnel mais recommandĂ©)** 1. 🌐 **CrĂ©er un token:** https://github.com/settings/tokens 2. 🔑 **"Generate new token (classic)"** 3. 📝 **Permissions:** `repo` + `workflow` 4. đŸ’Ÿ **Copier le token** ### **☁ GITHUB ACTIONS - Secrets** Pour que les workflows gĂ©nĂšrent automatiquement le code #### **TOGETHER_AI_API_KEY (obligatoire)** ``` Repository → Settings → Secrets and variables → Actions → New repository secret → Name: TOGETHER_AI_API_KEY → Value: votre-cle-together-ai ``` #### **GITHUB_TOKEN (automatique)** ✅ **Fourni automatiquement par GitHub !** Aucune action requise. --- ## 📁 **Fichier .env automatique** La commande `ai-team setup-api` crĂ©e (LOCAL uniquement) : ```bash # AI Team Orchestrator v2.3.4 - Configuration DeepSeek R1 TOGETHER_AI_API_KEY=votre-cle-together-ai GITHUB_TOKEN=ghp_votre-token-github # Optionnel ``` ⚠ **Important:** Ce fichier est LOCAL uniquement, jamais envoyĂ© Ă  GitHub (sĂ©curitĂ©). --- ## 🔄 **Flux complet** ### **Configuration unique :** ```bash # 1. Local (.env) ai-team setup-api # CrĂ©e le .env pour le CLI ai-team init # Installe les workflows # 2. GitHub (une seule fois) # Repository → Settings → Secrets → Actions # TOGETHER_AI_API_KEY = votre-cle ``` ### **Usage quotidien :** ```bash # CLI local (utilise .env) ai-team issue "API REST moderne" --type backend # ↓ Issue créée sur GitHub # ↓ Workflow GitHub Actions se dĂ©clenche (utilise secrets) # ↓ DeepSeek R1 gĂ©nĂšre le code # ↓ Pull Request créée automatiquement ``` --- ## đŸ§Ș **VĂ©rifier la configuration** ```bash ai-team check ``` Doit afficher : - ✅ Repository GitHub dĂ©tectĂ© - ✅ Workflows installĂ©s - ✅ ClĂ© API configurĂ©e (locale) - ✅ Token GitHub configurĂ© (local) **Note:** Les secrets GitHub ne sont pas vĂ©rifiables depuis le CLI (sĂ©curitĂ©). --- ## 🎯 **Exemples d'utilisation** ### **Frontend** ```bash ai-team issue "Landing page SaaS avec pricing" --type frontend ai-team issue "Dashboard analytics moderne" --type frontend ai-team issue "Portfolio avec animations" --type frontend ``` ### **Backend** ```bash ai-team issue "API REST avec authentification" --type backend ai-team issue "Microservice notifications" --type backend ai-team issue "Base de donnĂ©es optimisĂ©e" --type backend ``` ### **Autres** ```bash ai-team issue "Tests E2E complets" --type testing ai-team issue "Fix memory leak images" --type bug_fix ai-team issue "Refactor architecture" --type refactor ``` --- ## ❓ **RĂ©solution de problĂšmes** ### **❌ CLI : Token GitHub manquant** **Solution:** Ajoutez Ă  votre `.env` ```bash GITHUB_TOKEN=ghp_votre_token_github ``` ### **❌ GitHub Actions : Secret manquant** **Solution:** Configurez le secret ``` Repository → Settings → Secrets → Actions TOGETHER_AI_API_KEY = votre-cle ``` ### **❌ ClĂ© Together.ai manquante** ```bash ai-team setup-api # Configuration locale + GitHub ``` ### **❌ Workflows non installĂ©s** ```bash ai-team init ``` --- ## 🎉 **RĂ©sultat attendu** 1. **Issue créée** → CLI local (`.env`) 2. **Workflow dĂ©clenchĂ©** → GitHub Actions (secrets) 3. **Code gĂ©nĂ©rĂ©** → DeepSeek R1 4. **PR créée** → PrĂȘte Ă  review **⏱ Temps total: ~2 minutes** --- ## 🆘 **Support** - **Diagnostic:** `ai-team check` - **Aide:** `ai-team --help` - **Configuration:** Voir `CONFIGURATION.md` --- **🧠 AI Team Orchestrator v2.3.4 - Configuration .env locale + Secrets GitHub !** *Deux environnements, configuration claire ! 🚀*