Manage providers
This page covers the work that is the same for every provider: finding it, adding it, checking it, updating it, and managing its keys and models.
Provider instances
Each configured provider is an instance with a display name, driver, enabled state, readiness, version, model count, and capability summary. From an instance you can:
- enable, disable, rename, or remove it;
- edit its binary path;
- run a non-mutating Connection Check;
- review its discovered models and capabilities.
Disabling an instance prevents new sessions while preserving its configuration and historical thread references. Removing is refused while active sessions depend on the instance.
Provider catalog
Settings → Providers & Models → Provider catalog lists every provider driver that ships with Octant: the agent runtimes, then the model endpoints. Each one is bundled, so it is already installed and trusted. The catalog says so and offers no install or trust action. The Providers & Models page looks on this host for installed runtimes when it opens. Browsing the catalog or opening one driver's setup reads only what Octant already knows and starts no runtime.
A driver's setup page shows four separate states:
- Available: Octant offers the driver on this host.
- Enabled: a provider for it is switched on.
- Signed in.
- Ready: its last connection check passed.
It also says what the driver can do in Chat, Work, and Code, who runs the agent loop, and who sandboxes it: Octant for most runtimes, Octant in Plan only for Claude Code, and the runtime's own sandbox for Codex.
Below that is one guided setup with a single next step:
- Look on this host runs the same discovery scan as Providers & Models. The scan reads each runtime's version under confinement.
- Add connects the runtime the scan found. If a provider for that driver already exists, setup continues with that provider and never creates a second one. The host refuses to duplicate one too.
- Turn on switches the provider on.
- Sign in uses the runtime's own Providers & Models card, shown on the setup page. A key you enter there is stored in the host's credential store (the Keychain on a Mac, Secret Service on Linux), never in the catalog.
- Check connection starts the runtime once to read its models and sign-in. If the runtime cannot start at its configured path, the card's Locate binary… fixes it.
An endpoint driver (OpenAI-compatible, Anthropic-compatible, Azure AI Foundry, Amazon Bedrock, Ollama) is added under Octant Harness → Model endpoints with Add endpoint. See Model endpoints. A step that fails shows the host's reason and a Try again button.
Outside drivers
On a Mac or Linux, a provider driver that does not ship with Octant can be added from a folder on this computer. On Linux it runs without confinement, its row reads "Runs without confinement", and under Strict Linux doesn't run it.
- Under Plugins, review the driver folder.
- Install it.
- Trust its source.
- Switch it on.
Each is a separate step, and none happens on its own. Once it is trusted and switched on, the catalog lists it under Outside drivers, marked as an outside driver rather than bundled.
Its setup adds a provider in place: a name, the address of the service the driver speaks to (HTTPS, or HTTP on this computer), how the key is sent, the key, and the model IDs to offer. The key is saved in the host's credential store (the Keychain on a Mac). The provider is added off.
- Turning it on starts nothing.
- Check connection starts the driver in its own confined process, with no network and none of your files. Octant makes every request for it, adding the key itself, only to the address you entered.
- Only the model IDs you listed that the driver also reports are offered.
- To let a model use Octant's tools, use Verify tools on the provider's card. Octant sends one request and checks the answer itself.
Trust holds for the exact version you trusted. If the folder's contents change and you update, the new version arrives untrusted and the provider is blocked, with its history and key. Trusting the new version moves the provider to it: its next check starts the new version, and its models need Verify tools again, since what Octant learned about the old version does not carry over. A rollback works the same way.
Outside image drivers
An outside driver can generate images instead of chatting. It is installed, trusted, and switched on the same way, and the catalog lists it under Outside drivers as Image generation. Its setup adds an image profile: a name, the service's address, how the key is sent, the key, and which of the models the driver's package declares to offer, each shown with the price per image the package publishes. The first model chosen is the default.
Once the profile is on, Octant's image tools offer it like any other image provider: it follows the same confirmation and auto-start rules, the price comes from the package, and spend ceilings hold it. A model the package publishes no price for is refused while a spend limit is set. The driver starts at the first image, not when the profile is turned on. If you withdraw trust or switch the driver off, its profile stops being offered.
Outside video drivers
An outside driver can also make video clips. The catalog lists it under Outside drivers as Video generation, and its setup adds a video profile the same way, with the models the driver's package declares.
Once the profile is on, an agent can offer clips from it on the usual card, with the price from the package. The card names the host of the address you entered as the one that receives the prompt and images. Images for one clip can be at most 2.5 MiB combined. The driver starts at the first clip, or when a restart resumes one.
Octant counts a clip against your spend ceilings at its estimate when a start fails but the provider may have accepted it. If you turn the profile off, remove it, change its address, or withdraw trust while a clip is running, Octant sends nothing more for it and counts the estimate. A clip still waiting in the queue ends without a charge.
If the driver stops on its own three times within a minute, Octant holds that version of it. The provider's card says so, and restarting Octant does not lift the hold. Installing another version and trusting it moves the provider and leaves the hold behind. Turning the plugin off, withdrawing trust, or uninstalling stops the driver and blocks the provider.
Linux and Windows hosts cannot confine a driver, so they never run one. To write one, see Build a provider driver.
Any ACP agent
Under Settings → Providers & Models → Any ACP agent, you can add an Agent Client Protocol (ACP) agent that does not ship with a built-in Octant profile, either by picking an entry from the public ACP registry or by entering a local command. Only a window on this computer or a device you paired yourself can add, install, or trust one.
Each step is separate and recorded in the journal:
- Add: pick an entry from the registry (Octant reads the pinned release, package or archive URL, checksum, and environment from its own listing) or enter an absolute local executable path and arguments. Arguments that name a key, token, or password are refused, because arguments are journaled.
- Install: downloads the pinned release into Octant's managed folder over HTTPS only, checking archive paths and hashes. Downloads follow the Marketplace fetches switch. Package installs keep install scripts off (
--ignore-scriptsfor npm,--no-buildfor uv) so nothing downloaded runs before you trust it. If a registry archive provides no checksum, Octant marks it as an unverified download and shows a warning before Trust. - Trust: grants the agent your trust and automatically runs any deferred install scripts with no further prompt — unsandboxed outside Strict, and inside Octant's sandbox with writes limited to the agent's install folder under Strict. Before Trust, a connection check that fails because a package needs its install script says "This package needs its install script, which runs when you trust it." If an install script fails, the agent stays untrusted so you can fix the cause and retry Trust.
- Turn on: enabled only once the agent is installed and trusted.
Google Antigravity is refused here, whether from the registry's antigravity-acp entry or as a local agy command, and one added earlier never starts. Add it as the built-in Google Antigravity provider instead.
Until you trust an added ACP agent (or if you later withdraw trust), it runs in Octant's sandbox at every level — Full access included — remembers no approvals, and receives none of Octant's tools. Removing an added agent deletes its managed install.
Discovery and auto-registration
Octant scans a sanitized PATH plus approved install locations to find local provider runtimes. Opening Providers & Models auto-registers at most one instance per driver family for the preferred safe match.
- On first run, a detected Claude Code or Codex CLI instance is created enabled. Every other detected runtime is created disabled.
- After first run, auto-registration always creates a disabled instance.
- A detected local Ollama server is listed under Settings → Octant Harness → Model endpoints rather than with the agent runtimes.
- Auto-registration never toggles an existing instance, never stores credentials, never logs in, and never installs or automatically updates CLIs.
Disabled rows whose binary the current scan found show "Detected on this host — enable to use". Enabling runs the Connection Check first. A scan that has not run, failed, or was cancelled is not treated as proof that a runtime is gone, so the switch stays off until a scan completes. A scan proves absence only for the directories it actually searched: a binary configured outside every searched location can still be enabled, and the host then checks that it exists.
Once a scan completes, providers that are switched on are listed first under Configured providers. The ones that are off are separated into those detected on this host and supported providers it did not find. Each group is one list with a row per provider: its logo, name, a status line, and its switch. The status line shows a filled dot for ready, a ring for needs setup, or a muted ring for off, then the model count and maker. The arrow beside the switch opens the provider's details in place.
A manual endpoint addition has no local binary, is not described as undetected, and can be enabled without detection. Enabled is not ready: detection does not assert authentication.
Shell aliases
Discovery also recognizes a narrowly parsed alias declaration for a supported executable in ~/.bash_aliases, ~/.bash_profile, ~/.bashrc, ~/.zprofile, or ~/.zshrc. Octant reads those files without sourcing them, accepts only a single executable token or absolute executable path, then applies the same absolute-path, executable-file, symlink, probe-timeout, and output-size checks as ordinary PATH results.
Shell functions, aliases with arguments, command substitution, and aliases that exist only in an already-running interactive shell are ignored. Add a persistent alias declaration or use Locate binary… for those cases.
Locate binary
A runtime installed somewhere the scan does not look, such as a custom prefix, a version manager's directory, or a build you made yourself, does not need a manual form. Open the runtime's card details and choose Locate binary…, then pick the executable in the file picker.
This works on any CLI, ACP, Agent SDK, or RPC runtime card, detected or not, in the Octant desktop app. A browser or a paired device has no file picker, so the action is not offered there. GLM Agent is the exception: it has no version flag the host could check a pick with.
Octant only uses a file you picked. The picker hands the page an opaque, single-use receipt for this window rather than the path, so nothing else can point a runtime at a file you did not choose. The host then checks the file the way discovery checks what it finds: an executable regular file, with the runtime's version probe run under the same confinement. It refuses a file that is not executable or does not answer with a version number. Once it is accepted, the card's binary path changes to the file you picked, and its other settings (sign-in method, display name) stay as they were. An enabled runtime is checked again right away.
Use the one found elsewhere
If a runtime's saved binary has been removed or is reported incompatible, but the latest scan found the same runtime somewhere else, its card details offer Use the one found at ... with the path and version, for example ~/.local/bin/claude (2.1.306). Nothing switches until you click it.
Octant offers the stable launcher path rather than the versioned file behind it. When the scan found several, it offers a compatible one with the highest version. The host checks the binary the way it checks a picked file and only then changes the card's binary path. It does not turn the runtime on. This action needs no file picker, so it also appears in a browser.
Connection details
Connection details distinguish the installed version from the version Octant supports. A failed check reports only bounded process facts, such as the stage, exit code or signal, and a fixed safe diagnostic classification. Raw provider output, arguments, paths, environment values, and credentials are never shown.
Readiness states are ready, unavailable, unauthenticated, incompatible, degraded, and checking. When a connection check refuses, Settings names an Octant-authored reason and the next action instead of a generic incompatibility sentence. Detected versions stay visible when the probe read them.
Update a CLI
When Settings can see that a newer release exists, it shows Update available (installed → newest) beside Update CLI. This applies to Codex, Claude Code, Grok Build, GitHub Copilot and Cline, whose newest version Octant reads from the npm registry once a day. The lookup sends only the package name and is off when you turn off marketplace fetches. Nothing updates until you click Update CLI. The connection check that follows shows why a release Octant cannot use yet is refused.
The Update CLI action is shown only for providers with a verified native update command:
- It runs that command against the same configured executable, when no active session is using it. Stop active sessions before updating.
- It then reports whether the observed version changed, stayed the same, could not be compared, or the follow-up connection check failed. Exit zero is not treated as proof that the binary was replaced.
- When Settings is connected to another Octant host, the action runs on that selected host against its configured binary. No updater command or shell authority is sent to the renderer.
Unsupported or unverified commands stay unavailable. Octant never silently replaces a CLI or updates providers without an explicit action, and a provider updates itself only if you let it (below). OpenCode has its own managed update; see Update OpenCode.
Provider telemetry and self-update
Settings → Providers & Models → Provider channels has two switches that decide what a provider's own program may send or change on its own, outside Strict. Both are off by default.
- Let providers send their own telemetry. Off, Octant sets each provider's telemetry opt-out on every start, wherever the provider has one that Octant can set. On, the provider's own settings decide, as on its own.
- Let providers update themselves. Off, Octant sets each provider's self-update opt-out, wherever it has one. It is off by default because Octant installs and updates provider programs itself through Update CLI, which the switch does not touch. On, a provider may update itself as it does on its own.
Off does not mean telemetry is off for every provider. Gemini CLI, Cline, GLM Agent, Devin, fx and Oh My Pi have no telemetry opt-out Octant can set, and every provider's model requests carry your conversation to that provider. Provider telemetry and updates lists, for each provider, what it may send, what each switch changes and what Octant cannot stop.
Under Strict both stay off whatever the switches say, and so they do for a thread that keeps or chose a sandbox. Each switch applies from a thread's next start or resume.
Let through under Strict
Not in a release yet
This arrives with #2903.
Outside Strict, a provider starts with your own environment, as your shell has it. Your proxies and certificate settings reach it, and so do the credentials your own tools sign in with, such as GH_TOKEN, GITHUB_TOKEN, GITLAB_TOKEN, NPM_TOKEN, NODE_AUTH_TOKEN, AWS keys and your own services' API keys. So gh, npm publish and aws work inside an agent's commands as they do in your terminal. Other model providers' keys reach it too: OPENAI_API_KEY reaches Claude Code, and the Amazon Bedrock bearer token (AWS_BEARER_TOKEN_BEDROCK) reaches every provider, so a script or a test the agent runs can call those services.
Outside Strict Octant holds back two kinds of variable:
- Octant's own variables. They name Octant's internal connections and are of no use to a provider.
- The key that would change which account a provider signs in as. The account you chose for a provider in Octant decides who a turn is billed to, so a key in your shell cannot replace it.
- Claude Code never gets
ANTHROPIC_API_KEY,ANTHROPIC_AUTH_TOKEN,ANTHROPIC_OAUTH_TOKENorCLAUDE_CODE_OAUTH_TOKENfrom your environment. Otherwise an exported API key would move a subscription thread to API billing without telling you. This also means a command Claude Code runs cannot read yourANTHROPIC_API_KEY. - An ACP agent whose key you can store in Octant gets that key from its account, never from your environment:
MISTRAL_API_KEYfor Mistral Vibe andGEMINI_API_KEYfor Gemini CLI, for example. Other variables such an agent may read for its own sign-in are not held back. - A Codex account you added beside the first one does not get
OPENAI_API_KEY,CODEX_API_KEY,CODEX_ACCESS_TOKENor the Bedrock bearer token from your environment. - The first Codex account, Pi and OpenCode sign in from your environment as they do on their own, so nothing is held back from them.
- Claude Code never gets
Under Strict, a provider gets a short fixed list of variables instead of your environment. Settings → Providers & Models → Let through under Strict adds variables to that list for one provider:
- Pick the provider.
- Type the variable's name, for example
GH_TOKENfor an agent that runsgh. - Choose Let through.
The list holds names only, never values, and up to 64 names for a provider. It applies to that provider's Strict turns and its provider terminal from the next turn, and Remove takes a name back. Octant refuses a name that can never be added, and says why under the field: one of Octant's own variables, or a model provider's key.
- Outside Strict the list is not read. A provider already has your environment there.
- Under Strict OpenCode also gets a short fixed list, plus every model provider's key, because OpenCode signs in to any model provider itself. A proxy variable, an AWS profile, or a variable your OpenCode configuration reads with
{env:NAME}needs a row here under Strict. - Outside Strict, a Pi or ACP agent thread that keeps or chose a sandbox also gets a fixed list. It does not read your list yet, and neither does a provider running on one of your servers.
- A provider terminal also runs your shell's startup files, which may set a credential again. Octant does not read or change those files.
Choose which models show
Expand a provider and use Shown / Hidden beside each reported model to choose which models appear in model pickers. This preference applies across the app and survives connection checks and discovery refreshes. Hiding a model keeps the provider configured and preserves tasks already using that model. Show it again in the same list to make it selectable for new tasks.
New-task defaults use visible models. If every model is hidden, show a model in Provider Settings before starting a new task. Visibility is a selection preference. It does not grant or change provider permissions.
Limit providers for a Project
Provider instances and individual models can carry user-maintained EU and ZDR labels. These labels are local policy metadata, not a claim that Octant independently verified a provider's residency or retention guarantees. Set them on a provider's details, in Settings → Providers & Models or Settings → Octant Harness → Model endpoints, when a Project needs a data-handling boundary.
On a Work or Code Project page, Provider access offers three policies:
- Allow all providers (the default)
- Allow EU or ZDR tagged providers/models
- Allow only selected providers
The host enforces the selected policy for new threads, provider or model changes, and every turn. If a policy changes while a thread is open, a follow-up is refused when its current provider or model is no longer accepted. Picker filtering is only a convenience; it cannot bypass the server check. A provider must still be installed, enabled, authenticated, and ready regardless of its labels or allowlist entry.
Credentials
Credentials are write-only and stored as indirect references in the host's credential store (the macOS Keychain, or Secret Service on Linux). They are never returned to the interface, never journaled, and never placed in process arguments or diagnostics. Remote endpoints require bearer or API-key authentication; anonymous access is accepted only for loopback. OAuth and subscription modes work where the official runtime supports them and are never silently replaced by API-key modes. A Claude account can also sign in through a gateway with an address and token (HTTPS, or private-network HTTP); changing the gateway address clears the saved token, and a browser-created API-key or gateway profile sets its key on the host with octant provider key set.
Several API keys
A provider that takes an API key can hold several, each with a label you choose. Open the provider in Settings to see its API keys. One key is active: Octant sends it first. The list order decides which key is tried next if the active key runs out.
- Add key adds a key to the end of the list and makes it the active key, so the key you just saved is the one Octant sends. Saving a key from the edit form works the same way, and no save removes a key by accident.
- Make active sends a key first, and the list order stays the same.
- Move up and Move down change the order in which the other keys are tried. The first key cannot move up, and the last cannot move down.
- Replace key changes one key's secret and keeps its label, place, and active state. The replaced key is a new key to Octant, so a cooldown from its old secret does not apply to it.
- Rename changes a label. Remove asks you to confirm first. Removing the active key makes the first key left active.
When a key is refused because its quota, credit, or spend limit is used up, Octant skips it for an hour and sends the next key in the list order. A rate limit skips a key for a minute, or for the time the provider asks. A refusal for a bad key (401) never skips a key, so fix or remove that key. A restart of the host clears every skip, so the first key is tried again.
Anthropic-compatible, OpenAI-compatible, Azure AI Foundry, and image endpoints switch keys within a turn. A command-line runtime, such as Claude Code or Codex, uses the first key and does not switch.
A key from a secret store
Instead of storing a key, a provider can point at an item in a password manager you linked in Settings → Secret stores (the 1Password command line tool). Open the provider and use Key from a secret store: enter the item's address and choose Use this item. Octant keeps the address, fetches the key from the manager each time it is used, and never stores, logs, or shows it. A locked store or a missing item fails the request like a missing key, with a message naming the cause. See Use API keys from a secret store.