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#
ada config <COMMAND> [OPTIONS]
Subcommands#
| Subcommand | Description |
|---|---|
ada config show | Show the current configuration |
ada config get | Print one configuration value |
ada config set | Set one configuration value |
ada config reset | Reset the configuration file to defaults |
ada config provider | Manage LLM providers |
ada config migrate-context | Import 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.
ada config show
ada config show --show-secrets
| Option | Description |
|---|---|
--show-secrets | Print stored API keys instead of masking them |
ada config get#
Prints the value of one key.
ada config get cli.history_limit
| Argument | Description |
|---|---|
<KEY> | Configuration key |
ada config set#
Sets one key and saves the configuration file.
ada config set cli.update_check false
ada config set cli.history_limit 200
| Argument | Description |
|---|---|
<KEY> | Configuration key |
<VALUE> | Value to store |
ada config get and ada config set accept these keys:
| Key | Type | Default | Description |
|---|---|---|---|
cli.debug | boolean | false | Enable debug logging |
cli.history_limit | integer | 100 | Chat history limit |
cli.auto_save_sessions | boolean | true | Save sessions automatically |
cli.update_check | boolean | true | Allow 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.
ada config reset
ada config reset --yes
| Option | Description |
|---|---|
--yes | Skip 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.
| Subcommand | Description |
|---|---|
ada config provider list | List configured providers |
ada config provider show | Show one provider |
ada config provider set | Add or update a provider |
ada config provider delete | Delete a provider |
ada config provider activate | Make a provider the active default |
ada config provider test | Test the connection to a provider |
ada config provider models | List the models a provider offers |
ada config provider set#
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 / option | Description |
|---|---|
<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#
ada config provider list
ada config provider list --format json
| Option | Description |
|---|---|
--format <FORMAT> | table (default) or json |
ada config provider show#
ada config provider show anthropic
ada config provider show anthropic --show-secrets
| Argument / option | Description |
|---|---|
<PROVIDER_ID> | Provider to show |
--show-secrets | Print the stored API key |
ada config provider delete#
ada config provider delete my-gateway --yes
| Argument / option | Description |
|---|---|
<PROVIDER_ID> | Provider to delete |
--yes | Skip the confirmation |
ada config provider activate#
ada config provider activate openai
| Argument | Description |
|---|---|
<PROVIDER_ID> | Provider to activate |
ada config provider test#
Tests the named provider, or the active provider when no ID is given.
ada config provider test
ada config provider test ollama --timeout 30
| Argument / option | Description |
|---|---|
[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.
ada config provider models
ada config provider models openai --refresh --format json
| Argument / option | Description |
|---|---|
[PROVIDER_ID] | Provider to query (defaults to the active provider) |
--refresh | Skip 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.
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 / option | Description |
|---|---|
[PROJECT_PATH] | Project directory to analyze (default .) |
--apply | Write 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.tomlin thelovelacedirectory under your platform configuration directory.ada config showprints 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.
Related Commands#
- ada setup - Check setup status and repair the local daemon service
- ada doctor - Run system diagnostics
- ada chat - Uses the active provider unless
--provideris given
See the Command Reference for all available commands.