Alpha. Very early development.
Hexbot

CLI

The native hexbot command starts the daemon, runs it as a service, manages bots, devices and Hex Connect, lists rooms, and sends one-shot messages.

A Headless install puts the command in ~/.local/bin/hexbot. It always runs the daemon version that is currently installed, so it keeps working after an update.

hexbot --help
hexbot --version

Commands use ~/.hexbot by default. Set HEXBOT_HOME to select another data directory. Use the same directory for the server and administrative commands; a pairing code from another home will not authenticate with your daemon.

Start a daemon

hexbot serve

The default port is 9119. A fresh daemon listens on localhost. You can choose a numeric bind address and port:

hexbot serve --host 127.0.0.1 --port 9119

Turn on “Allow other devices” only when another device needs access: hexbot lan on turns it on, whether or not the daemon is running, and hexbot lan off turns it off. hexbot serve --lan and --no-lan do the same as they start; without either flag, the saved setting applies. A daemon run by the app or by the service is already running; stop it before you start one by hand.

When started directly in an interactive terminal, the daemon prints a one-time browser sign-in link. It does not print one when supervised as a service or redirected to a log.

Usage data

hexbot usage-data on lets the daemon share anonymous counts with the Hexbot team, and hexbot usage-data off stops it and deletes its install ID. It is off until you turn it on. Usage data lists every event.

Check the daemon

hexbot status
hexbot status --json

Shows whether the daemon is running, its version and port, its LAN addresses when “Allow other devices” is on, its Tailscale address when tailscale ip -4 answers, its Hex Connect hostname, whether the service is installed and running, and whether the sandbox is available. It works before the daemon has ever started.

hexbot diagnostics

Prints what the running daemon measured since it started, as JSON: how long it took to launch, its processes and their CPU and memory over the last hour, load, prompt and database cache hit rates, recent runs and requests with their timings, and the failures it saw. The app shows the same in Settings, Advanced, Diagnostics, where Copy report copies it.

Run the daemon as a service

hexbot service install
hexbot service start
hexbot service stop
hexbot service restart
hexbot service status
hexbot service logs
hexbot service logs -f
hexbot service uninstall

install writes a per-user service and starts it: a launchd agent at ~/Library/LaunchAgents/app.hexbot.daemon.plist on macOS, a systemd user unit at ~/.config/systemd/user/hexbot.service on Linux. These are the same files the app writes for “Start the daemon at login”. The service starts the daemon at login and restarts it if it stops, and it lets an app on another computer update the daemon. On Linux, install also enables lingering so the daemon keeps running after you log out. status --json prints installed, running, manager, and file. logs -f follows the log until you press Ctrl-C. uninstall stops the service and removes its file; your data stays.

Set up an installed runtime

hexbot setup

Installs the code tools (uv, Python 3.11, and the voice tools) into ~/.hexbot and writes the hexbot command in ~/.local/bin, or repairs them. If ~/.local/bin is not on your PATH, it prints the line to add. --no-code-tools skips Python and the voice tools, and --json prints progress as one JSON object per line. The installer runs hexbot setup --activate from a downloaded daemon runtime, which also checks every file against the runtime’s manifest and makes it the current daemon; you rarely need it yourself.

Create a pairing code

hexbot pair

This prints a reachable address, one-time code, pairing link, and terminal QR code. The code works once and expires after ten minutes. Creating it does not turn on LAN access. Enable LAN first if another device needs to reach the daemon.

Enter the address and code in the app or on the browser sign-in page. Do not publish the code. See Pairing and LAN for device setup and troubleshooting.

Manage bots

hexbot bots list
hexbot bots create writer --description "Reviews drafts and edits copy"

Creation accepts --title, --description, --persona, --provider, --model, and --reasoning-effort, each followed by its value. The description helps teammates choose whom to ask. Use the app to configure provider credentials before sending a message.

To remove a bot:

hexbot bots delete writer

Deletion removes the bot’s profile, conversations, memory, and scheduled jobs. Stop any active work first. This operation is permanent. The primary bot can’t be deleted.

To create HexBot, the primary bot, on a daemon that has none, or to make an existing bot primary instead:

hexbot bots primary
hexbot bots primary writer

There is one primary bot, and it stays. hexbot bots list shows it first, with "primary": true.

Heartbeat

Every bot’s heartbeat can be managed without the app:

hexbot heartbeat off                                # or on, for every bot
hexbot heartbeat status owl                         # checklist, next run, recent runs
hexbot heartbeat now owl                            # run one now
hexbot heartbeat set owl "- Has Sam replied about the lease?"

The checklist is also a plain file, profiles/BOT/HEARTBEAT.md in the daemon’s data directory. status, now, and set need the daemon running.

Computers

hexbot computers                           # every computer, what each offers, and its bots
hexbot computers give vm owl               # owl works on the bots' computer
hexbot computers take host owl             # owl no longer works on this computer
hexbot computers vm off                    # stop using the bots' computer
hexbot computers host desktop on           # Computer Use here: share this screen (sets up Cua first)
hexbot computers forget device:ID          # one of your computers: take it from every bot
hexbot plugins assign connector computer_use owl fox   # owl and fox see and use their computers' screens

A computer is vm (the bots’ computer), host (this computer, where the daemon runs) or device:ID (one of your computers). hexbot computers lists the IDs. A computer you give a bot is one of its environments: its terminal runs there. Computer Use is a plugin: with it, a bot also sees and uses the screens of its environments where they are shared. One of your computers shows up once Hexbot there has Let bots work here on, and only that app can turn it, or Computer Use here, on. forget works only on one of your computers. Taking back an always allowed app is in the app, under Settings, Computers.

Send a message and list rooms

Quote the message so the shell passes it as one argument:

hexbot send writer "Summarize the unfinished work in my notes"
hexbot rooms list

The named bot uses its configured model, soul, skills, and memory. When a daemon is already running, the CLI sends the request to it. If none is running, one-shot chat can start the runtime for that request. Interactive approvals and clarification questions are answered in the terminal.

The native CLI lists rooms; create rooms and manage their members in the app or browser.

List and assign plugins

hexbot plugins                                   # connectors, MCP servers, skills and their bots
hexbot plugins list --bot writer                 # the same, with writer's switches
hexbot plugins assign connector mcp:files writer researcher
hexbot plugins assign skill release-notes writer
hexbot plugins assign package linear writer      # a server and its skills together

assign gives the plugin to exactly the bots you name and takes it from your other bots. A plugin that is not set up yet can be taken away but not given. Set up connectors in the app or browser first.

List and revoke devices

hexbot devices list
hexbot devices revoke "DEVICE_ID"

Replace DEVICE_ID with an ID from the list. Revoking a device invalidates its token and ends its access, and takes that computer and its allowed apps from every bot. Pair it again to restore access.

Manage Hex Connect

hexbot connect --name "Studio Mac"
hexbot connect status
hexbot connect disconnect

Registration prints an address and code for browser approval. status shows the registration and tunnel. disconnect stops the tunnel, clears local credentials, and asks Connect to revoke the registration; if Connect cannot be reached, revoke the daemon from your daemons page. The daemon keeps working locally.

See Hex Connect for browser and app sign-in, remote access, and self-hosting the service.

Source and custom homes

For a source binary, point commands at the same home as the server:

HEXBOT_HOME="$PWD/.hexbot" backend/hexbot-core/target/debug/hexbot bots list
HEXBOT_HOME="$PWD/.hexbot" backend/hexbot-core/target/debug/hexbot pair

The development runner may choose a different port; CLI commands read the running daemon’s address from that home. Manage provider keys, connectors, budgets, and bot settings in the app. Legacy administration commands for the former Python daemon are not part of this CLI.