Skip to main content
All clients
Rust CLI & Desktop Agent · MCP1M Context · ZDR

Goose

Open-source Rust engineering agent (Linux Foundation / Block) with MCP extensions, local shell automation, and multi-file edits.

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

Who this is for
Engineers running autonomous local refactors, test loops, and MCP toolchains in Goose CLI or Desktop without mid-run safety interruptions.

Architecture & Why Pair with bf16.ai

Goose Rust CLI and Desktop agent routing OpenAI-compatible tool calls through https://api.bf16.ai/v1 to 1M-context uncensored models
Goose connects via OPENAI_HOST=https://api.bf16.ai with strict JSON tool calling, 1M context, and zero prompt retention.

Goose is a high-speed Rust autonomous coding agent backed by the Linux Foundation that orchestrates local shells, git diffs, browsers, and MCP servers end to end.

Pointing Goose at bf16.ai via its OpenAI-compatible environment variables unlocks DeepSeek V4.1 Flash Uncensored Fast ($0.28/$1.12) for rapid tool loops and 2.8T Kimi K3.1 Pro Uncensored ($1.95/$6.90) for deep architectural audits — with zero false refusals on security code or legacy systems.

Commands show $BF16_API_KEY. Sign in to fill in your own key automatically.

ONE-COMMAND SETUP

One-Command Goose Session with bf16.ai

Starts an isolated Goose session wired to DeepSeek V4.1 Flash Uncensored Fast without touching your existing provider profile.

export BF16_API_KEY="sk-bf16-v1-..."
GOOSE_PROVIDER=openai \
OPENAI_HOST="https://api.bf16.ai" \
OPENAI_API_KEY="$BF16_API_KEY" \
GOOSE_MODEL="deepseek/deepseek-v4.1-flash-uncensored-fast" \
goose session
  1. 1

    Export your bf16.ai API key

    Mint a dedicated key in your console with an explicit daily USD spend cap for autonomous Goose runs.

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

    Configure Goose to point at api.bf16.ai

    Set OPENAI_HOST to the origin without /v1 and select a 1M-context uncensored model.

    GOOSE_PROVIDER=openai \
    OPENAI_HOST="https://api.bf16.ai" \
    OPENAI_API_KEY="$BF16_API_KEY" \
    GOOSE_MODEL="deepseek/deepseek-v4.1-flash-uncensored-fast" \
    goose session
Goose CLI & Desktop — ~/.config/goose/config.yaml
SETTINGS & CONFIG INSPECTOR
Settings → Provider → OpenAI-Compatible (Custom Host)

Exact Field-by-Field Reference

GOOSE_PROVIDER
openai
OPENAI_HOST
https://api.bf16.ai
OPENAI_API_KEY
sk-bf16-v1-••••••••••••
GOOSE_MODEL
deepseek/deepseek-v4.1-flash-uncensored-fast

Or switch to moonshotai/kimi-k3.1-pro-uncensored for 2.8T planning

Goose reads OPENAI_HOST without a trailing /v1 and appends /v1/chat/completions automatically.

Recommended Uncensored Model Tiering

Route complex planning to Flagship models and high-frequency subagents or screenshots to Flash.

Workflow RoleModel IDWhy This ModelUSD / 1M Tokens
Fast MCP & Shell Tool Loopsdeepseek/deepseek-v4.1-flash-uncensored-fastLow-latency tool execution and $0.055/1M cached prefix reads keep multi-turn Goose sessions fast and cheap.$0.28 in / $0.055 cached / $1.12 out
2.8T Deep Architecture & Auditsmoonshotai/kimi-k3.1-pro-uncensoredHandles 1M-token cross-repository design reviews and multimodal screenshot debugging.$1.95 in / $0.28 cached / $6.90 out

How to know it worked

  • Goose boots into the interactive prompt showing provider: openai and model: deepseek/deepseek-v4.1-flash-uncensored-fast.
  • Ask Goose to inspect your git status and verify the tool call appears in your bf16.ai request logs.
  • curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"

Production Guardrails & Budget Isolation

  • Use Goose’s approval mode (GOOSE_MODE=approve) when running destructive shell commands or database migrations.
  • Assign a per-key daily spend cap in /dashboard/keys before running long unattended Goose recipes.

Common errors

Symptom
Goose returns HTTP 404 on chat completions.
Cause
OPENAI_HOST included /v1 when Goose already appends OPENAI_BASE_PATH=v1/chat/completions.
Fix
Set OPENAI_HOST="https://api.bf16.ai" (no /v1 suffix).

Do not have it yet?

brew install block-goose-cli
Official docs