# AgentGraph Environment Configuration Template # Copy this file to .env and fill in your actual values # ============================================================================= # ๐Ÿ”‘ REQUIRED CONFIGURATION # ============================================================================= # OpenAI API Configuration (REQUIRED for knowledge extraction) OPENAI_API_KEY=sk-your-openai-api-key-here OPENAI_MODEL_NAME=gpt-5-mini # ============================================================================= # ๐Ÿ”ง OPTIONAL CONFIGURATION # ============================================================================= # Azure OpenAI Configuration (Alternative to OpenAI) # Uncomment and configure if using Azure OpenAI instead # AZURE_API_KEY=your-azure-api-key # AZURE_API_BASE=https://your-resource.openai.azure.com/ # AZURE_API_VERSION=2023-12-01-preview # Anthropic Configuration (Optional) # ANTHROPIC_API_KEY=your-anthropic-api-key # ============================================================================= # ๐Ÿ“Š AI OBSERVABILITY PLATFORMS # ============================================================================= # Langfuse Configuration (Optional - for AI monitoring) # LANGFUSE_PUBLIC_KEY=pk_lf_your-public-key # LANGFUSE_SECRET_KEY=sk_lf_your-secret-key # LANGFUSE_HOST=https://cloud.langfuse.com # LangSmith Configuration (Optional - for trace monitoring) # LANGSMITH_API_KEY=your-langsmith-api-key # LANGSMITH_PROJECT=your-project-name # ============================================================================= # ๐Ÿ—„๏ธ DATABASE CONFIGURATION # ============================================================================= # Database URI (SQLite by default, can use PostgreSQL/MySQL) DB_URI=sqlite:///agent_monitoring.db # PostgreSQL Example: # DB_URI=postgresql://username:password@localhost:5432/agentgraph # MySQL Example: # DB_URI=mysql://username:password@localhost:3306/agentgraph # ============================================================================= # ๐Ÿš€ SERVER CONFIGURATION # ============================================================================= # Server Settings HOST=0.0.0.0 PORT=7860 LOG_LEVEL=INFO # Python Path (usually set automatically) PYTHONPATH=/app # ============================================================================= # ๐Ÿ”’ SECURITY CONFIGURATION # ============================================================================= # Encryption key for storing sensitive data (auto-generated if not set) # ENCRYPTION_KEY=your-32-character-encryption-key # ============================================================================= # ๐Ÿงช DEVELOPMENT CONFIGURATION # ============================================================================= # Development mode settings # DEBUG=false # RELOAD=false # ============================================================================= # ๐Ÿ“ˆ PERFORMANCE CONFIGURATION # ============================================================================= # Processing settings # MAX_WORKERS=4 # BATCH_SIZE=10 # TIMEOUT_SECONDS=300 # ============================================================================= # ๐ŸŒ HUGGING FACE SPACES CONFIGURATION # ============================================================================= # If deploying to Hugging Face Spaces, these are automatically set: # SPACE_ID=your-username/space-name # SPACE_HOST=https://your-username-space-name.hf.space # Session Security (Optional - auto-generated if not set) # SESSION_SECRET_KEY=your-secure-random-string-here