CUGA LogoCUGA AGENT
Customization

Environment Configuration

Configure environment variables and system settings

Configure your system environment to work optimally with CUGA, including system paths and container management.

🐍 Python Environment

Virtual Environment Setup

CUGA requires Python 3.12+ in a virtual environment:

# Create virtual environment
uv venv --python=3.12

# Activate environment
source .venv/bin/activate  # macOS/Linux
# OR
.venv\Scripts\activate     # Windows

# Verify Python version
python --version  # Should show Python 3.12.x

🔑 API Key Management

Secure Storage

Never commit API keys to version control:

# Add to .gitignore
echo ".env" >> .gitignore
echo "*.key" >> .gitignore
echo "credentials/" >> .gitignore

Environment File Template

# Copy template
cp .env.example .env

# Edit with your keys
nano .env

Firewall Configuration

Ensure these ports are accessible:

PortServicePurpose
8001API RegistryTool registration
8005CUGA DemoMain application

🐛 Troubleshooting

Common Environment Issues

IssueSolution
🔴 Environment not activeRun source .venv/bin/activate
🔴 API key not foundCheck .env file and environment variables
🔴 Port already in useStop conflicting services or change ports
🔴 Permission deniedCheck file permissions and ownership

📚 Next Steps

After configuring your environment:

  1. Customization Overview: Fine-tune CUGA behavior
  2. API Integration: Add your own APIs
  3. Evaluation: Run benchmarks

Environment configured? Move to Customization Overview!