Skip to content

Configuration Reference

SPEED is configured via a project-level speed.toml file. All configuration values can also be overridden by environment variables.

Configuration is resolved in the following order (highest to lowest):

  1. Command-line flags (e.g., --verbose, --max-parallel)
  2. Environment variables (e.g., SPEED_VERBOSITY)
  3. speed.toml settings
  4. Built-in defaults

Configure the AI providers and model tiers used by the orchestrator.

TOML KeyEnvironment VarDefaultDescription
agent.providerSPEED_PROVIDERclaude-codeThe agent CLI provider to use.
agent.planning_modelSPEED_PLANNING_MODELopusModel used for high-stakes reasoning (Architect, Verifier).
agent.support_modelSPEED_SUPPORT_MODELsonnetModel used for structured support tasks (Guardian, Reviewer).
agent.timeoutSPEED_TIMEOUT600Max seconds allowed for a single agent run.
agent.max_turnsSPEED_MAX_TURNS50Max conversation turns allowed for developer agents.

Budget tracking for API usage to prevent account throttling.

TOML KeyEnvironment VarDefaultDescription
rate.tpm_budgetSPEED_TPM_BUDGET200000Tokens Per Minute budget. SPEED will pace calls at 80% of this.
rate.rpm_budgetSPEED_RPM_BUDGET5Requests Per Minute budget.
TOML KeyEnvironment VarDefaultDescription
specs.vision_fileSPEED_VISION_FILEspecs/product/overview.mdPath to the project’s product vision document.
TOML KeyEnvironment VarDefaultDescription
ui.themeSPEED_THEMEdefaultdefault or colorblind.
ui.asciiSPEED_ASCIIfalseUse ASCII-only symbols (e.g., [ok] vs ).
ui.verbositySPEED_VERBOSITY10 (quiet), 1 (normal), 2 (verbose), 3 (debug).

Maps subsystem names to glob patterns. This enables targeted quality gates (e.g., running different tests for “frontend” vs “backend”).

[subsystems]
"frontend" = ["src/frontend/**"]
"backend" = ["src/backend/**"]

Declares directories that should be symlinked from the main repository into every git worktree. Essential for sharing node_modules or virtual environments to avoid re-installing dependencies for every task.

[worktree.symlinks]
"src/frontend/node_modules" = "src/frontend/node_modules"
"src/backend/.venv" = "src/backend/.venv"