-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththreadmill.env.example
More file actions
61 lines (52 loc) · 2.25 KB
/
Copy paththreadmill.env.example
File metadata and controls
61 lines (52 loc) · 2.25 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
61
# Copy this file to threadmill.env and edit it, or set the same variables
# directly in the shell before running run.sh, loop.sh, or meta_loop.sh.
# Built-in harnesses: free_code, claude, codex, deepagents, agy, custom.
THREADMILL_HARNESS=free_code
# Optional. If empty, the selected CLI uses its own default model.
# Codex example:
# THREADMILL_MODEL=gpt-5.5
# Claude example:
# THREADMILL_MODEL=claude-opus-4-7
# Deepagents: use the provider:model format. In non-interactive mode the CLI
# does not pick up a global default model and fails with "Unable to infer a
# model provider" without the prefix.
# THREADMILL_MODEL=anthropic:claude-opus-4-7
# THREADMILL_MODEL=openai:gpt-4o
# THREADMILL_MODEL=gigachat:GigaChat-3-Ultra
# Agy (Google Antigravity CLI) example -- run `agy models` for the full list.
# Names contain spaces, so quote the value:
# THREADMILL_MODEL=gemini-3.5-flash
# Prompt file passed to the harness. Relative paths are resolved from the task
# directory or generation directory.
THREADMILL_PROMPT_FILE=MAIN_GOAL.md
# Binary overrides.
# THREADMILL_FREE_CODE_BIN=free-code
# THREADMILL_CLAUDE_BIN=claude
# THREADMILL_CODEX_BIN=codex
# THREADMILL_DEEPAGENTS_BIN=deepagents
# THREADMILL_AGY_BIN=agy
# Autonomous run defaults. Set to 0 to disable.
THREADMILL_SKIP_PERMISSIONS=1
THREADMILL_CODEX_FULL_AUTO=1
THREADMILL_CODEX_SKIP_GIT_REPO_CHECK=1
# Deepagents-specific knobs (optional).
# THREADMILL_DEEPAGENTS_AGENT=coder
# THREADMILL_DEEPAGENTS_AUTO_APPROVE=1
# THREADMILL_DEEPAGENTS_SHELL_ALLOW=all
# THREADMILL_DEEPAGENTS_MAX_TURNS=20
# THREADMILL_DEEPAGENTS_QUIET=0
# Agy-specific knobs (optional). THREADMILL_SKIP_PERMISSIONS also applies to
# agy (maps to --dangerously-skip-permissions).
# THREADMILL_AGY_SANDBOX=0
# THREADMILL_AGY_PRINT_TIMEOUT=30m
# THREADMILL_AGY_PROJECT=
# Extra args are split by the shell. For complex quoting, prefer custom.
# THREADMILL_FREE_CODE_ARGS=
# THREADMILL_CLAUDE_ARGS=
# THREADMILL_CODEX_ARGS=
# THREADMILL_DEEPAGENTS_ARGS=
# THREADMILL_AGY_ARGS=
# For any other harness. When this is set, THREADMILL_HARNESS is treated as
# custom. The command runs through bash -lc from the task directory with the
# prompt also available as stdin and at $THREADMILL_PROMPT_FILE.
# THREADMILL_HARNESS_CMD='my-agent --task-file "$THREADMILL_PROMPT_FILE"'