メインコンテンツへスキップ
すべてのクライアント
Multi-Channel Personal Daemon1M Context · ZDR

OpenClaw

非対話型コマンドでセットアップできるパーソナルエージェント。

ベースURL
https://api.bf16.ai/v1
プロトコル
openai-completions

対象ユーザー
モデルの拒否ではなく、エージェント側の権限設定で動作を制御したいユーザー向け。

アーキテクチャと bf16.ai 連携の利点

OpenClaw local daemon bridging WhatsApp, Telegram, Discord, and Signal to api.bf16.ai/v1
OpenClaw keeps MEMORY.md, SOUL.md, and messaging credentials on your host while dispatching non-interactive OpenAI-compatible completions to api.bf16.ai/v1.

OpenClaw runs as a local-first personal AI daemon that connects your messaging channels (Telegram, WhatsApp, Discord, Slack, Signal) to local shell, calendar, file, and browser skills governed by your local SOUL.md and permission rules.

Standard cloud APIs frequently reject benign personal automation messages containing system logs, medical lab PDFs, security alerts, or raw legal contracts. Routing OpenClaw through bf16.ai ensures your daemon executes every authorized skill while your local OpenClaw approval policy stays in complete control of outgoing messages and side effects.

コマンドには $BF16_API_KEY と表示されています。サインインすると自分のキーが自動入力されます。

ワンコマンド設定

One-Command OpenClaw Non-Interactive Setup

Installs OpenClaw if missing, configures bf16.ai as the custom OpenAI-compatible provider with 1M-context DeepSeek V4.1 Flash Uncensored, and verifies gateway connectivity.

export BF16_API_KEY="sk-bf16-v1-..."
command -v openclaw >/dev/null 2>&1 || npm install -g openclaw
openclaw onboard --non-interactive --accept-risk \
  --auth-choice custom-api-key \
  --custom-provider-id bf16 \
  --custom-compatibility openai \
  --custom-base-url https://api.bf16.ai/v1 \
  --custom-api-key "$BF16_API_KEY" \
  --custom-model-id deepseek/deepseek-v4.1-flash-uncensored \
  --skip-health
curl -fsS "https://api.bf16.ai/v1/models" -H "Authorization: Bearer $BF16_API_KEY" >/dev/null && echo "bf16.ai connected to OpenClaw."
  1. 1

    APIキーを環境変数に設定

    サインイン中は自分のキーが自動入力されます。そのままコピーして実行できます。

    export BF16_API_KEY=sk-bf16-v1-...
  2. 2

    bf16 を指定してオンボーディングを実行

    openclaw onboard --non-interactive --accept-risk \
      --auth-choice custom-api-key \
      --custom-provider-id bf16 \
      --custom-compatibility openai \
      --custom-base-url https://api.bf16.ai/v1 \
      --custom-api-key "$BF16_API_KEY" \
      --custom-model-id deepseek/deepseek-v4.1-flash-uncensored \
      --skip-health
OpenClaw — Non-Interactive CLI Onboarding
設定フィールド一覧
~/.openclaw/config.json · Custom Provider Profile

入力パラメータ早見表

--auth-choice
custom-api-key
--custom-compatibility
openai
--custom-base-url
https://api.bf16.ai/v1

Must end with /v1.

--custom-model-id
deepseek/deepseek-v4.1-flash-uncensored

1M context · Vision + fast skill execution.

OpenClaw sends uncompressed screenshots on vision turns; bf16.ai automatically normalizes oversized inline images in RAM so long sessions never fail.

用途別おすすめモデル構成

設計・監査には Flagship モデル、並列サブタスクや画面認識には Flash モデルを組み合わせます。

役割モデル ID選定理由USD / 1M トークン
Messaging & Daily Skills (Default)deepseek/deepseek-v4.1-flash-uncensoredSub-second first-token feel in Telegram/WhatsApp with native image input and $0.045/1M prefix cache hits on SOUL.md + MEMORY.md.$0.26 in / $0.045 cached / $1.00 out
Complex Code & System Administrationzai-org/glm-5.3-uncensoredHighest multi-step shell and file-editing accuracy when invoking engineering skills.$1.35 in / $0.25 cached / $4.20 out

正しく動いているか確認する方法

  • カスタムプロバイダが接続済みとして表示されます。
  • curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"

本番運用の安全策と予算上限

  • Keep OpenClaw confirmation prompts turned ON for outgoing messages to third parties, destructive shell commands, and payment skills (Decision 2.7).
  • Scope a dedicated OpenClaw key in /dashboard/keys with a daily USD ceiling.

よくあるエラー

症状
プロバイダ設定ステップで停止する。
原因
カスタムベースURLに /v1 が付いていません。
対処法
https://api.bf16.ai/v1 を指定してください。

まだインストールしていませんか?

npm install -g openclaw
公式ドキュメント