docs/advanced/configuration.mdx
Configure Strix using environment variables or a config file.
When remote OTEL vars are not set, Strix still writes complete run telemetry locally to:
strix_runs/<run_name>/events.jsonl
When remote vars are set, Strix dual-writes telemetry to both local JSONL and the remote OTEL endpoint.
Strix stores configuration in ~/.strix/cli-config.json. You can also specify a custom config file:
strix --target ./app --config /path/to/config.json
Config file format:
{
"env": {
"STRIX_LLM": "openai/gpt-5.4",
"LLM_API_KEY": "sk-...",
"STRIX_REASONING_EFFORT": "high"
}
}
# Required
export STRIX_LLM="openai/gpt-5.4"
export LLM_API_KEY="sk-..."
# Optional: Enable web search
export PERPLEXITY_API_KEY="pplx-..."
# Optional: Custom timeouts
export LLM_TIMEOUT="600"
export STRIX_SANDBOX_EXECUTION_TIMEOUT="300"