File size: 2,425 Bytes
8ad9950
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# 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