跳至主要內容
所有用戶端
Headless Worker Bot · Apache-2.01M Context · ZDR

OpenMausBot

相容 OpenAI 標準介面的第三方自主機器人。

基礎網址
https://api.bf16.ai/v1
協定
openai-completions

適用對象
已在執行 OpenMausBot、想直接切換底層模型的使用者。

架構原理與接入優勢

Works with OpenMausBot: local worker bots connected via OPENAI_COMPAT_URL to api.bf16.ai/v1
Works with OpenMausBot: isolate per-role local worker bots on your own host and route OPENAI_COMPAT_URL to api.bf16.ai/v1.

OpenMausBot is an independent Apache-2.0 local worker-bot daemon often used for scheduled browser QA, CSV billing reconciliation, and unattended DevOps patrols. In a 30-step serial tool chain, even a 3% per-turn false-positive safety refusal drops end-to-end completion reliability to 0.97^30 = 40.1% because a text refusal raises ToolCallExpectedError.

Works with OpenMausBot out of the box through its built-in openaiCompat adapter. Pointing OPENAI_COMPAT_URL at https://api.bf16.ai/v1 eliminates mid-run refusal aborts while keeping cookies, browser profiles, and credentials strictly inside your local machine.

指令預設顯示 $BF16_API_KEY。登入並建立金鑰後會自動填入你的真實金鑰。

一鍵快速配置

One-Command OpenMausBot Launch on bf16.ai

Writes a restricted ~/.openmausbot.bf16.env file (chmod 600), verifies api.bf16.ai/v1 connectivity, and starts the local OpenMausBot server.

umask 077 && cat <<'EOF' > ~/.openmausbot.bf16.env
export OPENAI_COMPAT_URL="https://api.bf16.ai/v1"
export OPENAI_COMPAT_API_KEY="sk-bf16-v1-..."
export OPENAI_COMPAT_MODEL="deepseek/deepseek-v4.1-flash-uncensored"
EOF
source ~/.openmausbot.bf16.env && curl -fsS "https://api.bf16.ai/v1/models" -H "Authorization: Bearer $OPENAI_COMPAT_API_KEY" >/dev/null && npx openmausbot serve
  1. 1

    設定連線資訊

    可透過無頭環境變數設定,或於介面 Settings → Connections → Model providers 填入。

    # Headless env, or Settings → Connections → Model providers
    export OPENAI_COMPAT_URL=https://api.bf16.ai/v1
    export OPENAI_COMPAT_API_KEY="$BF16_API_KEY"
    export OPENAI_COMPAT_MODEL="zai-org/glm-5.3-flash-uncensored"
OpenMausBot — Connections → Model Providers
介面與設定檔欄位對照
Environment / Settings → Connections → OpenAI-Compatible

關鍵參數核對清單

OPENAI_COMPAT_URL
https://api.bf16.ai/v1
OPENAI_COMPAT_API_KEY
sk-bf16-v1-••••••••••••
OPENAI_COMPAT_MODEL
deepseek/deepseek-v4.1-flash-uncensored

Supports Vision + tool_choice: "required" at temperature 0.1.

OpenMausBot is an independent third-party open-source project, not affiliated with bf16.ai.

推薦模型分層配置

架構規劃使用旗艦模型,高頻子任務與螢幕截圖使用 Flash 模型以節省開銷。

工作流角色模型 ID選型說明USD / 1M Tokens
30-Step Cron & Browser Workersdeepseek/deepseek-v4.1-flash-uncensoredPrefix caching ($0.045/1M) brings a typical 30-step 100K-token patrol run under $0.01 total.$0.26 in / $0.045 cached / $1.00 out
Visual Canvas & Modal Inspectionzai-org/glm-5.3-flash-uncensoredSharp multimodal OCR + structured JSON tool emission on complex staging UIs.$0.30 in / $0.065 cached / $1.12 out

如何確認設定成功

  • 機器人可正常回覆測試訊息。
  • curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"

生產環境護欄與預算隔離

  • Issue one sk-bf16-v1-* key per worker bot with a Daily Cap ($5.00/day) so selector loops stop cleanly.
  • Keep require_human_approval_tools active for database mutations, outbound webhooks, and payments.

常見錯誤

現象
機器人回報驗證失敗。
原因
貼上金鑰時前後夾帶了空白字元。
解法
請直接點擊複製按鈕重新複製完整金鑰。

還沒安裝?

npx openmausbot serve
官方文件