-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path.env.example
More file actions
58 lines (43 loc) · 1.65 KB
/
.env.example
File metadata and controls
58 lines (43 loc) · 1.65 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
# ── Agent Engine ──
# Choose which AI engine powers the agent: 'claude' (default) or 'codex'
# AGENT_ENGINE=claude
# ── Agent Model ──
# Override the default model for either engine.
# Claude: claude-sonnet-4-5-20250514 (default), claude-opus-4-5-20250414, etc.
# Codex: o4-mini (default), gpt-4.1, etc.
# AGENT_MODEL=claude-sonnet-4-5-20250514
# ── Authentication: Claude Engine (default) ──
# Option 1: Anthropic API key
# ANTHROPIC_API_KEY=sk-ant-...
# Option 2: Claude Code OAuth (auto-detected from ~/.claude/.credentials.json)
# No configuration needed — works automatically with Claude Max/Pro subscriptions
# Option 3: Custom API endpoint
# ANTHROPIC_API_KEY=your-key
# ANTHROPIC_BASE_URL=https://your-proxy.example.com
# ── Authentication: Codex Engine ──
# Option 1: OpenAI OAuth (run `codex login` first, no key needed)
# AGENT_ENGINE=codex
# CODEX_MODEL=o4-mini
# Option 2: OpenAI API key
# AGENT_ENGINE=codex
# OPENAI_API_KEY=sk-...
# CODEX_MODEL=o4-mini
# Option 3: Any OpenAI-compatible API (DeepSeek, vLLM, Ollama, etc.)
# AGENT_ENGINE=codex
# OPENAI_API_KEY=sk-...
# OPENAI_BASE_URL=https://api.deepseek.com/v1
# CODEX_MODEL=deepseek-chat
# ── Authentication: Gemini Engine ──
# Google Gemini API
# AGENT_ENGINE=gemini
# GOOGLE_API_KEY=AIza...
# AGENT_MODEL=gemini-2.5-flash
# ── GPU Support ──
# Enable GPU passthrough to containers (requires nvidia-container-toolkit)
# Build the CUDA image first: ./container/build.sh --cuda
# CONTAINER_GPU=true
# CONTAINER_IMAGE=matclaw-agent:cuda
# ── Optional ──
# ASSISTANT_NAME=MatClaw
# MAX_CONCURRENT_CONTAINERS=5
# MP_API_KEY=your-materials-project-api-key