← Docs

Configuration

clawREFORM uses a single TOML config file at ~/.clawreform/config.toml. Every field has a serde default — the binary runs with zero config on first launch.

Example config.toml

[api]
port = 4332
host = "127.0.0.1"

[budget]
global_limit_usd = 10.0
per_agent_limit_usd = 2.0
alert_threshold = 0.8

[llm.default]
provider = "groq"
model = "llama-3.3-70b-versatile"
temperature = 0.7
max_tokens = 4096

[llm.quality]
provider = "openai"
model = "gpt-4o"
temperature = 0.3

[network]
enable_ofp = true
listen_port = 4333
seed_peers = []

Environment Variables

GROQ_API_KEYAPI key for Groq (fast inference). Used as default LLM provider.
OPENAI_API_KEYAPI key for OpenAI. Enables GPT models.
ANTHROPIC_API_KEYAPI key for Anthropic. Enables Claude models.
CLAWREFORM_PORTOverride the default API port (4332).
CLAWREFORM_LOGLog level: error, warn, info, debug, trace.