All configuration is via environment variables or a .env file in the project root.
| Variable | Required | Default | Description |
|---|---|---|---|
OPENAI_API_KEY |
Yes | — | LLM API key |
OPENAI_BASE_URL |
No | https://api.deepseek.com/v1 |
LLM endpoint base URL |
MODEL |
No | deepseek-v4-pro |
Model name |
CONCURRENCY |
No | 30 |
Max concurrent LLM calls |
TEMP_DIR |
No | /tmp/standalone-trace-analyzer |
Temp storage for run outputs |
OPENAI_API_KEY=sk-...
OPENAI_BASE_URL=https://api.deepseek.com/v1
MODEL=deepseek-v4-pro
CONCURRENCY=30
TEMP_DIR=/tmp/standalone-trace-analyzerOPENAI_BASE_URLandOPENAI_API_KEYuse OpenAI-compatible naming for compatibility with the client library, but any OpenAI-compatible provider works.TEMP_DIRmust be writable. Stage outputs are saved as JSON files under{TEMP_DIR}/runs/{run_id}/.CONCURRENCYcontrols theasyncio.Semaphorelimit on concurrent LLM requests. Lower this if you hit rate limits.