Providers

Cohere

Cohere は、Compatibility API を通じて OpenAI 互換の推論を提供します。OpenClaw は外部化移行中に Cohere プロバイダーを同梱し、Command A モデルカタログを備えた公式の外部 Plugin としても公開しています。

プロパティ
プロバイダー ID cohere
Plugin 移行中は同梱、公式の外部パッケージ
認証 env var COHERE_API_KEY
オンボーディングフラグ --auth-choice cohere-api-key
直接 CLI フラグ --cohere-api-key <key>
API OpenAI 互換 (openai-completions)
ベース URL https://api.cohere.ai/compatibility/v1
デフォルトモデル cohere/command-a-03-2025

はじめる

  1. Cohere は現在の OpenClaw パッケージに含まれています。利用できない場合は、外部パッケージをインストールして Gateway を再起動します。
bash
openclaw plugins install @openclaw/cohere-provideropenclaw gateway restart
  1. Cohere API キーを作成します。
  2. オンボーディングを実行します。
bash
openclaw onboard --non-interactive \  --auth-choice cohere-api-key \  --cohere-api-key "$COHERE_API_KEY"
  1. カタログが利用可能であることを確認します。
bash
openclaw models list --provider cohere

デフォルトモデルは、プライマリモデルがまだ設定されていない場合にのみ設定されます。

環境変数のみのセットアップ

COHERE_API_KEY を Gateway プロセスで利用可能にしてから、Cohere モデルを選択します。

json5
{  agents: {    defaults: {      model: { primary: "cohere/command-a-03-2025" },    },  },}

関連

Was this useful?
On this page

On this page