CLI Overview

The Hubify CLI gives terminal-first researchers full access to labs, experiments, agents, papers, and compute.

The hubify CLI is a first-class interface to Hubify Labs. Every feature available in the web UI and desktop app is accessible from the terminal. Terminal-only users are not second-class citizens — the CLI is a complete research IDE.

Quick Start

# Install
npm install -g @hubify/cli

# Authenticate
hubify auth login

# Create a lab
hubify lab create --name "my-research" --template blank

# Start the TUI (terminal user interface)
hubify

Architecture

The CLI operates in two modes:

Command Mode

Execute single commands and get results:

hubify experiment run --name "mcmc-test" --pod h100
hubify status
hubify logs EXP-001 --follow

TUI Mode

Launch the full terminal UI — a mirror of the web application:

hubify

The TUI includes:

  • Captain View dashboard
  • Orchestrator chat panel
  • Agent activity feed
  • Experiment list with live status
  • Log viewer

Command Structure

hubify <command> <subcommand> [options]
CommandDescription
hubify authAuthentication (login, logout, token)
hubify labLab management (create, list, use, delete)
hubify experimentExperiment lifecycle (run, status, logs, rerun)
hubify paperPaper pipeline (create, draft, review, compile)
hubify agentAgent management (add, update, list, metrics)
hubify taskTask management (list, create, assign, complete)
hubify podGPU pod management (create, list, ssh, stop)
hubify deployDeployment (site deploy, preview, rollback)
hubify logsLog viewing (experiment logs, agent logs)
hubify reviewReview workflow (trigger review, view results)
hubify standupStandup commands (trigger, list, history)
hubify siteLab site management (theme, pages, domain)
hubify knowledgeKnowledge base (search, get, list, add)
hubify dataData management (embed, export, open)
hubify chatChat with the orchestrator directly
hubify statusQuick status overview

Global Options

OptionDescription
--lab <slug>Target a specific lab (overrides active lab)
--jsonOutput as JSON instead of table
--quietSuppress non-essential output
--verboseShow detailed output
--helpShow help for a command
--versionShow CLI version

Auto-Launch Sessions

When you run hubify without arguments, it launches four terminal sessions:

  1. hubify — TUI mirror of the web UI
  2. claude — Claude Code session synced to the orchestrator
  3. pi — Multi-agent activity feed
  4. bash — Standard shell in the lab's working directory

Configuration

# View config
hubify config show

# Set default lab
hubify config set default-lab bigbounce

# Set default GPU
hubify config set default-gpu h100

# Set output format
hubify config set output json

Config is stored at ~/.hubify/config.json.

← Back to docs index