# SIM Activation Agent - Environment Variables # Copy to .env and fill in real values for local/dev/staging/prod # ============================================================ # ENVIRONMENT # ============================================================ ENVIRONMENT=local # local | dev | staging | prod LOG_LEVEL=DEBUG # DEBUG | INFO | WARNING | ERROR # ============================================================ # LOCAL LLM (PVR mandate: NO Bedrock/Claude/Anthropic calls) # ============================================================ # Set ONE of these: # LOCAL_LLM_BASE_URL=http://localhost:8000/v1 # LOCAL_LLM_BASE_URL=http://localhost:11434/v1 # Ollama # LOCAL_LLM_MODEL=llama-3.1-70b-instruct # LOCAL_LLM_API_KEY=local-key-ignored # ============================================================ # VEHICLE DATABASE (internal smart Europe vehicle/fleet DB) # ============================================================ VEHICLE_DB_API_URL=https://api.smarteurope.internal/vehicle-db VEHICLE_DB_API_KEY=your-vehicle-db-api-key VEHICLE_DB_TIMEOUT_SECONDS=10 # ============================================================ # CARRIER / eSIM PLATFORM (IDEMIA / MNO / aggregator) # ============================================================ CARRIER_API_URL=https://connectivity-manager.smarteurope.internal/api CARRIER_API_KEY=your-carrier-api-key CARRIER_API_TIMEOUT_SECONDS=30 CARRIER_IDEMPOTENCY_KEY_PREFIX=sim-activation # ============================================================ # RETOOL (for HITL review tasks) # ============================================================ RETOOL_API_URL=https://retool.smarteurope.internal RETOOL_API_KEY=your-retool-api-key RETOOL_WORKFLOW_WEBHOOK_URL=https://retool.smarteurope.internal/webhook/sim-activation-review # ============================================================ # NOTIFICATIONS # ============================================================ NOTIFY_WEBHOOK_URL=https://hooks.smarteurope.internal/notify NOTIFY_API_KEY=your-notify-api-key # ============================================================ # LANGGRAPH CHECKPOINTER (SQLite for local, PostgreSQL for prod) # ============================================================ CHECKPOINTER_DB_PATH=./checkpoints/sim_activation.db # CHECKPOINTER_POSTGRES_DSN=postgresql://user:pass@host:5432/db # for prod # ============================================================ # RISK SCORING THRESHOLDS (deterministic, tunable via env) # ============================================================ RISK_AUTO_ACTIVATE_THRESHOLD=0.85 # >= this AND no hard flags = auto-activate RISK_HUMAN_REVIEW_THRESHOLD=0.50 # < this = human review # Between 0.50-0.85 with flags = human review; clean = auto-activate RISK_DUPLICATE_WINDOW_MINUTES=30 # dedupe window for same VIN