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
Markdown
# đ 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 ! đ*