.env.production.template•5.56 kB
# Production Environment Configuration for Multi-Agent Orchestrator MCP - Enhanced Revolutionary Deployment
# Server Configuration
SERVER_HOST=0.0.0.0
SERVER_PORT=8000
DEBUG=false
# Enhanced Descope Authentication (Production Values)
DESCOPE_PROJECT_ID=P31WC6A6Vybbt7N5NhnH4dZLQgXY
DESCOPE_MANAGEMENT_KEY=your_production_management_key_here
DESCOPE_CLIENT_ID=your_production_client_id_here
DESCOPE_CLIENT_SECRET=your_production_client_secret_here
DESCOPE_DEMO_MODE=false
# JWT Configuration (Production)
JWT_ALGORITHM=RS256
JWT_VERIFY_EXPIRATION=true
TOKEN_CACHE_TTL=3600
MAX_TOKEN_AGE_HOURS=24
ENABLE_TOKEN_REFRESH=true
# Enhanced Cequence AI Gateway Integration (Production)
CEQUENCE_GATEWAY_ID=your_production_gateway_id
CEQUENCE_API_KEY=your_production_api_key
CEQUENCE_SECRET=your_production_cequence_secret
CEQUENCE_GATEWAY_URL=https://api.cequence.ai/v1
ENABLE_ANALYTICS=true
ANALYTICS_BUFFER_SIZE=100
ANALYTICS_FLUSH_INTERVAL=60
# Security Monitoring (Production)
ENABLE_SECURITY_MONITORING=true
MAX_REQUEST_SIZE_MB=10
RATE_LIMIT_PER_MINUTE=100
# OpenAI API Configuration
OPENAI_API_KEY=your_production_openai_api_key
OPENAI_MODEL=gpt-4-turbo-preview
DEFAULT_LLM_PROVIDER=openai
# Anthropic API Configuration (Optional)
ANTHROPIC_API_KEY=your_anthropic_api_key
# File Management (Enhanced for Legendary Features)
OUTPUT_BASE_PATH=./outputs
MAX_PROJECT_SIZE_MB=500
MAX_GENERATION_TIME_SECONDS=600
ALLOWED_FILE_EXTENSIONS=.py,.js,.ts,.json,.yaml,.yml,.md,.txt,.html,.css,.dockerfile
# =============== LEGENDARY FEATURES CONFIGURATION (PRODUCTION) ===============
# Legendary Features Master Control
LEGENDARY_FEATURE_FLAG=true
LEGENDARY_MODE=autonomous
LEGENDARY_DEV_MODE=false
LEGENDARY_TESTING_ENABLED=true
LEGENDARY_MOCK_MODE=false
# Autonomous Architect Agent (Production)
AUTONOMOUS_ARCHITECT_ENABLED=true
AUTONOMOUS_LEARNING_ENABLED=true
AUTONOMOUS_DAG_MAX_DEPTH=15
AUTONOMOUS_ADAPTATION_THRESHOLD=0.8
AUTONOMOUS_STRATEGY_CACHE_TTL=7200
# Proactive Quality Agent (Production)
PROACTIVE_QUALITY_ENABLED=true
QUALITY_AUTO_REMEDIATION=true
QUALITY_POLICY_ENFORCEMENT=true
QUALITY_THRESHOLD_SCORE=0.85
QUALITY_VIOLATION_AUTO_FIX=true
QUALITY_LEARNING_ENABLED=true
# Evolutionary Prompt Engine (Production)
EVOLUTIONARY_PROMPT_ENABLED=true
PROMPT_EVOLUTION_ENABLED=true
PROMPT_PERFORMANCE_TRACKING=true
PROMPT_OPTIMIZATION_ITERATIONS=10
PROMPT_SUCCESS_THRESHOLD=0.9
PROMPT_LEARNING_RATE=0.05
# Last Mile Cloud Agent (Production)
LAST_MILE_CLOUD_ENABLED=true
CLOUD_AUTO_DEPLOYMENT=false
CLOUD_VERIFICATION_ENABLED=true
CLOUD_ROLLBACK_ENABLED=true
CLOUD_MONITORING_SETUP=true
CLOUD_OPTIMIZATION_ENABLED=true
# Revolutionary AI Capabilities (Production)
SELF_IMPROVING_AI=true
PREDICTIVE_AUTOMATION=true
AUTONOMOUS_DECISION_MAKING=false
CONTINUOUS_LEARNING=true
# Enhanced Analytics for Legendary Features
LEGENDARY_ANALYTICS_ENABLED=true
INNOVATION_SCORING_ENABLED=true
PERFORMANCE_BENCHMARKING=true
LEARNING_METRICS_TRACKING=true
# Security Settings for Legendary Features (Production)
LEGENDARY_SECURITY_MODE=enhanced
REQUIRE_LEGENDARY_SCOPES=true
LEGENDARY_AUDIT_LOGGING=true
# Performance Tuning (Production)
LEGENDARY_MAX_CONCURRENT_OPERATIONS=5
LEGENDARY_TIMEOUT_SECONDS=900
LEGENDARY_MEMORY_LIMIT_MB=4096
# Required Descope Scopes for Legendary Features
DESCOPE_LEGENDARY_SCOPES=tools:legendary,tools:autonomous,tools:evolutionary,tools:proactive,tools:cloud,admin:legendary,tools:ping,tools:generate,tools:healing,admin:metrics
# Future Features (Experimental - Set to false in production)
QUANTUM_AI_ENABLED=false
NEURAL_EVOLUTION_ENABLED=false
SWARM_INTELLIGENCE_ENABLED=false
# =============== EXTERNAL SERVICES (PRODUCTION) ===============
# External Database (Production recommendations)
DATABASE_URL=postgresql://user:password@your-db-host:5432/mcp_production
# Alternative: MongoDB for document storage
# MONGODB_URI=mongodb+srv://user:password@cluster.mongodb.net/mcp_production
# External Redis Cache (Production recommendations)
REDIS_URL=redis://your-redis-host:6379
# Alternative: Redis Cloud or AWS ElastiCache
# REDIS_URL=rediss://user:password@your-redis-cloud:6380
# Security Configuration (Production)
JWT_SECRET_KEY=your_super_secure_jwt_secret_key_here
ENCRYPTION_KEY=your_32_byte_encryption_key_here
CORS_ORIGINS=https://server.smithery.ai,https://your-custom-domain.com
# Monitoring and Logging (Enhanced)
LOG_LEVEL=INFO
ENABLE_METRICS=true
SENTRY_DSN=your_sentry_dsn_here
# Smithery-Specific Configuration
SMITHERY_PROJECT_ID=@yoriichi-07/multi_orchestrator_mcp
DEPLOYMENT_PLATFORM=smithery
# Cloud Provider Configuration (for Last Mile Cloud Agent)
# AWS Configuration
AWS_ACCESS_KEY_ID=your_aws_access_key
AWS_SECRET_ACCESS_KEY=your_aws_secret_key
AWS_DEFAULT_REGION=us-east-1
# Azure Configuration (Optional)
# AZURE_CLIENT_ID=your_azure_client_id
# AZURE_CLIENT_SECRET=your_azure_client_secret
# AZURE_TENANT_ID=your_azure_tenant_id
# GCP Configuration (Optional)
# GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json
# GCP_PROJECT_ID=your_gcp_project_id
# Kubernetes Configuration (for Cloud Agent)
# KUBECONFIG=/path/to/kubeconfig
# KUBERNETES_NAMESPACE=default
# =============== ADVANCED CONFIGURATION ===============
# High Availability Settings
ENABLE_LOAD_BALANCING=true
HEALTH_CHECK_INTERVAL=30
GRACEFUL_SHUTDOWN_TIMEOUT=30
# Scaling Configuration
AUTO_SCALING_ENABLED=true
MIN_INSTANCES=2
MAX_INSTANCES=10
SCALE_UP_THRESHOLD=80
SCALE_DOWN_THRESHOLD=20
# Backup and Recovery
BACKUP_ENABLED=true
BACKUP_INTERVAL_HOURS=24
BACKUP_RETENTION_DAYS=30
DISASTER_RECOVERY_ENABLED=true