Documentation Index
Fetch the complete documentation index at: https://factory-docs-academy-content-candidates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Accessing settings
To configure droid settings:- Run
droid - Enter
/settings - Adjust your preferences interactively
Where settings live
| OS | Location |
|---|---|
| macOS / Linux | ~/.factory/settings.json |
| Windows | %USERPROFILE%\.factory\settings.json |
Local overrides
You can create asettings.local.json alongside settings.json in any .factory/ folder:
~/.factory/settings.local.json(user-level)<project>/.factory/settings.local.json(project-level)
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 | opus, opus-4-7, opus-4-6, opus-4-6-fast, sonnet, sonnet-4-6, gpt-5.5, gpt-5.5-fast, gpt-5.5-pro, gpt-5.4, gpt-5.2, gpt-5.2-codex, gpt-5.3-codex, haiku, gemini-3.1-pro, gemini-3-flash, droid-core, glm-5.1, kimi-k2.5, kimi-k2.6, minimax-m2.7, custom-model | opus | The default AI model used by droid |
reasoningEffort | off, none, low, medium, high (availability depends on the model) | 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. |
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. |
Model
Choose the default AI model that powers your droid:opus- Claude Opus 4.5 (current default)opus-4-7- Claude Opus 4.7, newest flagship with Max reasoning (2×; 1× promotional until April 30)opus-4-6- Claude Opus 4.6, previous flagship with Max reasoningopus-4-6-fast- Claude Opus 4.6 Fast, tuned for faster responsessonnet- Claude Sonnet 4.5, balanced cost and qualitysonnet-4-6- Claude Sonnet 4.6, Max reasoning at the Sonnet price pointgpt-5.5- GPT-5.5, latest OpenAI flagship model with 1M context and Extra High reasoninggpt-5.5-fast- GPT-5.5 on priority service tier, less susceptible to traffic surgegpt-5.5-pro- GPT-5.5 Pro, higher-capability variant, ideal for research tasksgpt-5.4- GPT-5.4, previous OpenAI model with 922K context and Extra High reasoninggpt-5.2- OpenAI GPT-5.2gpt-5.2-codex- GPT-5.2-Codex, OpenAI coding model with Extra High reasoninggpt-5.3-codex- GPT-5.3-Codex, latest OpenAI coding model with Extra High reasoning and verbosity supporthaiku- Claude Haiku 4.5, fast and cost-effectivegemini-3.1-pro- Gemini 3.1 Progemini-3-flash- Gemini 3 Flash, fast and cheap (0.2× multiplier)droid-core- GLM-5.1 open-source modelglm-5.1- GLM-5.1 open-source modelkimi-k2.5- Kimi K2.5 open-source model with image supportkimi-k2.6- Kimi K2.6 open-source model with image support and optional High reasoningminimax-m2.7- MiniMax M2.7 open-source model with reasoning support for cost-sensitive agentic workflowscustom-model- Your own configured model via BYOK
Reasoning effort
reasoningEffort adjusts how much structured thinking the model performs before replying. Available values depend on the model, but typically include:
off/none– disable structured reasoning (fastest).low,medium,high– progressively increase deliberation time for more complex reasoning.
off, while GPT-5 starts on medium.
Autonomy level
UsesessionDefaultSettings.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-ok01– Built-in completion sound (default) - soft success bloopfx-ack01– Alternative built-in sound effect - tactile ripple feedbackbell– Use the system terminal belloff– No sound notifications- Custom path – Provide a file path to your own sound file (e.g.,
"/path/to/sound.wav")
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:
always– Play sounds regardless of window focus (default)focused– Only play sounds when the terminal is focusedunfocused– Only play sounds when the terminal is not focused
Access sound settings via
/settings or Shift+Tab → Settings in the TUI.Hooks
ThehooksDisabled 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
/hooks menu or /settings.
IDE auto-connect
TheideAutoConnect 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
Use these settings to control which commands droid can execute automatically and which it must never run:commandAllowlist– Commands 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 examplels,pwd,dir).commandDenylist– Commands in this array always require confirmation and are typically blocked because they are destructive or unsafe (for example recursiverm,mkfs, or privileged system operations).
Example allow/deny configuration
Example configuration
Need more?
- CLI Overview – see the main TUI workflow
- CLI Reference – command flags & options
- IDE Integrations – editor-specific setup
- Custom models & BYOK - add custom models and API keys
