Docs › Reference

Settings reference

Every AstraCode setting, what it defaults to, and what changing it does.

Every setting lives under astracode. and can be changed from AstraCode Settings, or from the ordinary settings editor by searching for astracode. Nothing here has to be set for AstraCode to work; the defaults are the configuration we run ourselves.

Agent

SettingDefaultWhat it does
agent.approvalModeautoApproveReadsWhen the agent asks before running a tool. Reads are approved for you; anything that writes or runs is not.
agent.verifytrueRun the project's own check before a run reports that it is finished.
agent.verifyCommand(detected)The exact command to run instead of the one detected from your project.
agent.maxSteps150How many model turns one run may take before it stops.
agent.terminalbackgroundWhere the agent's commands run. Background runs them as hidden processes with the output in the chat; your own terminals are never taken over.
agent.formatOnFinishfalseFormat every file the agent changed once the run ends.
agent.sendDuringRunqueueWhether a message you send mid-run is held until the run finishes or steers it now.
agent.webFetchtrueLet the agent read a URL as text, for documentation and changelogs.
transcripts.retentionDays30Keep each chat as a local file the agent can read back after a long run is summarised. 0 keeps nothing.
agent.showReasoningtrueShow a summary of the model's reasoning in a collapsed Thought block. Each step starts about a second later.
agent.webSearchtrueLet the agent search the web in Agent, Plan and Ask. Each search counts against your usage.
agent.engineclassicWhich agent engine runs. Switching starts a fresh conversation, because the two keep state differently.
agent.claudeCodePath(auto)Path to a Claude Code executable, for the SDK engine.
agent.contextEditingtrueClear finished tool results out of a long run once it passes the threshold below.
agent.contextEditingThreshold0.5How full the context must get before that clearing starts, as a fraction of the model's window.
agent.lessonstrueKeep what fixed a failed tool call, for the next run in this workspace. Stored outside the repository, capped at 15.
agent.evaluatortrueAn independent evaluator with no memory of the run reads the request and the diff before the run is called done; a failing verdict goes back to the agent once.
agent.subagentstrueLet the agent hand search, verify and build sub-tasks to subagents with their own context; only their summary returns.
agent.uiGatetrueWhen a run changes web UI, the evaluator opens the running app (localhost only) and exercises the change before the run is called done.
agent.sabotageChecktrueWhen a run changes code and tests and the tests pass, undo the code for a moment and run the tests again: if they still pass, they do not test the change, and the run is sent back once to write one that does.
agent.autoBackgroundtrueStart commands that never end on their own (dev servers, watchers) in the background, so the agent carries on with their first few seconds of output.
agent.wakeOnBackgroundEndtrueWhen a background command the agent started ends after the run has finished, start a turn so the agent can react. At most three in a row without a message from you.
index.reranktrueLet the cheapest chat tier reorder the top twenty code-search results once per search.
index.enabledtrueIndex the workspace for search by meaning. Chunks go through the gateway to an embedding model; vectors stay on your machine.
agent.reportOutcomestrueSend anonymous counts of how each agent run ended. No prompts, code, paths or error text; the record has no free-text field.

Models and routing

SettingDefaultWhat it does
model(auto)With your own provider key, pin one model instead of letting AstraOne choose.
auto.modebalanceHow AstraOne chooses when nothing is pinned.
auto.cheapModel(measured)The model AstraOne runs. Empty picks the best measured model your gateway allows.
auto.strongModel(measured)The model reserved for harder steps, and the fallback when a conversation outgrows the other one.
auto.escalatetrueWhether a run may hand itself to a stronger model after its checks fail. Which model, and whether your plan includes it, is the gateway's decision.
auto.escalateAfterFailures1How many failed check runs to absorb before escalating. 0 turns the trigger off.
auto.escalateAfterSteps0Escalate once a run passes this many steps. 0, the default, turns the trigger off.
models.effort{}Reasoning effort per model, for models whose provider offers that control.
models.hidden[]Models kept out of the picker. Stored as the hidden list, so a newly offered model appears without you editing this.
gatewayUrl(AstraCode)Which gateway to use. Point this at your own deployment to keep traffic inside your network.
siteUrl(AstraCode)Where your account lives. Problem reports are filed here; change it only if you run your own.

Tab completion

SettingDefaultWhat it does
completions.enabledtrueInline completions, the grey text ahead of the cursor.
completions.reportQualitytrueSend anonymous accept and reject counts so completion quality can be measured.
tab.autoImporttrueAfter you accept a suggestion, add any import it needs.
tab.autoImportPythonfalseThe same for Python. Still in beta.
tab.partialAcceptstrueAccept the next word of a suggestion instead of all of it.
tab.suggestionsWhileCommentingtrueLet Tab suggest inside comments.
tab.whitespaceSuggestionsfalseShow suggestions that only add newlines and indentation.
tab.ignoredFiles(none)Comma separated globs where Tab will not suggest, such as generated code or snapshots.

Context and memory

SettingDefaultWhat it does
compact.autotrueSummarise the conversation as it approaches the model's context limit.
cache.keepFresh2How many of the newest messages stay outside the cached prefix.
memories.enabledtrueLet the agent remember durable facts about this project between sessions.
instructions(none)Instructions the AI always follows, in chat, inline edit, and agent and plan mode.
principlestrueApply AstraCode's built in constraints on how code should come out.
projectRulestrueApply the rules file a repository ships, layered over those principles.
ask.projectRulestrueApply that same rules file to Ask mode, not only to the agent.

Plan mode

SettingDefaultWhat it does
plan.askQuestionstrueLet plan mode ask you clarifying questions before it writes the plan.
plan.locationworkspaceWhere plan mode writes its plan files.

Dictation

SettingDefaultWhat it does
dictation.languageautoThe language you speak when dictating. Auto detects it from the audio, which is weakest for short clips and for languages with little training data. Nepali is often heard as Hindi. Naming it removes the guess.

Connectors

SettingDefaultWhat it does
mcp.enabledtrueLoad tools from the connectors you have configured.
mcp.servers[]The connectors themselves. See the connectors page for what each one needs.

Browser

SettingDefaultWhat it does
browser.control.enabledfalseLet the agent drive a browser: navigate, read the page, click, and read the console.
browser.chromePath(auto)Path to the Chrome, Chromium or Edge executable to drive. Empty detects one.
browser.defaultUrllocalhostWhere the browser panel opens the first time it is used in a workspace.

Appearance and layout

SettingDefaultWhat it does
agent.textSizedefaultConversation text size in the panel.
agent.wrapCodefalseWrap long lines in conversation code blocks instead of scrolling sideways.
agent.conversationDensitydetailedHow much detail tool calls show in the conversation.
agent.usageSummaryautoWhen to show the token and usage summary at the foot of the panel.
layout.chatSiderightWhich side the chat pane sits on.
layout.autoHideEditorWhenEmptyfalseWhen the last editor tab closes, hide the editor area so chat fills the window.
chatAsEditorTabstrueOpen chat as an editor tab rather than revealing the sidebar view.
windowLayouteditorWhich arrangement the Open Chat command produces.
homealwaysWhat an empty editor area shows.
panelreactWhich chat panel implementation loads. Reload the window after changing it.
activityBar.maxVisible4How many activity icons sit on the bar before the rest move under the chevron.
showManageGearfalseShow the editor's own Accounts and Manage controls in the title bar.
review.controlLocationbreadcrumbWhere the accept and reject controls for an agent's changes appear.

Notifications

SettingDefaultWhat it does
notifications.systemtrueShow a system notification when an agent run finishes.
notifications.completionSoundfalsePlay a short chime in the panel when a run finishes.

Git

SettingDefaultWhat it does
git.attributeCommitsfalseAdd a Co-Authored-By trailer when the agent commits. Off by default, because it writes into a permanent record.

Updates and first launch

SettingDefaultWhat it does
updates.checktrueCheck once a day whether a newer AstraCode has been published. Nothing is downloaded or installed by this alone.
updates.modeautomaticAutomatic downloads, never automatic restarts.
importOnFirstLaunchtrueBring the settings, keybindings and extensions of the editor you use today across the first time AstraCode runs.

Bring your own key

If you would rather bill a provider directly, add your own key in settings. Requests then go to that provider on your account instead of being counted against your AstraCode plan.

All documentation

Get started

Agent

Context

Workspaces

Connectors

Extending AstraCode

CLI

Reference