glossary · Running it

Provider connection

definition

A provider connection is a named link to one AI model provider that holds the provider key and checks which of its models really answer, so runs only pick models that key can call.

in one line: The key, and proof of which models really answer.

in context

Where does a provider connection fit?

Keys live in the connection. In ConvOps, executors hold no keys. They link connections, and each model is checked with a real call.

Foundlisted, not called yet
Readya real call worked
Failedwith the reason
Each model on a connection carries a status.
two ways to say it

What is a provider connection, in plain words?

Same idea at two depths: the plain version, then what the engine actually does.

A model in a provider's list is not a model your key can call. A connection checks.

Runs pick only models that answered.

for engineers

provider_connections_manage: create (provider and secret reference), check, link to executors.

Model rows are found, ready or failed; only the check job writes ready.

the longer answer

Why does a provider connection matter?

A model appearing in a provider's list does not mean your key can call it. Plans, regions, credits and rate limits all decide that. Teams usually find out when a run fails halfway with an invalid key or a model not found error.

Keeping the key in a connection object, separate from the agents and runners that use it, solves two problems. The key lives in one place, as a secret, instead of in every runner's configuration. And the connection can check its models ahead of time with one real call each, so the choice of model is made from the ones that work.

in convops

How does a provider connection work in ConvOps?

In ConvOps, a provider connection names a provider, holds its key as a secret reference, and lists the models it offers, each marked found, ready (a real call worked) or failed with the reason. Executors hold no keys; they link connections. When a run picks a model for each agent through its pin, its tier or the executor's own model, a model counts only when it is ready on one of the executor's connections. ConvOps does not sell or host models: the keys and subscriptions are yours.

in depth

Why should runners hold no keys?

The usual way to give an agent a model is to put the provider key where the agent runs: an environment variable on a server, a secret in each runner, a line in a config file. It works for one runner. With ten, the same key lives in ten places, rotating it means touching all of them, and any one runner that leaks its configuration leaks the key. Nobody can say for sure which runners still hold an old key.

The safer shape is delegation. The platform holds the key, and each run receives only what it needs, for as long as it runs. The runner itself stays keyless, so replacing a runner, adding one or retiring one never involves a secret.

In ConvOps, executors hold no provider keys. They link connections, and the key is stored encrypted, given only to the run that needs it and masked in what the run returns. A key reaches ConvOps as a reference to a stored secret, through a one-time intake link (valid for 15 minutes by default), from Google Secret Manager, or pasted into the web page while you are signed in. A key is never typed into an AI chat or an MCP call. Examples:

  1. Enterprise: production and sandbox work bill to separate provider accounts, so the workspace keeps two connections, and production executors link only the production one.
  2. Agency: a client pays for its own model usage, so the connection in that client's workspace holds the client's key, and the agency's key never touches that work.
in depth

What do found, ready and failed mean?

A provider's model list says what exists, not what your key can call. A connection therefore tracks each model in one of three states, and only one of them lets a run use the model. The check is one real call with the connection's key, so a ready model is one that has actually answered.

In ConvOps, models that agents and tiers use are checked automatically, and any other model stays found until you ask for a check. Replacing the key checks the models in use again and refreshes the list, and an hourly sweep refreshes any connection whose list is more than a day old.

Model states on a ConvOps provider connection.
StateWhat it meansCan a run use it?What to do
foundThe provider lists the model, and no call has been made yetNot once the connection has had its first checkRun a check, or use it in a tier so it is checked
readyOne real call with this key workedYesNothing: runs can pick it
failedThe call failed, with the reason: invalid key, no credits, rate limited or model not foundNoFix the cause, such as the key or the billing, then check again
in depth

How does one key serve many runners?

Setting up a connection once and linking it everywhere is what keeps key handling to a single place. The steps below are the same for a small team and for an enterprise with many executors.

  1. 1

    Create the connection

    Pick a provider from the catalog, a Claude subscription, or a custom provider with its own HTTPS address. A custom address on a private or internal network is refused unless the deployment allows that host.

  2. 2

    Deliver the key

    Point at a stored secret, send a one-time intake link to whoever holds the key, or paste it into the web page while signed in. A Claude subscription can also come from a Kubernetes secret.

  3. 3

    Check the models

    The connection calls each model you use and marks it ready or failed with a reason, so you see a problem before a run does.

  4. 4

    Link it to executors

    A Claude Code executor links exactly one connection. An OpenCode executor can link one connection per provider, so it can mix providers.

  5. 5

    Replace the key when it rotates

    Change the key on the connection and nothing else. Every linked executor uses the new key on its next run, and a connection still linked to an executor cannot be deleted.

questions

What do people ask about a provider connection?

What is a provider connection in ConvOps?

A provider connection in ConvOps is a named link to one AI model provider, a Claude subscription or a custom endpoint. It holds the provider key as a secret and checks which of its models really answer, marking each found, ready or failed. Executors link connections instead of holding keys, so runs only pick models that key can call.

How does ConvOps check a model really answers?

With one real call per model, using the connection's own key. In ConvOps, a model that answers is marked ready; one that fails is marked failed with the reason, such as an invalid key, no credits, a rate limit or a model not found. Models that agents and tiers use are checked automatically, and others on request.

Where is the provider key stored?

In ConvOps, on the provider connection, encrypted, and given only to the run that needs it, masked in what the run returns. Executors hold no keys. The key arrives as a reference to a stored secret, through a one-time intake link, from Google Secret Manager, or pasted into the web page while signed in, never typed into an AI chat.

What happens when a key stops working?

The next check marks the affected models failed with the reason, and runs stop picking them. In ConvOps an agent whose pin or tier model is not ready falls back to its tier or the executor's model, with the reason recorded. Replacing the key on the connection checks the models in use again, and no runner needs to change.

Can I connect my own model endpoint?

Yes. A ConvOps provider connection can be a custom provider with its own HTTPS address, as well as a catalog provider or a Claude subscription. An address on a private or internal network is refused unless the deployment allows that host. ConvOps does not sell or host models: the keys, subscriptions and endpoints are yours.

Which role owns the provider keys?

The administrator who holds the workspace's AI provider accounts and keys. A ConvOps provider connection gives that person one place to add a key, a Claude subscription or a custom endpoint, check with a real call which models answer, and keep the key encrypted and away from executors.