Skip to content
Lovelace

ada config

View and change CLI settings and LLM provider configuration

ada config reads and writes the Ada CLI configuration file, manages the LLM providers that chat and agents use, and imports AI editor rules into AGENT.md guidance.

Usage#

bash
ada config <COMMAND> [OPTIONS]

Subcommands#

SubcommandDescription
ada config showShow the current configuration
ada config getPrint one configuration value
ada config setSet one configuration value
ada config resetReset the configuration file to defaults
ada config providerManage LLM providers
ada config migrate-contextImport AI editor rules into generated AGENT.md

All subcommands accept the global options listed in the command reference.

ada config show#

Prints CLI settings, every configured provider (the active one is marked [ACTIVE]), and the path of the configuration file.

bash
ada config show
ada config show --show-secrets
OptionDescription
--show-secretsPrint stored API keys instead of masking them

ada config get#

Prints the value of one key.

bash
ada config get cli.history_limit
ArgumentDescription
<KEY>Configuration key

ada config set#

Sets one key and saves the configuration file.

bash
ada config set cli.update_check false
ada config set cli.history_limit 200
ArgumentDescription
<KEY>Configuration key
<VALUE>Value to store

ada config get and ada config set accept these keys:

KeyTypeDefaultDescription
cli.debugbooleanfalseEnable debug logging
cli.history_limitinteger100Chat history limit
cli.auto_save_sessionsbooleantrueSave sessions automatically
cli.update_checkbooleantrueAllow a background, notify-only update check

Any other key fails with Unknown configuration key. Provider settings are changed with ada config provider set, and the remaining fields are edited in the file directly (see the configuration schema).

ada config reset#

Resets the configuration file to defaults. API keys stored in the system keyring are kept. Without --yes, the command asks for confirmation.

bash
ada config reset
ada config reset --yes
OptionDescription
--yesSkip the confirmation

To remove all Ada and Lovelace data from the machine, including keyring credentials, use ada uninstall.

ada config provider#

Manages the LLM providers stored in the configuration file. Changes are also synced to the local Lattice daemon.

SubcommandDescription
ada config provider listList configured providers
ada config provider showShow one provider
ada config provider setAdd or update a provider
ada config provider deleteDelete a provider
ada config provider activateMake a provider the active default
ada config provider testTest the connection to a provider
ada config provider modelsList the models a provider offers

ada config provider set#

bash
ada config provider set anthropic --api-key "$ANTHROPIC_API_KEY" --model claude-sonnet-4-5
ada config provider set ollama --model llama3.2
ada config provider set my-gateway --base-url https://llm.example.com/v1 --provider-type openai-compat
Argument / optionDescription
<PROVIDER_ID>Provider ID, for example openai, anthropic, ollama, lmstudio, or a custom name
--base-url <BASE_URL>Base URL for the provider API
--model <MODEL>Default model
--api-key <API_KEY>API key, stored in the system keyring
--provider-type <type>Provider type hint: ollama, openai, anthropic, openai-compat

openai, anthropic, gemini, ollama, and lmstudio get a default base URL. Any other provider ID requires --base-url. The first provider you add becomes the active provider.

ada config provider list#

bash
ada config provider list
ada config provider list --format json
OptionDescription
--format <FORMAT>table (default) or json

ada config provider show#

bash
ada config provider show anthropic
ada config provider show anthropic --show-secrets
Argument / optionDescription
<PROVIDER_ID>Provider to show
--show-secretsPrint the stored API key

ada config provider delete#

bash
ada config provider delete my-gateway --yes
Argument / optionDescription
<PROVIDER_ID>Provider to delete
--yesSkip the confirmation

ada config provider activate#

bash
ada config provider activate openai
ArgumentDescription
<PROVIDER_ID>Provider to activate

ada config provider test#

Tests the named provider, or the active provider when no ID is given.

bash
ada config provider test
ada config provider test ollama --timeout 30
Argument / optionDescription
[PROVIDER_ID]Provider to test (defaults to the active provider)
--timeout <TIMEOUT>Timeout in seconds (default 10)

ada config provider models#

Lists models from the named provider, or from the active provider when no ID is given.

bash
ada config provider models
ada config provider models openai --refresh --format json
Argument / optionDescription
[PROVIDER_ID]Provider to query (defaults to the active provider)
--refreshSkip the cache and query the provider
--format <FORMAT>table (default) or json

ada config migrate-context#

Finds AI editor rule files in a project and previews the AGENT.md guidance generated from them. With --apply, writes the file.

bash
ada config migrate-context
ada config migrate-context ./my-project --format json
ada config migrate-context --apply
ada config migrate-context --apply --output docs/AGENT.md
Argument / optionDescription
[PROJECT_PATH]Project directory to analyze (default .)
--applyWrite the generated AGENT.md
--output <OUTPUT>Output path (defaults to <project>/AGENT.md with --apply)
--exclude-config <PATH>Leave a discovered configuration file out of the import
--exclude-rule <RULE>Leave out a discovered rule, matched by exact text
--format <FORMAT>text (default) or json

Where configuration is stored#

  • Settings and providers: config.toml in the lovelace directory under your platform configuration directory. ada config show prints the exact path.
  • API keys and sign-in tokens: the system keyring, never the configuration file.

The file layout and every field are described in the configuration schema.

  • ada setup - Check setup status and repair the local daemon service
  • ada doctor - Run system diagnostics
  • ada chat - Uses the active provider unless --provider is given

See the Command Reference for all available commands.