Skip to main content
OpenAI offers the most complete coverage and can simultaneously serve text chat, vision understanding, image generation, speech-to-text (ASR), text-to-speech (TTS), and embedding. A single open_ai_api_key lets the Agent use all of these capabilities.
All capabilities below can be configured in one place via the “Model Management” page in the Web Console, with no need to manually edit the configuration file.

Text Chat

Codex (ChatGPT Subscription)

The Codex provider calls GPT models through your ChatGPT subscription, with no API key, and is intended for personal use. CowAgent sends requests through the official Codex CLI, while conversation history and tool calls are still managed by CowAgent under the existing permission settings.

Sign In from the Web Console

  1. Under “Config › Models”, choose Codex as the provider and click “Sign in with ChatGPT”. On the first sign-in, the official Codex CLI (about 110 MB) is downloaded automatically and the progress is shown.
  2. Copy the device code, open the OpenAI authorization page, sign in with your ChatGPT account, paste the device code, and confirm.
  3. Once authorized, the model list syncs automatically and Codex models can be selected in chats.
In the provider dialog you can sync the model list again or sign out. To manage the Codex sign-in from a remote console, set an access password first.

Sign In from the Terminal

Run as the user that runs the CowAgent service:
If the Codex CLI is not installed, you are prompted to install it; add --yes to confirm automatically. On a machine with a browser, you can use cow codex login --browser. Other commands: If OpenAI asks you to enable device code authorization, turn it on in ChatGPT’s security settings. The Codex CLI and its sign-in credentials are stored in the data directory of the current CowAgent instance and do not affect any Codex CLI you installed yourself.

Use via the Config File

Set model to a model listed by cow codex models. If LinkAI is enabled, set use_linkai to false. The Codex provider is used only for text chat and tool calls; image understanding, image generation, speech, and embeddings need to be configured separately. Available models and usage limits follow your ChatGPT plan.

Image Understanding

OpenAI models like gpt-5.5, gpt-5.4, gpt-4o, and gpt-4.1 natively support vision. Once open_ai_api_key is configured, the Agent’s Vision tool automatically uses the main model to recognize images. If the main model does not support vision or you want to specify it explicitly, set it in the configuration file:
Supported Vision models: gpt-5.5, gpt-5.4, gpt-5.4-mini, gpt-5.4-nano, gpt-5, gpt-4.1, gpt-4.1-mini, gpt-4o.

Image Generation

Specify the image generation model in the configuration file; the Agent automatically routes image generation skill calls to OpenAI:
Supported image generation models: gpt-image-2.5-flare (recommended default), gpt-image-2.5-sunburst, gpt-image-2.6-flare, gpt-image-2.6-sunburst, gpt-image-2, gpt-image-1. The gpt-image-2.6 series uses high quality when quality is not specified.

Speech-to-Text (ASR)

Credentials are automatically reused from open_ai_api_key.

Text-to-Speech (TTS)

Embedding

Available models: text-embedding-3-small, text-embedding-3-large, text-embedding-ada-002. After changing the embedding, run /memory rebuild-index to rebuild the index.