mistralM

Docs

sideBar

Configuration reference

Look up every key accepted by config.toml and agent files, from providers and models to MCP servers, tool permissions and sensitive files.

An exhaustive index of every key accepted by config.toml and the agent-definition files. Keys are grouped by section, each linking to the page that explains the concept in depth. Use this as a lookup; use Configuration to learn how the file works.

Top-level keys

All keys live at the root of config.toml unless noted.

Key

Type

Default

Description

default_agentstring"default"Agent used when you don't pass --agent, in interactive and programmatic sessions. An approval policy name, such as "ask", sets default_approval_policy instead. See Agents
default_approval_policystring"accept-edits"Approval policy used when you don't pass --approval-policy, whatever the agent: ask, accept-edits, smart-approve, or auto-approve. Applies in interactive and programmatic sessions. See Approval policies
active_modelstringModel alias currently in use. Set to a [[models]] alias or a built-in model ID
allowed_modelsarray<string>Allow-list of model name patterns (exact, glob, or re: regex), matched against the model names sent to the inference API, not their aliases. When non-empty, only matching models are selectable
compaction_modeltableModel that summarizes the conversation during /compact and automatic compaction, at its own thinking level. Must use the active model's provider; otherwise Vibe warns and uses the active model. Defaults to the active model
auto_compact_thresholdnumberToken count that triggers automatic compaction for models that don't set their own. A model's own auto_compact_threshold always wins, including the one built into Mistral Large 4 and the ones Mistral's model catalog sets. Must be positive and fit the model's context window. When unset, Vibe derives it from each model's context window
compaction_max_output_tokensnumber0Output token cap for compaction requests, on any provider. Vibe keeps it within the compaction model's maximum output and the room its context window leaves. 0 sends a cap only to providers that require one
compaction_reasoning_limit_tokensnumber32000Approximate reasoning tokens after which Vibe abandons the first compaction request for a shorter fallback request. 0 disables the limit
agent_max_output_tokensnumber0Output token cap for agent and subagent requests, on any provider. Vibe keeps it within the model's maximum output and the room its context window leaves. 0 sends a cap only to providers that require one
output_limit_retriesnumber6Number of times per turn Vibe discards an answer cut off at the output token limit and asks for it again, with feedback asking for a shorter response. 0 ends the turn on the first cut-off answer
vision_modeltableVision-capable model that describes attached images when the active model doesn't support images. Defaults to any vision-capable model on the provider of the active model. Set it to use a model from another provider
enabled_agentsarray<string>Allow-list of agent and approval policy name patterns. When non-empty, only matching agents and policies are available, with these exceptions: a list that matches agents but no policy allows only the ask policy, and a list that matches both agents and policies also keeps the default agent. A list in your own config that matches no agent and no policy changes nothing, while an admin list that matches nothing allows only the default agent and the ask policy
disabled_agentsarray<string>Deny-list of agent and approval policy name patterns, applied when enabled_agents is empty
agent_pathsarray<string>Extra directories to discover custom agents from
system_prompt_idstring"cli"System prompt to use. Set it to the name of a Markdown file in ~/.vibe/prompts/ or .vibe/prompts/, without the .md extension
title_prompt_idstring"session_title"Prompt used to generate session titles. Resolved like system_prompt_id
skill_pathsarray<string>Extra directories to discover skills from. See Skills
enabled_skillsarray<string>Allow-list of skill name patterns (exact, glob, or re: regex). When non-empty, only matching skills load
disabled_skillsarray<string>Deny-list of skill name patterns, applied when enabled_skills is empty
disabled_pluginsarray<string>Names of installed plugins to turn off. A disabled plugin stays installed but adds nothing to sessions. See Turn plugins on or off
enabled_pluginsarray<string>Names of off-by-default plugins to turn on. disabled_plugins wins when a plugin is in both lists
enabled_toolsarray<string>Allow-list of tool name patterns. See Safety, approvals, and permissions
disabled_toolsarray<string>Deny-list of tool name patterns, applied after enabled_tools
outside_workdirstring"ask""ask" prompts before a file or shell tool reaches outside the working directory. "deny" refuses the call, and the agent keeps working. See Access outside the working directory
enable_mcpbooleantrueAllows MCP servers. When false, Vibe blocks adding, removing, enabling, signing in to, and loading tools from MCP servers, including servers provided by plugins. See Admin config
enable_connectorsbooleantrueAllows connectors, including the built-in web search. See Block connectors
enable_auto_approvebooleantrueAllows the auto-approve mode. When false, Vibe hides the auto-approve approval policy, and ignores --auto-approve, --yolo, and bypass_tool_permissions. Per-tool permissions still apply. Meant for admin config
enable_subagentsbooleantrueLets the agent delegate work to subagents. See Agents
max_subagentsnumber32Maximum number of subagents alive at once. Past this limit, Vibe closes the subagent that has waited longest to make room. Each session can create at most 128 subagents
max_concurrent_subagentsnumber32Maximum number of subagents running at the same time
enable_background_processesbooleantrueLets the agent run commands in the background. When false, commands run to completion in the foreground. On macOS and Linux, what a shell command starts with & stops when the command exits
enable_update_checksbooleantrueChecks once a day for a new release and offers to install it
enable_notificationsbooleantrueRings the terminal bell and updates the terminal title when Vibe finishes or needs your input while the terminal isn't focused
keep_awakebooleanfalseKeeps the computer from going to sleep while a turn runs or waits for your approval or answer. The display can still sleep, and closing the lid still puts the computer to sleep. Works on macOS, Linux, and Windows
enable_telemetrybooleantrueSends anonymous usage and error telemetry to Mistral. Disable for offline-only setups. A project config or agent file can turn it off, but not back on
enable_system_trust_storebooleantrueValidates HTTPS certificates against the operating system trust store as well as Vibe's bundled roots. Set to false to trust only the bundled roots. See Corporate certificate authorities
max_goal_token_budgetnumberHighest token budget a /goal can set. A goal set without a budget gets this one. When unset, goals can have any budget or none
api_stream_idle_timeoutnumber300Seconds of silence, once the model starts answering, before Vibe treats the response as stalled and retries it
ask_confirmation_on_exitbooleantrueAsks for a second Ctrl+D before quitting. Ctrl+C always asks
autocopy_to_clipboardbooleantrueCopies text to the clipboard when you release a mouse selection
enable_mouse_capturebooleantrueCaptures the mouse for clicks, scrolling, and selection. Set to false to select and copy with your terminal instead. See Select and copy text
show_dangerous_directory_warningbooleantrueWarns at startup when Vibe runs in a risky folder, such as your home directory
show_thinking_nodesbooleantrueShows the model's reasoning in the chat, as a collapsible "Thought" row
enable_file_autocompletebooleantrueSuggests files as you type an @ mention. When false, Vibe also skips building the file index in the background
file_watcher_for_autocompletebooleantrueRefreshes @ file suggestions and picks up new or edited skills when files change. When false, Vibe builds the file index once without watching the filesystem
cursor_blinkbooleantrueBlinks the input cursor. Set to false for a steady cursor
vim_keybindingsbooleanfalseEdits the prompt with vim Normal and Insert modes. The input starts in Insert mode, and Escape switches to Normal mode
enable_sticky_promptbooleantruePins the prompt of the current exchange at the top of the chat while you scroll. Click it to scroll back to it
collapse_turn_detailsbooleanfalseOnce a turn's final answer arrives, folds its intermediate messages, reasoning, and tool calls into one Worked for group above the answer. Click the group or press Ctrl+O to expand it
disable_selection_animationbooleanfalseTurns off the short animation that plays when you copy a selection
enable_pr_monitoringbooleantrueTracks the pull requests and merge requests of the session with gh or glab, shows their status on the status rail, and lists them in /pr
themestring"auto"Terminal theme. auto follows the terminal background or the OS light or dark preference. mistral-dark and mistral-light use the Mistral brand palette. Change it with /theme
show_subagent_status_listbooleantrueShows the subagents on the status rail above the prompt
worktree_limitnumber15Maximum number of recent Vibe-managed git worktrees kept locally
worktree_copy_on_writebooleantruemacOS only. Creates new worktrees of a trusted repository from a template checkout, so they take less disk space and are created faster. Sets extensions.worktreeConfig in the repository's .git/config. Vibe renames experimental_worktree_copy_on_write to this key at startup
log_levelstring"WARNING"Log level for ~/.vibe/logs/vibe.log: DEBUG, INFO, WARNING, ERROR, or CRITICAL. Change it with /log-level
strict_configbooleanfalseRefuses to start when the configuration has settings Vibe doesn't use, such as misspelled keys. See Check your configuration
experimental_enable_mistral_mcp_connectorbooleanfalseExperimental. Adds the built-in Mistral MCP connector and its tools to connectors
experimental_enable_model_catalogbooleanfalseExperimental. Fetches Mistral's curated model catalog at session start and adds its models to the model list. Your [[models]] presets still override their settings. When you haven't picked a model, Vibe runs the catalog's recommended model, unless an experiment assigns you another one
[[providers]]table arrayProvider presets. Fields listed below. See API keys and profiles
[[models]]table arrayModel presets. Fields listed below. See API keys and profiles
[[mcp_servers]]table arrayMCP server definitions. Fields listed below. See MCP servers
[utility_models]tableModels for background tasks such as the smart approve classifier and session titles. Fields listed below
[session_logging]tableSession storage settings. Fields listed below

compaction_prompt_id, displayed_workdir, context_warnings, raise_on_compaction_failure, include_model_info, include_prompt_detail, api_connect_timeout, api_write_timeout, and api_pool_timeout are deprecated. Vibe still accepts them in existing files, but they have no effect, and it warns when your config sets compaction_prompt_id. enable_auto_update has no effect either: use enable_update_checks. Vibe also ignores experimental_enable_pr_monitoring and experimental_enable_pr_discovery: use enable_pr_monitoring. Vibe no longer loads custom Python tools, and removes tool_paths from config.toml at startup.

Providers ([[providers]])

One [[providers]] table per provider preset.

Key

Type

Default

Description

namestringRequiredProvider preset identifier, referenced by a [[models]] provider
api_basestringRequiredBase URL for the provider's API
api_key_env_varstringEnvironment variable name holding the API key. Secrets must use this form in admin config
api_stylestring"openai"API style: "openai", "openai-responses", "reasoning", "anthropic", or "vertex-anthropic"
backendstring"generic"Backend type: "generic" or "mistral"
regionstringGoogle Cloud region for Vertex AI (api_style = "vertex-anthropic"). Requires project_id
project_idstringGoogle Cloud project for Vertex AI (api_style = "vertex-anthropic")
preserve_api_basebooleanfalseKeeps the configured api_base when sign-in or /reload would replace it with the one your deployment advertises. Use it when you reach the API through a proxy. See Check the /whoami domains
[providers.extra_headers]tableSubtable of extra HTTP headers, for example "x-acme-tenant" = "engineering"

Models ([[models]])

One [[models]] table per model preset.

Key

Type

Default

Description

namestringRequiredModel ID, for example mistral-medium-latest
providerstringRequiredReferences a [[providers]] name
aliasstringnameLocal alias used by active_model. Defaults to name when omitted
display_namestringaliasLabel shown in the model picker. Falls back to alias when unset
temperaturenumber1.0Sampling temperature
top_pnumberNucleus sampling, between 0 (excluded) and 1. Unset leaves the provider's default
max_output_tokensnumberThe model's maximum output tokens. Providers that require an output limit, such as Anthropic, receive it as the cap unless agent_max_output_tokens or compaction_max_output_tokens is set
input_pricenumberPer-million input token cost, used to cap costs in programmatic mode
output_pricenumberPer-million output token cost, used to cap costs in programmatic mode
cached_input_pricenumberPer-million cached input token cost. Omit to bill cached input at input_price
thinkingstringDefault thinking level for the model: off, low, medium, high, xhigh, max, or a level from thinking_levels. Vibe sends it to the provider as written, with a warning when it's none of these. When unset, the model's lowest level
thinking_levelsarray<string>Thinking levels /thinking offers for this model, lowest first. Can include levels specific to the provider, such as ["low", "turbo"]. When omitted, the model's known levels
supports_imagesbooleanWhether the model is vision-capable. When true, you can @-mention images
max_context_lengthnumberContext window in tokens. Drives automatic compaction
auto_compact_thresholdnumberToken count that triggers automatic compaction. Overrides the top-level auto_compact_threshold and the default, derived from max_context_length

When these fields are unset, Vibe takes them from the provider or from its list of known models. For an unknown model, it assumes a 262,144-token context window and shows a warning.

Utility models ([utility_models])

Models for background tasks, one key per task. Each value is the alias of a [[models]] preset, or "active" to use the session's model. When a key is unset, Vibe uses a small, fast Mistral model if your Mistral provider serves one, and the session's model otherwise. If an alias doesn't match a configured model, or allowed_models excludes it, Vibe shows a warning and uses that automatic selection instead.

Key

Type

Default

Description

smart_approvestringAutomaticModel that classifies tool calls for the smart-approve approval policy. See Choose the smart approve model
titlestringAutomaticModel that generates session titles

Session logging ([session_logging])

Controls where Vibe saves sessions. --continue, --resume, and /resume need saved sessions. See Work with the CLI.

Key

Type

Default

Description

enabledbooleantrueSaves sessions to disk
save_dirstring~/.vibe/logs/sessionDirectory where sessions are saved
generate_titlesbooleantrueGenerates session titles in the background. When false, Vibe shows the first message instead

MCP servers ([[mcp_servers]])

One [[mcp_servers]] table per server. Required fields depend on the transport (http, streamable-http, or stdio).

Key

Type

Default

Description

namestringRequiredShort alias; prefixes this server's tool names
transportstringRequiredOne of http, streamable-http, or stdio
urlstringBase URL for HTTP transports
commandstringCommand for the stdio transport
argsarray<string>Arguments for the stdio transport
envtableEnvironment variables passed to the stdio process
startup_timeout_secnumber10Seconds to wait for the server to start
tool_timeout_secnumber60Seconds to wait for a tool call to complete
disabledbooleanfalseHides all tools from this server. /mcp toggles it
disabled_toolsarray<string>Tool names, without the server prefix, to hide from this server
[mcp_servers.auth]tableAuthentication for HTTP transports. Fields listed below

The [mcp_servers.auth] table sets how Vibe authenticates to an HTTP server:

Key

Type

Default

Description

typestring"static""static" for headers or an API key, "oauth" for browser sign-in
headerstablestatic only. Extra HTTP headers
api_key_envstringstatic only. Env var holding the API key. Distinct from providers' api_key_env_var
api_key_headerstring"Authorization"static only. Header name to set with the API key
api_key_formatstring"Bearer {token}"static only. Format string for the header value
scopesarray<string>Required for oauthoauth only. OAuth scopes to request. Pass an empty list to accept the server's default
client_idstringoauth only. Pre-registered public client ID, with http://127.0.0.1:<redirect_port>/callback as its redirect URI. Can't be combined with client_metadata_url. Without either, Vibe registers a client dynamically
client_metadata_urlstringoauth only. HTTPS URL of a client metadata document, with a path other than /. The document must list http://127.0.0.1:<redirect_port>/callback in redirect_uris. Used only if the server advertises client_id_metadata_document_supported; otherwise Vibe registers a client dynamically. Can't be combined with client_id
redirect_portinteger47823oauth only. Local port for the sign-in callback, from 1024 to 65535. Change it if 47823 is already in use

Vibe still accepts headers, api_key_env, api_key_header, and api_key_format at the top level of [[mcp_servers]] and treats them as static authentication.

Connectors ([[connectors]])

One [[connectors]] table per connector you want to change. /connectors writes these entries when you enable or disable a connector or tool.

Key

Type

Default

Description

namestringRequiredConnector name, as listed in /connectors (for example, web_search)
disabledbooleanfalseHides all tools from this connector
disabled_toolsarray<string>Tool names, without the connector prefix, to hide from this connector

Per-tool permissions ([tools.<tool_name>])

<tool_name> is a built-in tool (read_file, bash, etc.), an MCP tool named {server_name}_{tool_name}, or a connector tool named connector_{connector_name}_{tool_name}. One block per tool.

Key

Type

Default

Description

permissionstring"always" to auto-allow the tool, "ask" to prompt before use, "never" to block it
allowlistarray<string>Read-only commands for bashAllowed without approval. For bash, command prefixes such as ["git status", "pnpm test"]. For read_file, write_file, and edit, globs matched against absolute paths, such as ["/home/me/project/docs/*"]. Replaces the default list
denylistarray<string>Interactive commands for bashAlways denied. For bash, command prefixes such as ["rm -rf"]. For read_file, write_file, and edit, globs matched against absolute paths. Replaces the default list
sensitive_patternsarray<string>["**/.env", "**/.env.*", "**/.env~", "**/.envrc", "**/.envrc.*", "**/.envrc~"] for file tools; ["sudo"] for bash and windows_shellAsks for approval on a matching file or command, even when permission = "always". Setting this list replaces the defaults. See Sensitive file protection
sensitive_file_patternsarray<string>Same .env globs as the file toolsShell tools only. Asks for approval before a shell command reads a matching file, even when the command is allowlisted. [] turns the check off. See Sensitive file protection
outside_workdirstringTop-level outside_workdir"ask" or "deny" for this tool's access outside the working directory. Overrides the top-level setting
default_timeoutnumberShell tools only. Default command timeout, in seconds. Without max_timeout_seconds, at most 300
max_timeout_secondsnumberShell tools only. Longest command timeout the agent can request, in seconds. Set it together with default_timeout

Sensitive file protection (sensitive_patterns)

sensitive_patterns makes Vibe ask for approval before a tool uses a sensitive file or runs a sensitive command, even when the tool's permission is "always". Each approval covers one file for the rest of the session. Approving one sensitive file doesn't approve the others.

Patterns match differently depending on the tool:

  • read_file, write_file, edit: patterns are globs matched case-insensitively against the resolved absolute file path, for example "**/.env" or "**/secrets/**".
  • bash, windows_shell: patterns match the first token of the command only (default ["sudo"]), so they cannot distinguish subcommands such as git commit from git status. On Windows, shell patterns are matched with alias resolution.

Shell tools also check the files a command reads against their sensitive_file_patterns, the .env globs by default. A command such as cat .env asks for approval even when cat is allowlisted. When Vibe can't tell which files a command reads, for example with variables, recursive reads, or sh -c, the approval covers only that exact command.

exclamationMark

Setting sensitive_patterns replaces the built-in defaults instead of adding to them. To keep the default protection for .env and .envrc files, include the six defaults in your list, as in the following example.

The following configuration keeps the defaults and adds a secrets directory:

[tools.read_file]
sensitive_patterns = ["**/.env", "**/.env.*", "**/.env~", "**/.envrc", "**/.envrc.*", "**/.envrc~", "**/secrets/**"]

Each tool has its own list. Set sensitive_patterns separately for read_file, write_file, and edit. The agent searches files through the shell, so searches follow the shell tool's sensitive_file_patterns.

Evaluation order

For file-based tools, Vibe evaluates permissions in this order:

  • 1.

    Scratchpad: always allowed
  • 2.

    denylist: always denied
  • 3.

    allowlist: always allowed (takes precedence over sensitive_patterns)
  • 4.

    sensitive_patterns: ask
  • 5.

    Outside the working directory: ask (or deny, per outside_workdir)
  • 6.

    Otherwise: the tool's default permission

Limitations

sensitive_patterns asks for approval. It doesn't block access, so keep these limits in mind:

  • Only the denylist blocks access. To enforce a hard block, run Vibe in a sandbox.
  • The sensitive_patterns of the file tools don't apply to shell tools, which use their own sensitive_file_patterns. A script or program the agent runs can still read any file.
  • A session approval with a wildcard can also cover reads of sensitive files.
  • --yolo and bypass_tool_permissions skip every approval prompt, including these ones. To prevent this, block auto-approve in the admin configuration.

Example admin configuration

To apply the same patterns to every user, set them in the admin configuration. The following example keeps the defaults and adds custom patterns for each tool:

[tools.read_file]
sensitive_patterns = ["**/.env", "**/.env.*", "**/.env~", "**/.envrc", "**/.envrc.*", "**/.envrc~", "**/secrets/**", "**/*.pem"]

[tools.write_file]
sensitive_patterns = ["**/.env", "**/.env.*", "**/.env~", "**/.envrc", "**/.envrc.*", "**/.envrc~", "**/secrets/**", "**/*.pem"]

[tools.edit]
sensitive_patterns = ["**/.env", "**/.env.*", "**/.env~", "**/.envrc", "**/.envrc.*", "**/.envrc~", "**/secrets/**", "**/*.pem"]

[tools.bash]
sensitive_patterns = ["sudo"]
sensitive_file_patterns = ["**/.env", "**/.env.*", "**/.env~", "**/.envrc", "**/.envrc.*", "**/.envrc~", "**/secrets/**", "**/*.pem"]

Agent definition files

These keys live in ~/.vibe/agents/<name>.toml or ./.vibe/agents/<name>.toml, not in config.toml. They define custom agents and subagents. An agent file can also set these top-level keys to override the global config for that agent: active_model, models, providers, allowed_models, compaction_model, vision_model, auto_compact_threshold, enabled_tools, disabled_tools, enabled_skills, disabled_skills, skill_paths, system_prompt_id, and system_prompt_behavior. In [tools.*] blocks, it can set permission to "ask" or "never", and the shell timeouts. Vibe ignores the other config keys in an agent file, such as safety or bypass_tool_permissions, and reports each one as a config issue, because the approval policy decides what runs without asking. Subagent files keep their [tools.*] rules, which can only make the subagent stricter than the session.

Key

Type

Default

Description

agent_typestring"agent""agent" (user-facing, selectable via --agent) or "subagent" (delegation-only)
display_namestringHuman-readable label
descriptionstringFree-text description. Required for subagents
instructionsstringPrompt text written inline. For an agent, appended after the system prompt. For a subagent, replaces the system_prompt_id prompt
system_prompt_idstringNames a Markdown prompt file in ./.vibe/prompts/ (trusted folders only) or ~/.vibe/prompts/, without the .md extension
active_modelstringModel alias for this agent or subagent (same key as global config)
enabled_toolsarray<string>Tool allow-list for this agent
disabled_toolsarray<string>Tool deny-list for this agent

See Agents for built-in agents and full examples.

Environment variables

Not config.toml keys, but part of the configuration model. See Configuration precedence for where VIBE_<KEY> variables sit.

Variable

Purpose

VIBE_HOMEOverrides the ~/.vibe/ home directory for all state (config, prompts, agents, skills, logs)
VIBE_<KEY>Overrides the top-level config key <key>, for example VIBE_ACTIVE_MODEL. Use __ for nested keys. Vibe ignores and logs a value it can't parse
VIBE_STRICT_CONFIGSet to 1 for the same effect as strict_config = true
VIBE_TERMINAL_KEYNames the terminal that --continue follows. Set it to an empty value to ignore the terminal. See Continue or resume sessions
VIBE_CUSTOM_CONSOLE_URLSet by administrators to pin the console used for browser sign-in. See Pin the sign-in console
MISTRAL_API_KEYPrimary Mistral API key
<PROVIDER>_API_KEYAPI key referenced by a [[providers]] api_key_env_var (for example OPENROUTER_API_KEY)

See Configuration precedence and Admin config for how these layers combine.