Pular para o conteúdo principal
Todos os clientes
Persistent AI Teammates · Desktop & Server1M Context · ZDR

OpenBot

Local-first desktop workspace and Linux daemon for persistent multi-agent teammates, embedded browser control, and Computer Use.

URL Base
https://api.bf16.ai/v1
Protocolo
openai-completions

Para quem é
Developers running always-on OpenBot teammates, channel queues, and browser workflows who want local OS permissions — not model refusals — to govern execution.

Arquitetura e Integração com bf16.ai

OpenBot local-first desktop and server architecture connected to api.bf16.ai/v1 with 1M context and vision routing
OpenBot keeps FIFO task queues, embedded Chromium sessions, and cua-driver Computer Use on your own machine while routing reasoning and screenshot turns to api.bf16.ai/v1.

OpenBot (nightly-labs/openbot) gives each AI teammate a persistent workspace, FIFO message queue, agent-to-agent delegation channel, embedded Chromium browser, and optional cua-driver Computer Use on macOS, Windows, and Linux. Because OpenBot agents execute multi-step shell and browser tasks autonomously after your explicit workspace consent, a single false-positive safety refusal on step 15 of a staging QA audit, log triage run, or legacy binary inspection stalls the entire teammate queue.

Pointing OpenBot at bf16.ai separates local host security from model censorship. You can connect bf16.ai directly as a custom OpenAI-compatible endpoint inside OpenBot Settings → Providers, or bridge it through your local OpenCode / Hermes CLI configuration so every teammate in OpenBot inherits 1M-token context windows, structured tool calling, and native screenshot vision.

When an OpenBot teammate captures a Retina desktop or browser screenshot via cua-driver, bf16.ai automatically normalizes oversized inline PNG payloads in memory so multi-turn visual sessions never hit payload-size errors and keep prefix-cache hits intact.

Os comandos mostram $BF16_API_KEY. Entre na conta para preencher sua chave real automaticamente.

CONFIGURAÇÃO EM 1 COMANDO

One-Command OpenBot + OpenCode Bridge Setup

Backs up any existing ~/.config/opencode/opencode.json, merges the bf16 provider with all five 1M-context uncensored models (including Vision metadata for OpenBot screenshots), writes BF16_API_KEY to ~/.bf16.env (chmod 600), and verifies live connectivity.

export BF16_API_KEY="sk-bf16-v1-..."
mkdir -p ~/.config/opencode && umask 077 && printf 'BF16_API_KEY=%s\n' "$BF16_API_KEY" > ~/.bf16.env
node -e '
const fs = require("fs"), os = require("os"), path = require("path");
const file = path.join(os.homedir(), ".config/opencode/opencode.json");
let cfg = { "$schema": "https://opencode.ai/config.json", provider: {} };
if (fs.existsSync(file)) {
  fs.copyFileSync(file, file + ".bak");
  try { cfg = JSON.parse(fs.readFileSync(file, "utf8")); } catch {}
}
cfg.provider = cfg.provider || {};
cfg.provider.bf16 = {
  npm: "@ai-sdk/openai-compatible",
  name: "bf16.ai",
  options: { baseURL: "https://api.bf16.ai/v1", apiKey: "{env:BF16_API_KEY}" },
  models: {
    "deepseek/deepseek-v4.1-flash-uncensored": { name: "DeepSeek V4.1 Flash (Uncensored)", attachment: true, reasoning: true, tool_call: true, modalities: { input: ["text", "image"], output: ["text"] }, limit: { context: 1048576, output: 65536 } },
    "zai-org/glm-5.3-flash-uncensored": { name: "GLM-5.3 Flash (Uncensored)", attachment: true, reasoning: true, tool_call: true, modalities: { input: ["text", "image"], output: ["text"] }, limit: { context: 1048576, output: 65536 } },
    "zai-org/glm-5.3-uncensored": { name: "GLM-5.3 Flagship (Uncensored)", reasoning: true, tool_call: true, modalities: { input: ["text"], output: ["text"] }, limit: { context: 1048576, output: 131072 } },
    "moonshotai/kimi-k3.1-pro-uncensored": { name: "Kimi K3.1 Pro 2.8T (Uncensored)", attachment: true, reasoning: true, tool_call: true, modalities: { input: ["text", "image"], output: ["text"] }, limit: { context: 1048576, output: 131072 } }
  }
};
fs.writeFileSync(file, JSON.stringify(cfg, null, 2) + "\n");
console.log("Updated " + file);
' && curl -fsS "https://api.bf16.ai/v1/models" -H "Authorization: Bearer $BF16_API_KEY" | head -c 240 && echo ""
  1. 1

    Add bf16.ai as a Custom OpenAI-Compatible Provider in OpenBot

    Open OpenBot Desktop (or openbot.run/app connected to your self-hosted server), go to Settings → Providers, add a Custom OpenAI-Compatible endpoint, set Base URL to https://api.bf16.ai/v1, and paste your key below.

    Base URL: https://api.bf16.ai/v1
    API Key:  $BF16_API_KEY
  2. 2

    Assign Per-Teammate Models & Context Compaction

    Edit your OpenBot agent card and select deepseek/deepseek-v4.1-flash-uncensored for browser/routine workers or zai-org/glm-5.3-uncensored for engineering leads. OpenBot reads the 1,048,576-token window directly from GET /v1/models so context compaction triggers only near 1M tokens.

  3. 3

    Optional: Run OpenBot Headless in Docker with bf16 Environment

    When running OpenBot on a home server or VPS with Docker, keep the default seccomp sandbox enabled and pass BF16_API_KEY into the container environment.

    curl -fsSLO https://raw.githubusercontent.com/nightly-labs/openbot/main/docker/seccomp.json
    docker run -d --name openbot --restart unless-stopped \
      --security-opt seccomp=seccomp.json --security-opt no-new-privileges:true \
      --shm-size 1g --stop-timeout 60 -v openbot-data:/data \
      -e BF16_API_KEY="$BF16_API_KEY" \
      ghcr.io/nightly-labs/openbot:latest
OpenBot — Settings → Providers → OpenAI-Compatible
INSPETOR DE CONFIGURAÇÃO
Workspace Settings / Model Providers / Custom Endpoint

Referência Exata de Campos

Provider Type
OpenAI-Compatible (Custom Endpoint)
Display Name
bf16.ai Uncensored Cluster
API Base URL
https://api.bf16.ai/v1

Include /v1 suffix so /chat/completions and /models auto-discovery resolve.

API Key
sk-bf16-v1-••••••••••••

Use a dedicated per-host key with a daily USD spend cap.

Default Teammate Model
deepseek/deepseek-v4.1-flash-uncensored

1M context · Vision + Tools · $0.26 / $1.00 per 1M tokens.

Architect / Deep Review Model
zai-org/glm-5.3-uncensored

1M context · Flagship multi-file code & security analysis.

OpenBot also auto-detects models configured in ~/.config/opencode/opencode.json and ~/.hermes/config.yaml on the same machine.

Modelos Recomendados por Função

Combine modelos Flagship para planejamento com modelos Flash para subtarefas e capturas de tela.

FunçãoModel IDMotivoUSD / 1M Tokens
Browser & Computer-Use Loop (Default)deepseek/deepseek-v4.1-flash-uncensoredFast tool dispatch + native image input for embedded browser and cua-driver desktop screenshots across 30+ step queues.$0.26 in / $0.045 cached / $1.00 out
Lead Teammate / Codebase Refactoringzai-org/glm-5.3-uncensoredHigh tool-schema discipline for multi-file edits, security code reviews, and delegating tasks across channel chats.$1.35 in / $0.25 cached / $4.20 out
2.8T Visual Architecture & Long Researchmoonshotai/kimi-k3.1-pro-uncensoredFlagship multimodal reasoning when teammates synthesize 1M-token repositories alongside complex UI mockups or diagrams.$1.95 in / $0.28 cached / $6.90 out

Como saber se funcionou

  • Open the model picker on any OpenBot teammate and confirm deepseek/deepseek-v4.1-flash-uncensored and zai-org/glm-5.3-uncensored appear with 1M context.
  • Send a test task in an OpenBot channel; confirm the settled call appears in bf16.ai/dashboard/logs within seconds.
  • curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"

Proteções de Produção e Limites de Gasto

  • OpenBot teammates run with full workspace access after initial consent — always run untrusted targets inside the Docker container or a dedicated VM user.
  • Mint a dedicated sk-bf16-v1-* key for OpenBot in /dashboard/keys with a Daily Spend Cap (for example $5.00/day) so a stuck FIFO queue or browser retry loop cannot drain your balance.
  • Keep human approval gates enabled for external emails, git pushes to production remotes, and any financial actions.

Erros comuns

Sintoma
Model picker returns an empty list when adding the endpoint.
Causa
The Base URL was entered as https://api.bf16.ai without the /v1 path prefix.
Solução
Set the OpenAI-compatible Base URL to https://api.bf16.ai/v1.
Sintoma
Linux AppImage exits immediately on Ubuntu 24.04 or Debian 13.
Causa
AppArmor restricts unprivileged user namespaces required by the Electron renderer sandbox.
Solução
Install build/linux/openbot.apparmor into /etc/apparmor.d/openbot and reload AppArmor — never pass --no-sandbox.
Sintoma
Parallel teammates hit HTTP 429 concurrency_limit_exceeded.
Causa
Multiple OpenBot teammates dispatched simultaneous turns exceeding L0 Free concurrency (3 concurrent requests).
Solução
Pause background channels during L0 evaluation, or top up $10+ in /dashboard/credits to unlock L1 (10 concurrent) or L2 (30 concurrent) immediately.

Ainda não instalou?

curl -fsSL https://raw.githubusercontent.com/nightly-labs/openbot/main/scripts/install-server.sh | sudo bash
Documentação oficial