Skip to content

Configuration

All configuration lives in ~/.delta/config.json (created on first run). The setup screen edits it for you; editing the file directly is for fine-tuning.

The file

{
"version": 1,
"provider": "delta-free",
"model": "glm-4.7-flash",
"apiKey": "delta-free",
"models": {
"delta-free": "glm-4.7-flash"
},
"mcpServers": {
"exa": {
"url": "https://mcp.exa.ai/mcp"
}
},
"permissions": {
"bash": "ask"
},
"timeouts": {
"requestMs": 600000,
"idleMs": 180000,
"bashMs": 120000
},
"maxTokens": 8192,
"retries": 100,
"acceptedFreeModels": true
}

Settings

KeyDefaultMeaning
providerProvider id (delta-free, anthropic, openai, …)
modelActive model id
apiKeydelta-free for the free tier, or your key
mcpServers{ exa }Remote MCP servers (url per server)
permissions.bashaskask or allow
timeouts.requestMs600000Max time for one model call
timeouts.idleMs180000Kill the call if the model stalls this long
timeouts.bashMs120000Max time for a single bash tool call
maxTokens8192Output token cap per model call
retries100Auto-retry cap for transient failures (429/5xx)

Environment variables

VariableEffect
DELTA_FREE_BASE_URLPoint the free tier at a different proxy
DELTA_BASE_URLFallback base URL for the free tier
Any provider key varUsed instead of the config value when set

Scope

Run deltacode inside a project and it edits only that project. Run it from your home directory and it can work across the whole computer — writes outside the current folder always ask permission first.