본문으로 건너뛰기
모든 클라이언트
Open-Source Grok Bot Alternative · Docker1M Context · ZDR

Rakazo

Self-hosted open-source alternative to Grok Bot with isolated Docker computers, scheduled routines, group chats, and explicit approval models.

기본 URL
https://api.bf16.ai/v1
프로토콜
openai-completions

대상 사용자
Teams and indie operators self-hosting Rakazo (elie222/rakazo) who want persistent bots with dedicated Linux desktops backed by uncensored 1M-context models.

아키텍처 및 bf16.ai 연동 구조

Rakazo Docker Compose stack (API, Worker, Sandbox Supervisor, Team Computers) wired to api.bf16.ai/v1
Rakazo isolates every bot inside its own Docker Team Computer (browser + shell + desktop) while the Worker streams uncensored reasoning and vision calls through api.bf16.ai/v1.

Rakazo (elie222/rakazo) is a full-stack Apache-2.0 self-hosted alternative to Grok Bot, OpenAI Dots, and OpenClaw. Every bot gets its own isolated Docker computer (complete with Chrome, terminal, and virtual screen you can watch or take over live), weekday/webhook routines, multi-bot @mention group chats, and configurable human-in-the-loop Approvals (Never ask, Auto, or Ask).

In unattended Rakazo routines — such as nightly staging QA checks, internal admin form automation, security log triage, or multi-language localization pipelines — mainstream hosted APIs frequently emit prose refusals instead of tool calls, halting the Graphile/Postgres run queue. Connecting Rakazo to bf16.ai gives your bots orthogonal weight-edited models that execute instructions reliably while Rakazo’s own Settings → Approvals rules and restricted Docker egress enforce hard operational boundaries.

Rakazo natively supports operator-managed OpenAI-compatible gateways via RAKAZO_LOCAL_MODELS_* in .env (exposing models to every bot across Web, Desktop, iOS, and Android) as well as per-user connections in Settings → Models.

명령어에는 $BF16_API_KEY가 표시됩니다. 로그인하면 내 실제 키가 자동으로 채워집니다.

원커맨드 빠른 설정

One-Command Rakazo Docker Bootstrap & bf16 Injection

Downloads the official Rakazo Compose installer (--prepare-only), backs up .env if present, injects bf16.ai as the default 1M-context Vision + Reasoning provider across all bots, and launches the stack.

export BF16_API_KEY="sk-bf16-v1-..."
mkdir -p rakazo && cd rakazo
curl -fsSLO https://raw.githubusercontent.com/elie222/rakazo/main/infra/compose/install-images.sh
bash install-images.sh --prepare-only
cp .env .env.bak
python3 -c '
import os, pathlib
p = pathlib.Path(".env")
lines = [l for l in p.read_text().splitlines() if not l.startswith((
  "RAKAZO_LOCAL_MODELS=", "RAKAZO_LOCAL_MODELS_URL=", "RAKAZO_LOCAL_MODELS_API_KEY=",
  "RAKAZO_LOCAL_CONTEXT_WINDOW=", "RAKAZO_LOCAL_MAX_TOKENS=", "RAKAZO_LOCAL_VISION_MODELS=",
  "RAKAZO_LOCAL_REASONING_MODELS=", "PI_DEFAULT_PROVIDER=", "PI_DEFAULT_MODEL=", "PI_DEFAULT_CREDENTIALS="
))]
models = "deepseek/deepseek-v4.1-flash-uncensored,zai-org/glm-5.3-flash-uncensored,zai-org/glm-5.3-uncensored,moonshotai/kimi-k3.1-pro-uncensored"
vision = "deepseek/deepseek-v4.1-flash-uncensored,zai-org/glm-5.3-flash-uncensored,moonshotai/kimi-k3.1-pro-uncensored"
lines += [
  f"RAKAZO_LOCAL_MODELS={models}",
  "RAKAZO_LOCAL_MODELS_URL=https://api.bf16.ai/v1",
  f"RAKAZO_LOCAL_MODELS_API_KEY={os.environ["BF16_API_KEY"]}",
  "RAKAZO_LOCAL_CONTEXT_WINDOW=1048576",
  "RAKAZO_LOCAL_MAX_TOKENS=65536",
  f"RAKAZO_LOCAL_VISION_MODELS={vision}",
  f"RAKAZO_LOCAL_REASONING_MODELS={models}",
  "PI_DEFAULT_PROVIDER=local",
  "PI_DEFAULT_MODEL=deepseek/deepseek-v4.1-flash-uncensored",
  "PI_DEFAULT_CREDENTIALS=host",
]
p.write_text("\n".join(lines) + "\n")
' && bash install-images.sh
  1. 1

    Prepare the Rakazo Compose Stack

    Run the official image installer with --prepare-only so it generates .env with random Postgres, Better Auth, and Sandbox Supervisor secrets before starting containers.

    mkdir -p rakazo && cd rakazo
    curl -fsSLO https://raw.githubusercontent.com/elie222/rakazo/main/infra/compose/install-images.sh
    bash install-images.sh --prepare-only
  2. 2

    Configure bf16.ai in rakazo/.env

    Declare all four uncensored models, enable Vision screenshot tools via RAKAZO_LOCAL_VISION_MODELS, and enable thinking effort controls via RAKAZO_LOCAL_REASONING_MODELS.

    rakazo/.env
    RAKAZO_LOCAL_MODELS=deepseek/deepseek-v4.1-flash-uncensored,zai-org/glm-5.3-flash-uncensored,zai-org/glm-5.3-uncensored,moonshotai/kimi-k3.1-pro-uncensored
    RAKAZO_LOCAL_MODELS_URL=https://api.bf16.ai/v1
    RAKAZO_LOCAL_MODELS_API_KEY=$BF16_API_KEY
    RAKAZO_LOCAL_CONTEXT_WINDOW=1048576
    RAKAZO_LOCAL_MAX_TOKENS=65536
    RAKAZO_LOCAL_VISION_MODELS=deepseek/deepseek-v4.1-flash-uncensored,zai-org/glm-5.3-flash-uncensored,moonshotai/kimi-k3.1-pro-uncensored
    RAKAZO_LOCAL_REASONING_MODELS=zai-org/glm-5.3-uncensored,deepseek/deepseek-v4.1-flash-uncensored,moonshotai/kimi-k3.1-pro-uncensored
    PI_DEFAULT_PROVIDER=local
    PI_DEFAULT_MODEL=deepseek/deepseek-v4.1-flash-uncensored
    PI_DEFAULT_CREDENTIALS=host
  3. 3

    Launch Rakazo & Connect Optional Per-User Keys in Web UI

    Run bash install-images.sh to start Postgres, API, Worker, Web, and the Docker Computer Supervisor, then open http://127.0.0.1:5173. Individual users can also add personal keys under Settings → Models → OpenAI-Compatible (toggle "Supports images" ON).

    bash install-images.sh
Rakazo (http://127.0.0.1:5173) — Settings → Models
설정 필드 인스펙터
Account Settings / Models / OpenAI-Compatible & Deployment .env

핵심 설정값 대조표

RAKAZO_LOCAL_MODELS_URL
https://api.bf16.ai/v1

Reachable by both rakazo-api and rakazo-worker containers.

RAKAZO_LOCAL_MODELS_API_KEY
sk-bf16-v1-••••••••••••

Sent as Authorization: Bearer; redacted automatically from bot run logs.

RAKAZO_LOCAL_CONTEXT_WINDOW
1048576

Unlocks full 1M window; keep RAKAZO_LOCAL_MAX_TOKENS=65536 (< 1/4 window).

RAKAZO_LOCAL_VISION_MODELS
deepseek/deepseek-v4.1-flash-uncensored,zai-org/glm-5.3-flash-uncensored,moonshotai/kimi-k3.1-pro-uncensored

Required so Rakazo enables screenshot Computer Use tools on those models.

RAKAZO_LOCAL_REASONING_MODELS
zai-org/glm-5.3-uncensored,deepseek/deepseek-v4.1-flash-uncensored,moonshotai/kimi-k3.1-pro-uncensored

Exposes Low / High / Max thinking effort selector in the Rakazo composer.

Settings → Approvals Mode
Auto / Ask (Purchases always require human approval)

Let Rakazo policy gates — not model refusals — govern side effects.

Prefer UI setup without editing .env? Open http://127.0.0.1:5173 → Settings → Models → Add OpenAI-Compatible Connection and toggle "Supports images" ON.

역할별 권장 모델 구성

복잡한 설계는 플래그십 모델로, 병렬 서브에이전트와 스크린샷은 Flash 모델로 분리하세요.

역할모델 ID권장 사유USD / 1M 토큰
Team Computer & Scheduled Routines (Default)deepseek/deepseek-v4.1-flash-uncensoredAccepts desktop screenshots + structured browser/shell tool calls at high speed and $0.045/1M cached input across multi-bot group chats.$0.26 in / $0.045 cached / $1.00 out
Auto-Review Approval & Engineering Botzai-org/glm-5.3-uncensoredStrong analytical judgment for Rakazo Settings → Models → Approval model verification and deep code/audit tasks.$1.35 in / $0.25 cached / $4.20 out
Executive Dashboards & Multimodal Researchmoonshotai/kimi-k3.1-pro-uncensored2.8T MoE flagship when Rakazo bots build shareable live Pages/dashboards from large documents and browser captures.$1.95 in / $0.28 cached / $6.90 out

제대로 작동하는지 확인하는 방법

  • Open http://127.0.0.1:5173, create a bot, and verify the composer lists deepseek/deepseek-v4.1-flash-uncensored with thinking effort controls.
  • Ask the bot to open its Team Computer browser and summarize a page; confirm screenshot tool calls succeed and settle in bf16.ai/dashboard/logs.
  • curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"

운영 가드레일 및 예산 격리

  • Keep SANDBOX_COMPUTER_EGRESS=auto (restricted internet-only egress) enabled on Linux hosts so Docker bot computers cannot probe private LAN or cloud metadata IPs.
  • Set MAX_TOOL_CALLS_PER_TURN=40 in .env and assign a Daily Spend Cap on your sk-bf16-v1-* key to bound unattended cron routines.
  • Leave RAKAZO_LOCAL_PROMPT_CACHE unset (default on) — bf16.ai automatically discounts cached prefix tokens up to 82% across multi-step Pi agent turns.

자주 발생하는 오류

증상
Bot says screenshot / computer vision tools are unavailable.
원인
The model ID is missing from RAKAZO_LOCAL_VISION_MODELS (or "Supports images" was left unchecked in Settings → Models).
해결
Add deepseek/deepseek-v4.1-flash-uncensored,zai-org/glm-5.3-flash-uncensored,moonshotai/kimi-k3.1-pro-uncensored to RAKAZO_LOCAL_VISION_MODELS and restart api + worker.
증상
Changes to rakazo/.env have no effect on running bots.
원인
Rakazo API and Worker read .env only at container startup.
해결
Re-run bash install-images.sh (it preserves .env and recreates updated containers).
증상
403 INVALID_ORIGIN when opening Rakazo over Tailscale or LAN.
원인
Rakazo restricts auth and API calls to WEB_ORIGIN (http://127.0.0.1:5173) by default.
해결
Add your Tailscale HTTPS or LAN URL to RAKAZO_EXTRA_AUTH_ORIGINS in .env and restart.

아직 설치하지 않으셨나요?

mkdir -p rakazo && cd rakazo && curl -fsSLO https://raw.githubusercontent.com/elie222/rakazo/main/infra/compose/install-images.sh && bash install-images.sh
공식 문서