Skip to content

Documentation for main. Released versions may differ.

Connecting a provider ​

Connect one provider on the host that will run your session. You need an installed, running hub and either a hosted account with suitable access or a reachable local model server. No existing API key is required for the Ollama path.

The first-task walkthrough uses this dialog without leaving New session. Settings → Providers & credentials manages the same host connections and credentials. If access is already configured, choose that connection rather than adding it again.

The connection dialog is one card, not a flow with modes. Adding a connection, checking it, viewing a saved connection, editing a row, and recovering from an error are all the same card in different states: a label/value grid with a status chip and a footer holding one primary action (ProviderConnection.tsx). Adding is the card with empty name, endpoint URL, and key fields; a saved connection is the card with values and one local action per row (edit the endpoint, replace the key, test again); a row being edited becomes that row with an input and inline Save/Cancel. There is no step rail, wizard mode, or separate management card, and the full editor is a disclosure on the card itself — All connection settings, holding protocol, surface, template variables, API key env, and credential header — not a navigation to another pane. The same shared grid and field builder (ConnectionFacts.tsx) also renders the settings sheet's connection section, so the connect dialog and Settings → Providers & credentials cannot drift into different controls or ids. The sheet keeps its model management, set-default, removal, credential clearing, and OAuth sections; those belong to the sheet, not the card.

Start your first session ​

  1. Open New session. Choose a working directory and, optionally, write your task. These stay in the composer while you connect a provider.
  2. Select Connect provider, then choose a provider. Show all providers reveals the complete catalogue and its search; local and custom endpoints have their own routes. The popular set also carries Custom endpoint — the web label on the openai-compatible registry provider — so a non-catalogue endpoint is reachable without opening the full catalogue.
  3. For a standard API connection, paste the actual API key, not an environment-variable name. The field is masked. Use Get an API key beside the form, or these provider pages: Anthropic, OpenAI, Gemini, OpenRouter.
  4. Select Save and test. Evener saves access on the Evener host, reloads the resolved connection, and requests the provider's model list only. It does not send your prompt or make a generation request. A returned list does not prove generation access, quota, billing status, or a model's tool capability. For a GitHub Copilot subscription the list is the account's own roster, and setup completes only when that roster offers at least one usable model. A transient read failure is retried automatically while the dialog is open, without saving the credential again. If another client replaces this connection's stored credential on the hub while the check is running, the hub refuses that superseded result and the dialog repeats the read and check without rewriting the saved credential. A check is also refused when an in-app edit changes the access it was checking: the endpoint it dials, or the key its credential header selects even when the header name and the visible configuration revision stay equal. The dialog then shows the changed access for review instead of treating the old answer as the new connection's result.
  5. On success the dialog closes by itself and returns to the draft. There is no success confirmation, Continue, or Choose model step. For an untouched draft, Evener adopts the connected instance's own configured default model, but only when that instance's usable live listing marks exactly one row. If no such default is available, the ordinary model control says the model is still needed; open it and choose explicitly. A model you chose yourself, including while the check was running, is preserved. Adoption is local to this draft: it does not change a global provider or model default.
  6. Review your working directory, task, and explicit or adopted model. Review Effective access near Start and use Change if the resolved permission is not what you intended. Instructions in the task do not restrict tools; the access setting does. Then press Start. Connecting, checking, and adopting a model do not start a session.

The task, working-directory, and attachment drafts stay in New session while the provider dialog opens, fails, retries, and closes. Check them again before Start. A successful credential save survives a later model-list failure; the dialog retries the read by itself, and a manual Retry check remains available. Cancel retires that flow's retries and does not start a session.

Subscriptions are not API keys. Claude, ChatGPT, Gemini, and GitHub Copilot subscriptions do not automatically include separately billed API access. OpenAI API keys and OpenAI Codex sign-in are separate connections, and GitHub Copilot sign-in is its own connection. For either sign-in, choose that provider's route and follow the device prompt instead of pasting an API key. The web client and the native client both offer that route through the provider's sign-in action, and both use the same device-only Copilot flow: they show GitHub's verification code and URL, then wait for the authorization. A Copilot connection refuses a stored API key. Availability depends on your account and provider terms.

Other access routes ​

  • Cloud providers: use Show all providers, choose Azure, Vertex, Bedrock, or another provider. A provider whose base URL is unset opens the new-connection card: enter the name, endpoint URL, and key or credential JSON, then save and test. A provider whose registry entry declares template variables also shows those inputs on the card, labelled by their environment-variable names (for example GOOGLE_VERTEX_PROJECT and GOOGLE_VERTEX_LOCATION); fill them so the created instance carries the values its request headers need. All connection settings holds protocol, surface, API key env, and credential header. Vertex can use credential JSON or existing Application Default Credentials; follow the selected provider's access instructions rather than substituting an API key.
  • Local/custom endpoints: start the server on a host reachable from the Evener host and use the local/custom route. Configure its actual URL and any required credentials. An empty optional key means keep resolved host access, not disable authentication. See Ollama for local discovery.
  • Already configured on this host: expand Already configured access on this host? and choose Manage existing connections. The connect dialog closes and Settings → Providers & credentials opens; each instance row there opens the complete inspector, where you can review the displayed destination and credential source and test current access before contacting the provider. The guided form's key row also offers use this host's access instead.
  • Advanced management: Settings → Providers & credentials → Connect provider uses the same connector. After a successful check it closes automatically and returns to Settings; it does not open the New session model chooser. The instance rows are the real editor, with custom instances, rename, reset overrides, replace/clear stored credentials, logout, source inspection, and explicit default management. In the session model chooser, only an explicit model pick requests a session model switch.

Connect from the CLI ​

For ChatGPT/Codex access, run these on the execution host:

sh
evener openai login
evener openai status

Complete the browser or device flow privately. These commands use the openai-codex instance by default, not the API-key openai instance. On a headless host, EVENER_LOGIN_HEADLESS=1 evener openai login requests the device flow. Status checks local login state; it does not prove quota or model generation.

For GitHub Copilot subscription access, the sibling commands always use the device flow on a github.com account:

sh
evener github-copilot login
evener github-copilot status
evener github-copilot logout

login prints the verification URL and user code and exits when GitHub authorizes it. Each command accepts --instance (default github-copilot) and --state-dir; --dir is a working-directory hint. status reads local state only. logout deletes the local record and does not revoke access in your GitHub account. A running hub adopts a login, logout, or account switch made here without a restart.

For API-key access, the browser's masked form is the simplest way to store a key without shell history. A service can instead receive the provider's supported variable from its secret manager. Restart the service after changing that environment. Do not type a literal secret into --credential-header or another command argument.

Inspect what resolves without making a generation request:

sh
EVENER_OFFLINE=1 evener providers list
EVENER_OFFLINE=1 evener models inspect openai/gpt-5.6

Substitute the instance/model you intend to use. For a custom gateway, author an instance without probing it:

sh
evener providers add work --base openai \
  --base-url https://gateway.example.com/v1 \
  --api-key-env WORK_API_KEY --no-probe

This writes configuration; it does not set WORK_API_KEY or validate that example endpoint. Supply the real gateway URL and inject its key securely. An instance pointing to a different endpoint does not inherit vendor key variables. Inspect the resulting destination before any live check. Without --no-probe, providers add may send provider requests.

Once the connection resolves, use an explicit instance/model in the CLI, or choose it in New session. Review the result using Daily work.

Repair or return ​

Save failures keep the current credential draft available for retry. Check failures do not undo a successful save: inspect the inline error, confirm the destination and active source, repair access or endpoint configuration, and retry. Changed destinations require review rather than silently reusing inherited access. If a provider cannot check model-list access, Continue without verification is an explicit unverified route, not a success badge. For a GitHub Copilot connection, an empty or unsupported account roster fails the check and there is no unverified route; signing in again, or with an account whose plan offers a supported model, restores the connection.

Change provider returns to discovery; it does not carry your secret to a different provider. Cancel returns to the originating screen without choosing a model or starting a session. Cancelling a sign-in retires that dialog's UI ownership: a late authorized result is ignored rather than completing the dismissed flow — it runs no automatic check, reopens no dialog, and adopts no model. The retirement is a UI boundary, not a server-side cancellation: an OAuth exchange already in flight may still persist its record on the hub, so access saved by a cancelled sign-in can be present the next time you look. Your composer draft remains, but credentials or configuration already saved on the host are not rolled back by Cancel.

For storage, environment precedence, and launch internals, see the technical provider reference.

Documentation tracks main. Releases may differ.