-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv-template
More file actions
60 lines (43 loc) · 1.87 KB
/
env-template
File metadata and controls
60 lines (43 loc) · 1.87 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Loom environment configuration
# Copy to .env and fill in your values: cp env-template .env
# Source before starting the supervisor: set -a && source .env && set +a
# --- LLM Provider (required) ---
# These three vars configure Prime (reflect, LLM review, chat).
# Lab inherits from these unless overridden below.
# Works with any Anthropic-compatible API (Anthropic, Minimax, etc.)
ANTHROPIC_API_KEY=sk-ant-...
# ANTHROPIC_API_BASE=https://api.anthropic.com
# LOOM_MODEL=claude-sonnet-4-20250514
# Example: Use Minimax for everything
# ANTHROPIC_API_KEY=sk-cp-...
# ANTHROPIC_API_BASE=https://api.minimax.io/anthropic
# LOOM_MODEL=MiniMax-M2.5
# --- Lab LLM provider (optional, overrides Prime config for Labs) ---
# Use when Labs should run a different model/provider than Prime.
# If unset, Labs inherit ANTHROPIC_API_KEY, ANTHROPIC_API_BASE, LOOM_MODEL.
# LOOM_LAB_API_KEY=
# LOOM_LAB_API_BASE=
# LOOM_LAB_MODEL=
# Example: Prime on Sonnet, Labs on Haiku
# LOOM_LAB_MODEL=claude-haiku-4-5-20251001
# Example: Prime on Anthropic, Labs on Minimax
# LOOM_LAB_API_KEY=sk-cp-...
# LOOM_LAB_API_BASE=https://api.minimax.io/anthropic
# LOOM_LAB_MODEL=MiniMax-M2.5
# --- Timeouts and limits ---
# Max time a Lab generation can run, in ms (default: 300000 = 5 min)
LOOM_LAB_TIMEOUT_MS=300000
# Max tool-use loop iterations per turn (default: 40)
LOOM_MAX_ITERATIONS=40
# --- Autonomous loop ---
# Max generations for the autonomous loop (default: 5, 0=unlimited)
LOOM_MAX_GENERATIONS=5
# Max cumulative tokens across all generations, 0=unlimited (default: 0)
# LOOM_TOKEN_BUDGET=0
# Stop after N promoted generations without fitness improvement (default: 3)
# LOOM_PLATEAU_WINDOW=3
# --- Supervisor options (rarely changed) ---
# Path to the repo the Supervisor manages (default: current directory)
# LOOM_REPO_PATH=.
# Docker/container network name (default: loom-net)
# LOOM_NETWORK=loom-net