blobhub-worker, runs Claude Code, Codex and Antigravity on your own machines, inside your
guardrails. It attaches to a workflow session, runs a coding agent for each thread a caller marks pending, and posts
the agent’s messages, tool calls and questions back to the thread as items, on the same record as everything else.
Each agent runs under a permission posture: a person approves each gated call, a policy decides most of them, or
nothing is gated. The worker speaks the public REST and WebSocket APIs as the user whose API key it carries, and needs
no inbound connection. It connects to two addresses: the REST API (api.blobhub.io) for everything it reads and
writes, and the realtime API (realtime.blobhub.io) over a WebSocket, where it listens for what happens in a session.
If the realtime connection is unavailable it falls back to polling the REST API, so a restrictive network slows the
worker down without stopping it.
Install
The agent CLIs are separate
The worker drives coding agents; it does not ship them. Asession_agent_harness section needs the CLI
for whichever agent.type its threads use already installed on the host
and already signed in:
The worker checks only that the command resolves on
PATH. A missing one fails the thread with
AGENT_EXECUTABLE_NOT_FOUND; an installed-but-unauthenticated one passes that check and then stalls the
turn instead — see
Session Agent Harness → Reference.
Quickstart
config.yaml: each entry is a section, and each section’s
job_type decides how the worker handles it. The minimum config is one section that declares a name and a
job_type, plus whatever fields that job type requires. The Configuration page is the complete
config.yaml reference.
The live dashboard
Runblobhub-worker start --tui for a live, read-only view of every section and thread. The dashboard
reflects what the worker is doing — you drive threads from the BlobHub web UI, not from here.
The --tui dashboard — one panel per section, plus a recent-errors strip.
- The header shows the worker version, the user it acts as, the instance id, the clock, and how
many agent slots are busy (
2/4 agents). - Each section is its own panel titled
session_agent_harness · <name>, listing its threads withState,Agent, the resumableSessionid, and theLast Event. The└line shows the resolvedmodel · effort · perm; the selected thread is highlighted. - State is color-coded live:
active (turn)/active (idle)green,pendingyellow,completeddim,failedred. - recent errors collects the latest warnings and failures. Press
qfor a graceful shutdown.
What’s in this section
The pages in Overview describe the worker as a product, independent of any specific job type:- Concepts — the mental model: process, sections, job types, sessions, threads, and agents.
blobhub-worker login,blobhub-worker start— CLI reference.- Configuration — the complete
config.yamlyou write. - Reference — process-level exit codes and generic limitations.

