Models › Connect your model

Connect your model

For admins4 min read

Operation Kit runs on your own model accounts. Claude is the first-class choice. This page says what else works, where, and how to connect it in Settings → Models.

On this page
  1. The short version
  2. What runs where
  3. Connect Claude
  4. Add Codex or Grok for jobs
  5. Models for bots
  6. Gemini and local models
  7. What the provider sees

The short version

  • Claude is first-class. Sign in a Claude subscription (Pro, Max or Team) or use an Anthropic API key. Everything works on it.
  • Jobs can also run on Codex or Grok subscriptions, added in Settings → Models.
  • Bots can also use OpenAI, Grok (xAI) or any OpenAI-compatible endpoint, with an API key.
  • Gemini and local models aren't built in. They are possible for bots through an OpenAI-compatible endpoint, but not officially supported.

What runs where

Two parts of Operation Kit talk to a model: jobs (the work on board cards and scheduled runs) and bots on the Bots screen. They connect differently.

ProviderJobsBotsHow you connect it
Claude subscriptionYes, the defaultYesAt install, then Settings → Models → Add Claude seat
Anthropic API keyYesYesAt install (CLAUDE_AUTH="api-key")
Codex (ChatGPT subscription)YesNoSettings → Models → Add Codex seat
Grok (SuperGrok subscription)YesNoSettings → Models → Add Grok seat
OpenAI API keyNoYesOPENAI_API_KEY
Grok (xAI) API keyNoYesXAI_API_KEY
Any OpenAI-compatible endpointNoYesA base URL and key, see below

A model account Operation Kit can run jobs on is called a seat in the app. How seats share the work, cool down and queue: Seats, limits and switching providers.

Connect Claude

You choose how Claude signs in before you install, with CLAUDE_AUTH in client.conf:

Subscription (recommended)CLAUDE_AUTH="login". After the installer runs, someone with the Claude Pro, Max or Team account runs install/claude-login.sh in their own terminal, opens the Sign in with Claude link and pastes back the code. The token only ever appears on that person's own screen. The script checks that Claude answers from inside a sandbox before it saves anything.
API keyCLAUDE_AUTH="api-key". An Anthropic API key, billed per use, handed over in the secrets file as ANTHROPIC_API_KEY. Never type it into client.conf.

To add more Claude subscriptions later, go to Settings → Models (admins only) and press Add Claude seat. Sign in with Claude in the browser, no terminal needed, or paste a token made with claude setup-token. Older guides call this tab Settings → Seats; the old address still opens it.

Add Codex or Grok for jobs

In Settings → Models, press Add Codex seat or Add Grok seat. The app shows a link and a code: open the link, sign in with the ChatGPT or SuperGrok account, and enter the code. Each Codex or Grok seat runs one job at a time.

Which engine a card uses depends on the model picked in the Model field when the card is made. The list comes from the Models section at the bottom of Settings → Models, where an admin chooses which models are enabled and which is the default.

The same page has Engine failover, set per workspace: "If every seat of a card's engine is down, run it on another engine", in the order you choose. It is off unless you turn it on.

Models for bots

Each bot uses the provider and model in its bot file (provider and model). Without them, a bot uses the first provider that is set up, in this order: Claude subscription, Anthropic API key, OpenAI, Grok (xAI), custom endpoint. Under each reply the Bots screen shows which provider and model answered.

  • OpenAI or Grok (xAI). The bot reads the key by its name, OPENAI_API_KEY or XAI_API_KEY. Hand OPENAI_API_KEY over in the secrets file at install, or add either key later as a whole-install secret with exactly that name in Settings → Secrets, then restart the app so it picks the key up.
  • An OpenAI-compatible endpoint. Add AGENT_CHAT_OPENAI_COMPAT_BASE_URL and AGENT_CHAT_OPENAI_COMPAT_API_KEY the same way, set provider: openai-compatible and a model in the bot file, and restart the app.
Note

Settings → Models also has an API key providers list. In this release bots don't read keys from that list. Use the key names above.

Gemini and local models

Gemini. The installer accepts a GEMINI_API_KEY, but no bot or job reads it in this release. If your Gemini plan offers an OpenAI-compatible endpoint, a bot can use it through the custom endpoint above. That path isn't officially supported.

Local and open-weight models. A bot can talk to a model you host yourself, for example behind Ollama or a LiteLLM proxy, through the same OpenAI-compatible endpoint. It is possible, not officially supported, and the installer doesn't set up LiteLLM or Ollama for you. Jobs on the board always run on Claude, Codex or Grok.

What the provider sees

Whatever a job or bot works on is sent to the provider you connected, under your own account and its terms. Whether the provider trains on it depends on your plan and settings, which differ between consumer plans and Team, Enterprise or API plans. Check the provider's own policy: Anthropic, OpenAI, Google Gemini API, xAI. More in the Security model.

Last checked against Operation Kit main (f504a64), 11 Nov 2026Suggest an edit