# FactoryFlow — Environment Variables # Copy to .env and fill in all values before running # Never commit .env to git # ── AMD / Hugging Face ────────────────────────────────────── HF_TOKEN= # HF token for gated model access AMD_DEVICE=cuda # 'cuda' for AMD GPU, 'cpu' for local dev # ── Qwen3-8B via vLLM ────────────────────────────────────── # Start vLLM: python -m vllm.entrypoints.openai.api_server \ # --model Qwen/Qwen3-8B --dtype float16 --port 8000 --device cuda OPENAI_API_BASE=http://localhost:8000/v1 OPENAI_API_KEY=not-needed # vLLM doesn't validate this but CrewAI requires it # ── Apify ─────────────────────────────────────────────────── APIFY_API_TOKEN= # ── Proxlock ──────────────────────────────────────────────── PROXLOCK_API_KEY= PROXLOCK_DEVICE_ID= # ── X402 Payments ─────────────────────────────────────────── X402_API_KEY= X402_MERCHANT_ID= # ── MindsDB ───────────────────────────────────────────────── MINDSDB_HOST=cloud.mindsdb.com MINDSDB_USER= MINDSDB_PASSWORD= # ── Demo configuration ────────────────────────────────────── # true = mock Proxlock + X402, use Apify fixture DEMO_MODE=true # score above which Engineer Agent fires ANOMALY_THRESHOLD=0.75 # hours below which procurement is triggered RUL_ALERT_HOURS=48 # ── MCP server ────────────────────────────────────────────── MCP_PORT=8765 # ── Gradio ────────────────────────────────────────────────── GRADIO_PORT=7860 GRADIO_SHARE=false # set true to get a public tunnel link during demo