Settings
Configure how droid behaves and integrates with your workflow.
This is the reference for settings.json, the personal CLI configuration file. It covers the settings you control as an individual developer. Settings that are typically managed by an organization (model policy, network restrictions, autonomy ceilings, and similar hard controls) are listed in a clearly labeled section below and documented in full in Enterprise Controls & Managed Settings. For personal session defaults managed in the Factory App, see App settings.
Accessing settings
To configure droid settings:
- 1Run
droid - 2Enter
/settings - 3Adjust your preferences interactively
Changes take effect immediately and are saved to your settings file.
Where settings live
| OS | Location |
|---|---|
| macOS / Linux | ~/.factory/settings.json |
| Windows | %USERPROFILE%\.factory\settings.json |
If the file doesn't exist, it's created with defaults the first time you run droid.
Local overrides
You can create a settings.local.json alongside settings.json in any .factory/ folder:
~/.factory/settings.local.json(user-level)<project>/.factory/settings.local.json(project-level)
Local overrides merge on top of the corresponding settings.json at the same level and follow the same hierarchy precedence. Add settings.local.json to .gitignore if you want to keep machine-specific preferences out of version control.
Legacy Droid YAML configuration
.droid.yaml was an older project configuration surface. Use the current .factory/ files instead:
- Use
settings.jsonandsettings.local.jsonfor Droid preferences and local overrides. - Use AGENTS.md for repository instructions, conventions, and validation commands.
- Use MCP servers, hooks, and skills for integrations, automation, and reusable workflows.
Available settings
| Setting | Options | Default | Description |
|---|---|---|---|
model | Any available model ID | Product default | The default AI model used by droid |
reasoningEffort | Model-dependent: none, dynamic, off, minimal, low, medium, high, xhigh, max (see per-model options) | Model-dependent default | Controls how much structured thinking the model performs. |
sessionDefaultSettings.interactionMode | auto, spec | auto | Sets whether new sessions start in Auto or Spec Mode. |
sessionDefaultSettings.autonomyLevel | off, low, medium, high | off | Sets the default Autonomy Level for new sessions. |
cloudSessionSync | true, false | true | Mirror CLI sessions to Factory web. |
diffMode | github, unified | github | Choose between split GitHub-style diffs and a single-column view. |
completionSound | off, bell, fx-ok01, fx-ack01, or custom file path | fx-ok01 | Audio cue when a response finishes. |
awaitingInputSound | off, bell, fx-ok01, fx-ack01, or custom file path | fx-ack01 | Audio cue when droid is waiting for user input. |
soundFocusMode | always, focused, unfocused | always | When to play sound notifications. |
commandAllowlist | Array of commands | Safe defaults provided | Commands that run without extra confirmation. |
commandDenylist | Array of commands | Restrictive defaults provided | Commands that always require confirmation. |
commandBlocklist | Array of commands | [] (none) | Commands that can never run, even when approvals are skipped. |
includeCoAuthoredByDroid | true, false | true | Automatically append the Droid co-author trailer to commits. |
enableDroidShield | true, false | true | Enable secret scanning and git guardrails. |
hooksDisabled | true, false | false | Globally disable all hooks execution. |
ideAutoConnect | true, false | false | Auto-connect to IDE from external terminals. |
showThinkingInMainView | true, false | false | Display AI thinking/reasoning blocks in the main chat view. |
customModels | Array of model configs | [] | Custom model configurations for BYOK. See BYOK docs. |
blockOnMcpLoad | true, false | false | Wait for MCP servers to finish loading before starting an agent turn. |
Model
Set model to a model ID from Factory-Managed Inference. For custom models, see Custom Models (BYOK).
Reasoning effort
reasoningEffort adjusts how much structured thinking the model performs before replying. The available levels and the default are set by each model, so the Available Models table is the source of truth for what a given model accepts. Across the catalog they range from least to most deliberation:
off/none: no structured reasoning (fastest).dynamic: use the model's dynamic reasoning behavior.minimal,low,medium,high: progressively more deliberation.xhigh,max: the deepest reasoning, where a model offers it.
Each model accepts only the subset shown in its Available Models row, and its default sits within that subset (for example, Claude Opus 4.8 defaults to high, while Claude Sonnet 4.5 defaults to off).
Autonomy level
Use sessionDefaultSettings.interactionMode to choose whether new sessions start in Auto or Spec Mode, and sessionDefaultSettings.autonomyLevel to set the default Autonomy Level. off keeps manual approvals; low, medium, and high pre-authorize work at or below that risk level.
sessionDefaultSettings.autonomyMode is deprecated and retained for older configurations.
Diff mode
Control how droid displays code changes:
github: Side-by-side, higher fidelity render (recommended).unified: Traditional single-column diff format.
Cloud session sync
When this switch is on, every CLI session is mirrored to Factory web so you can revisit conversations in the browser:
true: Sync sessions to the web app.false: Keep sessions local only.
Sound notifications
Configure audio feedback for droid events:
Completion sound (completionSound) - plays when a response finishes:
fx-ok01Built-in completion sound (default) - soft success bloop.
fx-ack01Alternative built-in sound effect - tactile ripple feedback.
bellUse the system terminal bell.
offNo sound notifications.
Custom pathProvide a file path to your own sound file (e.g.,
"/path/to/sound.wav").
Awaiting input sound (awaitingInputSound) - plays when droid is waiting for user input. Same options as completion sound, defaults to fx-ack01.
Sound focus mode (soundFocusMode) - controls when sounds play:
alwaysPlay sounds regardless of window focus (default).
focusedOnly play sounds when the terminal is focused.
unfocusedOnly play sounds when the terminal is not focused.
/settings or Shift+Tab → Settings in the TUI.Hooks
The hooksDisabled setting provides a global toggle to disable all hooks execution without removing your hook configurations:
false: Hooks are enabled and will execute normally (default)true: All hooks are disabled globally
You can also toggle this from the /hooks menu or /settings.
Set showHookOutput to true when you want hook stdout and stderr to appear in the session transcript for debugging.
IDE auto-connect
The ideAutoConnect setting controls whether droid automatically connects to your IDE when running from external terminals (outside the IDE's built-in terminal):
false: Only auto-connect when running inside IDE terminal (default)true: Auto-connect to IDE from any terminal
Command allowlist, denylist & blocklist
Use these settings to control which commands droid can execute automatically and which it must never run:
commandAllowlistCommands in this array are treated as safe and run without additional confirmation, regardless of autonomy prompts. Include only low-risk utilities you rely on frequently (for example
ls,pwd,dir).commandDenylistCommands in this array always require confirmation and are typically blocked because they are destructive or unsafe (for example recursive
rm,mkfs, or privileged system operations). A denied command can still be run if you explicitly approve it.commandBlocklistCommands in this array can never run. Unlike the denylist, there is no prompt and no way to approve them: the block applies even under full autonomy, auto-run, or
--skip-permissions-unsafe. droid also resolves the actual program being invoked, so a blocked command cannot be slipped through with a wrapper shell, an absolute path, quoting tricks, or command substitution.
Commands that appear in both the allowlist and denylist default to the denylist behavior. The blocklist always takes precedence over both. Any command that is in none of the lists falls back to the autonomy level you selected for the session.
Example allow/deny/block configuration
{
"commandAllowlist": ["ls", "pwd", "dir"],
"commandDenylist": ["rm -rf /", "mkfs", "shutdown"],
"commandBlocklist": ["shutdown", "mkfs", "curl"]
}Use commandBlocklist for commands that should be hard-stopped regardless of approvals; use commandDenylist for commands that are allowed only after explicit confirmation. Review and update these arrays periodically to match your workflow and security posture, especially when sharing configurations across teams.
Session defaults
Defaults applied when a new session starts. See also sessionDefaultSettings.interactionMode and sessionDefaultSettings.autonomyLevel in the table above.
| Setting | Type | Options | Default | Description |
|---|---|---|---|---|
sessionDefaultSettings.specModeModel | string | Any available model ID | Inherits model | Override the model used when sessions start in Spec Mode. |
sessionDefaultSettings.specModeReasoningEffort | string | Model-dependent (see /models) | Model default | Reasoning effort applied to the spec model. |
Display and UI
Tune how droid renders content in the terminal.
toolResultDisplaystringdefault: expandedHow tool results are rendered in the transcript. Options:
expanded,compact.showTokenUsageIndicatorbooleandefault: falseShow the live token usage indicator at the bottom of the input.
todoDisplayModestringdefault: Product defaultControl how the todo list is shown in the terminal UI.
logoAnimationstringdefault: onceAnimate the droid logo on startup. Options:
once,always,off.themestringdefault: System themeColor theme used by the TUI. Accepts a theme ID (see
/themes).overrideTerminalColorsbooleandefault: falseForce droid's theme to override the terminal's color scheme.
nerdFontbooleandefault: falseEnable Nerd Font glyphs in the UI (requires a Nerd Font in your terminal).
Additional sound and notification settings
Extends the Sound notifications section with toggles for the bell, per-event focus modes, and subagent activity.
| Setting | Type | Options | Default | Description |
|---|---|---|---|---|
subagentSounds | string | on, off | off | Play sounds for subagent lifecycle events (start, complete, error). |
completionSoundFocusMode | string | always, focused, unfocused | Inherits soundFocusMode | Override focus behavior for completion sounds. |
awaitingInputSoundFocusMode | string | always, focused, unfocused | Inherits soundFocusMode | Override focus behavior for awaiting-input sounds. |
Mission settings
Configure Missions, multi-agent orchestration runs.
missionModelSettings.workerModelstringdefault: InheritsDefault model used by mission worker subagents. Accepts any available model ID.
missionModelSettings.workerReasoningEffortstringdefault: Model defaultReasoning effort for mission workers. Options are model-dependent (see /models).
missionModelSettings.validationWorkerModelstringdefault: InheritsModel used by mission validators (scrutiny / user-testing workers). Accepts any available model ID.
missionModelSettings.validationWorkerReasoningEffortstringdefault: Model defaultReasoning effort for validation workers. Options are model-dependent (see /models).
missionModelSettings.skipScrutinybooleandefault: falseSkip scrutiny validation milestones during missions.
missionModelSettings.skipUserTestingbooleandefault: falseSkip user-testing validation milestones during missions.
missionOrchestratorModelstringdefault: InheritsModel used by the mission orchestrator. Accepts any available model ID.
missionOrchestratorReasoningEffortstringdefault: Model defaultReasoning effort for the mission orchestrator. Options are model-dependent (see /models).
keepSystemAwakeDuringMissionsbooleandefault: truePrevent the OS from sleeping while a mission is running.
Subagent settings
Configure the autonomy and models used by subagents spawned by the Task tool. These appear in the Subagents tab of /settings.
| Setting | Type | Options | Default | Description |
|---|---|---|---|---|
subagentAutonomyLevel | string | inherit, off, low, medium, high | inherit | Autonomy Level applied to subagents spawned by the Task tool. |
Subagent autonomy level
subagentAutonomyLevel controls how much subagents can do without approval:
inherit: Subagents use the parent session's autonomy level (default).off: Subagents require manual approval for every action.low,medium,high: Pre-authorize subagent work at or below that risk level.
An explicit level is still clamped to the org-managed maxAutonomyLevel, so it can never exceed the enterprise cap. Mission workers do not use this setting.
Subagent model settings
Subagents are routed by a complexity tier (light, medium, heavy). Each tier can pin its own model and reasoning effort under subagentModelSettings.
| Setting | Type | Options | Default | Description |
|---|---|---|---|---|
subagentModelSettings.lightModel | string | Any available model ID or inherit | inherit | Model for light-complexity subagents (e.g. the built-in explorer). |
subagentModelSettings.lightReasoningEffort | string | Model-dependent: none, dynamic, off, minimal, low, medium, high, xhigh, max | Parent/model default | Reasoning effort for light-complexity subagents. |
subagentModelSettings.mediumModel | string | Any available model ID or inherit | inherit | Model for medium-complexity subagents (e.g. the built-in worker). |
subagentModelSettings.mediumReasoningEffort | string | Model-dependent: none, dynamic, off, minimal, low, medium, high, xhigh, max | Parent/model default | Reasoning effort for medium-complexity subagents. |
subagentModelSettings.heavyModel | string | Any available model ID or inherit | inherit | Model for heavy-complexity subagents. |
subagentModelSettings.heavyReasoningEffort | string | Model-dependent: none, dynamic, off, minimal, low, medium, high, xhigh, max | Parent/model default | Reasoning effort for heavy-complexity subagents. |
How the tiers are chosen:
- The built-in
workersubagent runs atmediumcomplexity andexploreratlight. Custom droids and the Task tool can request a specific tier. inherit(the default) means the subagent uses the spawning session's active model and reasoning effort. Upgrading the parent session's model does not retroactively change a tier pinned to a specific model.- A custom droid with an explicit
modelin its configuration uses that model directly and bypasses complexity routing. - Without an explicit reasoning effort, a routed tier preserves the parent's active effort when it uses the same model; if it switches models, it uses the routed model's default. Explicit efforts are clamped to what the selected model supports.
Context and compaction
Controls when and how droid compacts the conversation to stay within the model's context window.
compactionTokenLimitnumberdefault: Model-dependentToken threshold that triggers automatic compaction of the current session.
compactionTokenLimitPerModelobjectdefault: {}Per-model overrides for
compactionTokenLimit, as a{ "<modelId>": number }map.compactionModelstringdefault: sameWhich model performs compaction:
sameuses the current session model, or specify a model ID.modelFallbacksobjectdefault: {}Per-model fallback routing when a selected model is unavailable, as a
{ "<modelId>": "<fallbackModelId>" }map.
Spec mode settings
Controls the persistent spec store created by Spec Mode.
| Setting | Type | Options | Default | Description |
|---|---|---|---|---|
specSaveDir | string | Directory path | ~/.factory/specs | Directory where saved specs are written. Supports ~ expansion. |
Infrastructure
System-level settings for status line, worktrees, and request timeouts.
statusLineobjectdefault: unsetCustom status line configuration. Accepts
{ "command": string, "padding"?: number, "maxRows"?: number }. Thecommandis executed and its stdout rendered above the input. Configure interactively with/statusline.worktreeDirectorystringdefault: ~/.factory/worktreesDefault parent directory for git worktrees created with
--worktree/-w.llmRequestTimeoutnumberdefault: Product defaultTimeout in milliseconds for individual LLM requests before they are aborted.
subagentInactivityTimeoutnumberdefault: Product defaultTimeout in milliseconds for subagent inactivity before Droid treats the worker as stalled.
remoteAccessEnabledbooleandefault: falseAllow this machine to be used for remote Droid Computer access.
Enterprise and org-level settings
These keys are org-managed, not personal preferences. They are typically configured by an organization Manager or Owner and pushed to members through the Factory App or a managed settings.json. They appear here so the settings.json schema is complete in one place, but individual users should not expect to change them. See Enterprise Controls & Managed Settings for hierarchy, merge semantics, and admin enforcement details. Usage alert preferences are Factory App controls; individual users control their own threshold alerts.
| Setting | Type | Options | Default | Description |
|---|---|---|---|---|
maxAutonomyLevel | string | off, low, medium, high | high | Enterprise. Maximum Autonomy Level any session may use. Higher levels selected by users are clamped. |
subagentAutonomyLevel | string | low, medium, high, inherit | inherit | Enterprise. Default autonomy ceiling for subagent workers. |
modelPolicy | object | { "allowedModelIds"?: string[], "blockedModelIds"?: string[], "allowCustomModels"?: boolean, "allowedBaseUrls"?: string[] } | unset | Enterprise. Restrict which models members can select, control whether custom models are permitted, and allowlist base URLs for custom model providers. |
mcpPolicy | object | { "enabled"?: boolean, "allowlist"?: string[] } | unset | Enterprise. Control whether MCP servers can run and which servers are permitted. See MCP. |
mcpAutonomyOverrides | object | Per-server and per-tool autonomy map | unset | Enterprise. Set default autonomy levels for specific MCP servers or tools. |
mcpAutonomyUrlOverrides | array | URL pattern autonomy rules | unset | Enterprise. Set autonomy defaults for MCP tools that target matching URLs. |
missionPolicy | object | { "restrictedAccess"?: boolean, "allowedUserIds"?: string[] } | unset | Enterprise. Restrict who can launch Missions. |
networkPolicy | object | { "allowedIps": string[] } | unset | Enterprise. Restrict outbound network access from droid sessions to the specified IPs or CIDR ranges in allowedIps. |
sandbox | object | { "enabled"?: boolean, "mode"?: string, "filesystem"?: object, "network"?: object } | unset | Private Preview. Sandbox configuration controlling filesystem and network isolation for tool execution. See Sandbox. |
restrictMemberVisibility | boolean | true, false | false | Org-level. Hide other org members from non-admin users. |
restrictApiKeyCreationToManagers | boolean | true, false | false | Org-level. Only org managers may create API keys. |
sessionRetentionDays | number | 14–365 | Org default | Org-level. How long synced session history is retained before deletion. |
wikiCloudSync | boolean | true, false | true | Org-level. Sync generated Wiki content to Factory cloud. |
voiceDictationEnabled | boolean | true, false | Org default | Org-level. Control whether voice dictation is available as an input method to organization members. |
disableWeeklyUsageSummary | boolean | true, false | false (summary on) | Enterprise/org-level. Opt out of the weekly usage-cap summary email sent to Managers and Owners for users and active service accounts at or above 80% of their monthly credit cap. Set true to suppress. |
managedComputersEnabled | boolean | true, false | false | Enterprise. Enable Factory-managed remote computers for the org. |
managedComputersAllowedEmails | array | Email allowlist | unset | Enterprise. Limit Factory-managed Droid Computers to specific members. |
byomComputersEnabled | boolean | true, false | false | Enterprise. Allow members to register their own machines via droid computer register (BYOM). |
byomComputersAllowedEmails | array | Email allowlist | unset | Enterprise. Limit BYOM Droid Computer registration to specific members. |
factoryRouterGuidance | string | Routing guidance text | unset | Enterprise. Organization-wide guidance for Factory Router model selection. |
factoryRouterRules | array | Routing rule objects | unset | Enterprise. Conditional Factory Router guidance rules. |
allowManagedHooksOnly | boolean | true, false | false | Enterprise. Require hooks to come from managed settings rather than local configuration. |
disableAutoUpdate | boolean | true, false | false | Enterprise. Disable automatic Droid CLI updates where managed deployment controls updates. |
Factory App usage alert preferences
The following preference is stored in each user's Factory App profile. It cannot be configured in settings.json.
| Preference | Type | Options | Default | Description |
|---|---|---|---|---|
disableUsageLimitAlerts | boolean | true, false | false (alerts on) | Opt out of the emails sent when you reach 80% and 100% of your monthly credit cap. Set true to stop these alerts. |
Example configuration
{
"model": "claude-opus-4-7",
"reasoningEffort": "low",
"diffMode": "github",
"cloudSessionSync": true,
"completionSound": "fx-ok01",
"awaitingInputSound": "fx-ack01",
"soundFocusMode": "always"
}