AI models
How to configure the AI model
Vibedata cannot run an Intent until an AI model is configured. You can do it in Org settings → LLM profiles, or from a terminal with vibedata llm, which tests the credential against the provider before it saves anything.
Start by seeing what the provider actually offers, so you do not have to type a model id from memory. The key is never typed on the command line — put it in a file and point at it:
vibedata llm models --provider openai --api-key-file ~/.config/openai.keyVibedata knows most providers' addresses, so llm models needs --api-base only for a provider whose address is specific to your tenant — Azure Foundry, Databricks, Snowflake, or a custom endpoint. llm add always needs it. Then configure it:
vibedata llm add --provider openai \
--api-base https://api.openai.com/v1 \
--model gpt-5 \
--api-key-file ~/.config/openai.keyVibedata sends one real request to the provider before saving. If the key is wrong, the endpoint is unreachable, or the model is not one that account can use, the command fails, tells you what the provider itself said, and configures nothing — so a typo cannot become a broken first Intent.
Each provider's base URL is listed under Prerequisites. Amazon Bedrock and Google Cloud Vertex AI are configured in Org settings → LLM profiles instead: neither uses an API key. Once one exists, the commands below still list, change and test it.
Two other ways to supply the key, if a file does not suit:
# from standard input
vibedata llm add … --api-key-file - < ~/.config/openai.key
# typed at the terminal, not shown on screen — just leave the option out
vibedata llm add --provider openai --api-base https://api.openai.com/v1 --model gpt-5How to check and change the AI model later
# What is configured
vibedata llm list
# Does the stored key still work? Needs no key of your own — Vibedata reuses the one it holds
vibedata llm test
# Replace an expired or rotated key
vibedata llm set openai --rotate-key --api-key-file ~/.config/openai-new.key
# Change the model, or what you are charged at
vibedata llm set openai --set model=gpt-5.1
vibedata llm set openai --set inputCostPerToken=0.000003vibedata llm test is the one to reach for when Intents start failing and you suspect the credential: an expired or revoked key otherwise only shows up when somebody sends an Intent, where it looks like Vibedata is broken rather than the key needing replacement. A change to the key, base URL, or model is re-tested before it is saved, so a bad replacement fails the command and the working one stays in place.
vibedata llm set --set reaches every field a profile holds — cost, context window, sampling, capabilities, and the metadata the agent uses to pick between models. To see the full list for your deployment:
vibedata llm fields
vibedata llm fields --filter costAdding a provider when one is already configured reports what is there and changes nothing, so re-running the command is safe. Every vibedata llm command also works under --json, where it reports what it found as structured data rather than a sentence — so a script, or a coding agent you have asked to set Vibedata up, can read the result and decide what to do next.
Command reference
vibedata llm list
List the LLM providers configured on a deployment.
Needs no provider credential: it reads Studio's own record, which never includes the stored key.
vibedata llm list [OPTIONS]| Option | Default | What it does |
|---|---|---|
--studio-url TEXT | — | Vibedata URL to target. Defaults to the local installation. |
vibedata llm fields
List every field llm add --set and llm set --set accept.
Read from the target deployment's own published API description rather than from a list held here, so it is right for whatever Studio version that deployment runs. Fields that --set refuses are listed too, with the reason, so looking for one and finding nothing is never the answer.
vibedata llm fields [OPTIONS]| Option | Default | What it does |
|---|---|---|
--filter TEXT | — | Only fields whose name or description contains this text. |
--studio-url TEXT | — | Vibedata URL to target. Defaults to the local installation. |
vibedata llm models
List the models a provider actually serves, so no id is typed from memory.
For a provider already configured, name it and Studio reuses its stored key — no credential is needed. For one not yet configured, give --provider and --api-base, and supply the key the same way llm add does. Run this before llm add to pick a --model.
vibedata llm models [OPTIONS] [PROFILE]| Option | Default | What it does |
|---|---|---|
[PROFILE] | — | Configured provider to list models for, by name or id. |
--provider TEXT | — | Provider id to list models for, when none is configured yet. |
--api-base TEXT | — | The provider's base URL. Each one is listed in docs/functional/configure-llm-profile/README.md (section: Supported providers). |
--api-key-file PATH | — | File holding the provider's API key. Use - to read standard input. Omit at a terminal to be prompted. The key is never a command-line argument. |
--studio-url TEXT | — | Vibedata URL to target. Defaults to the local installation. |
vibedata llm add
Configure an LLM provider, proving the credential works before reporting success.
Studio tests the credential against the provider before it saves anything, so a key, endpoint, or model that cannot serve an Intent fails this command and configures nothing. A failure reports what the provider itself said, which is what tells an invalid key from a blocked network from an unavailable model.
The key is never a command-line argument: give --api-key-file a path, or - to read standard input, or omit it at a terminal to be prompted.
Run vibedata llm models first to choose a --model, and vibedata llm fields to see what else --set can carry.
vibedata llm add [OPTIONS]| Option | Default | What it does |
|---|---|---|
--provider TEXT | required | Provider id from Studio's registry, e.g. openai, anthropic, azure-foundry, ollama, custom. An unrecognised id is rejected by Studio with the full list. |
--api-base TEXT | required | The provider's base URL. Each one is listed in docs/functional/configure-llm-profile/README.md (section: Supported providers). |
--model TEXT | required | Model id to use. Run vibedata llm models to see what is on offer. |
--name TEXT | — | Name for the profile. Defaults to the provider id. |
--api-key-file PATH | — | File holding the provider's API key. Use - to read standard input. Omit at a terminal to be prompted. The key is never a command-line argument. |
--set TEXT, repeatable | — | Set a profile field, as field=value; repeatable. Values are read as JSON, so --set inputCostPerToken=0.000003 and --set specialties='["coding"]' both work, and a plain word is taken as a string. Run vibedata llm fields for the full list. |
--studio-url TEXT | — | Vibedata URL to target. Defaults to the local installation. |
vibedata llm set
Change a configured LLM provider, including rotating its key.
Studio re-runs its connection trial before persisting any change to the base URL, key, model, or wire shape, so a replacement key that the provider rejects fails this command and the working one stays in place. Changing only cost, the canonical model, or selection metadata calls no provider.
--rotate-key is what declares a key change; --api-key-file only says where the new key comes from, and is refused on its own so a typo cannot quietly leave the key untouched.
Run vibedata llm fields for every field --set accepts.
vibedata llm set [OPTIONS] [PROFILE]| Option | Default | What it does |
|---|---|---|
[PROFILE] | — | Provider to change, by name or id. Defaults to the deployment's default. |
--set TEXT, repeatable | — | Set a profile field, as field=value; repeatable. Values are read as JSON, so --set inputCostPerToken=0.000003 and --set specialties='["coding"]' both work, and a plain word is taken as a string. Run vibedata llm fields for the full list. |
--rotate-key | off | Replace the stored API key with a new one. |
--api-key-file PATH | — | File holding the provider's API key. Use - to read standard input. Omit at a terminal to be prompted. The key is never a command-line argument. |
--studio-url TEXT | — | Vibedata URL to target. Defaults to the local installation. |
vibedata llm test
Re-test a configured LLM provider against the provider itself.
Needs no credential: Studio reuses the key it already holds. Use this to find out whether a provider that was working still is — an expired or revoked key otherwise surfaces only when an Intent fails, which reads as the product being broken rather than a credential needing replacement.
The trial is shaped like the saved profile, so it exercises what an Intent would actually send.
vibedata llm test [OPTIONS] [PROFILE]| Option | Default | What it does |
|---|---|---|
[PROFILE] | — | Provider to test, by name or id. Defaults to the deployment's default. |
--studio-url TEXT | — | Vibedata URL to target. Defaults to the local installation. |

