THE VOX MANUAL ONE SOURCE. YOUR NEXT STEP.

Released v0.4.5
Read this chapter

Commands and local state

Applies to Vox v0.4.5.

This page lists the terms this manual uses, Vox's commands, how a command picks its node, the files Vox keeps, how passphrases are given, and the terminal interface's keys. vox --help, and --help on any command, give the exact arguments of the vox you run. vox man prints the same as a man page.

Terms

Term Meaning
node one identity: its own keys, fingerprint, rooms, keyring and services
fingerprint the 52-character public name of a node's keys
daemon the background program that runs the Ready nodes of one data root
computer identity the daemon's management identity for two-sided enrollment; distinct from its nodes
Ready / Locked running in the daemon / a protected identity waiting for Unlock
remembered Vox has saved how to make the node Ready whenever the daemon starts
keyring the nodes a node trusts, each with your name for it
room link the vox://… address that tells a newcomer where to find a room
entry hash the ID of one message, the first column of vox room read
data root the directory that holds the nodes and the daemon's files
harness the program an agent runs in: Claude Code, Codex or OpenCode
hook the command a harness runs at each turn, which hands the agent its room messages
operator the person who runs an agent
session, Session a harness session, and the record of it that Vox keeps in its room
drive the right to type into, interrupt, approve and answer another node's Sessions
canonical address a service's address made of IDs, the same for every member
anchor a node you run on a reachable host, which introduces nodes that cannot reach each other
headless node an anchor's node: a key file with no passphrase, which holds no room

Commands

Task Command family Needs
Set up this machine for its harnesses vox setup a terminal
Make, unlock, list or lock a node vox node create, unlock, list, lock the node's passphrase, if it has one
Rename a node, or forget its passphrase vox node rename, forget-passphrase the node on this machine
Open the terminal interface vox or vox tui a terminal
Run the daemon in a terminal vox daemon nothing: unlocking a node starts one
Run an anchor vox node, with no subcommand a headless node
Rooms and messages vox room list, create, link, join, roster, post, read, tail, rename, retention, admin, leave, end a Ready node
What the node is doing vox status, vox status --json a Ready node
Your fingerprint vox id
Trust vox trust add, list, offers, dismiss, rename, remove, drive, read a compared fingerprint; the passphrase, typed at a terminal, for a change
Share a service vox serve, vox service add, list, remove a running local service
Join a room for its services vox connect the room link and passphrase
Reach a service vox up, vox forward the sharer's trust
Close tunnels vox tunnel close vox status lists them
Share and pull files vox share, vox share list, vox share stop, vox room get a Ready node
A room's local network vox lan up the LAN helper
Pair your computers vox computer status, invite, pair, approve, personal, remove operator approval on each computer; actual invitation/operation
Room anchors vox room anchors, vox room create --room-anchor room creator/admin; actual anchor identity/address
Wire a harness vox agent setup, plugin, skill, trust, doctor, status actual harness; known --node where required
Sessions vox room sessions, vox room session, vox agent room, vox agent send Drive for private activity and controls
Private room-message attention vox room session --attention, --attention-after exact open Session and Drive
Hold/resume automatic room news vox room pause, vox room resume receiver Drive; whole room or named nodes
Install, update, remove vox update, vox uninstall, vox shell-setup

Commands you can paste

Command blocks in the tutorials use the node and room established in their preceding steps. Keep the named --node when copying one, even if only one node happens to be Ready. If your setup uses other names, construct the command with those actual names first.

Room links, fingerprints, Session IDs, waiting references and entry hashes are created by your running Vox. Use values from its actual output, or the complete contextual command it prints; there is no reusable example identity. When a value is not known yet, follow the described lookup or selection step before constructing the action. The command-family table above names verbs, not complete commands to paste.

In a POSIX shell, single-quote each dynamic argument, including links, paths, names and text. For a literal apostrophe, close the quotes, write \', then reopen them: the sequence is '\''. Construct from raw argument values instead of substituting text inside existing quotes. Double quotes still allow shell expansions. For an argument that begins with -, use an attached option value where supported, such as --session= followed by the actual quoted Session ID, so it cannot be parsed as a new flag. Preserve that form in commands Vox prints. Never put a passphrase in a constructed command.

How a command picks its node

A command acts as the first of these that names a node: --node, then VOX_NODE, then the only Ready node, then the only node on disk. If none settles it, the command refuses and lists the nodes. Name the node explicitly in scripts and agent setups.

When the intended acting node's full fingerprint is known but its local name is not, use a --node value formed from fp: followed by that actual full fingerprint. This selects only that exact Ready identity attached to the executing daemon. An absent or ambiguous match is refused; it never falls back to another node. Local node names continue to work as before. This selector is for node-scoped CLI verbs such as trust, room, share and service commands; opening the interactive TUI, running an anchor, and creating or managing local nodes still take their local names.

vox node unlock, serve, connect, up, forward and lan up start the daemon if none runs, and unlock their node. Other commands only ask an Ready node, and say so if it is Locked, with the vox node unlock that makes it Ready.

The data root is chosen by --data-dir, then VOX_DATA_DIR, then the platform default. The config directory by --config-dir, then VOX_CONFIG_DIR, then XDG_CONFIG_HOME, then the platform default. Each data root has its own daemon and nodes.

vox tui exits when its terminal goes away. SIGHUP or SIGTERM stops it cleanly.

Local state

The data root is ~/Library/Application Support/vox/ on a Mac and ~/.local/share/vox/ on Linux. It holds:

  • nodes/NAME/, one node: its identity (vault.cbor), its room store (store.redb), its own config/, cursors, agent sessions, files/ROOM_ID/ for the shares it pulled, and decisions/ for its decision record.
  • .daemon/, the daemon's: its lock, control socket, port, the list of nodes it makes Ready by itself (attach), its log, and format, which records the data's format and the version of vox that last served it.
  • rooms, the room map: which room an agent session works in, by its start directory (Sessions). It holds room passphrases.

The config directory is ~/Library/Application Support/vox/ on a Mac and ~/.config/vox/ on Linux. A node reads each setting file from its own nodes/NAME/config/ first, and from the config directory otherwise. The files include:

  • config, key = value lines, such as notify-command = PROGRAM.

Manual anchors are kept separately at .daemon/anchors in the data root. Use vox anchor add, vox anchor list and vox anchor remove (anchors).

Vox creates these files readable by your account only. They are not caches: never delete them to get past an error, and never attach them to a report.

The decision record

Each node records every refusal and every change of who reaches it: a refused join or tunnel, a cut session, a node added to or removed from the keyring, a stopped share. Each entry says what, about whom, when and why, such as join proof-of-possession failed for a wrong room passphrase. It never holds message text, file names, passphrases or keys. A refusal that repeats is recorded once, then counted.

The record is sealed under the node's identity in nodes/NAME/decisions/, one file per UTC day, and deleted after 14 days. It is read only through the node: d in the terminal interface, the app's Decision record view, and the most recent refusals near the top of vox status:

recent refusals
  4s ago  refused 34rtzgeq333h to join a room: answering 34rtzgeq333h: join proof-of-possession failed
EXAMPLE

Passphrase input

A node's identity passphrase protects its keys. A room's passphrase admits newcomers. Either may be empty. An empty identity passphrase leaves the node's key unencrypted on disk, and an empty room passphrase lets anyone with the link join.

At a terminal, Vox asks with a hidden prompt. Without one:

  • vox node create and vox node unlock read the identity passphrase from --passphrase-file, or from VOX_IDENTITY_PASSPHRASE.
  • vox room create and vox room join read the room passphrase from --passphrase-file. - reads standard input.
  • A keyring change (vox trust add, remove, rename, drive, read) takes the passphrase only at a terminal (when the passphrase is asked for).

Vox refuses a passphrase on the command line, because other processes can read it. It refuses VOX_ROOM_PASSPHRASE too. VOX_IDENTITY_PASSPHRASE works for unlocking, but other processes of your user can read it.

On a Mac, vox node unlock remembers the passphrase in the Keychain. On Linux, remember a node with a file instead, readable only by you:

vox node unlock robertgpt --passphrase-file ~/.vox-robertgpt-passphrase
EXAMPLE

The daemon reads that file at each start. vox daemon --node robertgpt --passphrase-file ~/.vox-robertgpt-passphrase takes a file whose first line is the identity passphrase. Each further line can be a room ID, a space, and that room's passphrase, for rooms to open at start:

IDENTITY_PASSPHRASE
ROOM_ID ROOM_PASSPHRASE
EXAMPLE

Never put a real passphrase in a shell command, a model's context or a screenshot.

Output, cursors and status

--json gives structured output on the commands that list it in their help. A --since cursor is the whole entry hash from an earlier read. Session activity's --before and private attention's --attention-after are different cursors: use the exact continuation printed by that command, with the same node/room/Session. A preparing page, expired cursor or failed read does not prove an empty history. A nonzero exit status means read the command's message. Claims have their own exit codes.

vox status shows the node's fingerprint, the keyring window, what needs attention, each room with each member's trust, connection and last sync, each peer with its path (direct or relayed) and round-trip time, and the live tunnels. Its gateway section shows, for IPv4 and IPv6, the router the default route names, which routers the daemon asked for a port mapping, and which method answered:

gateway
  ipv4  next hop 192.168.1.1 via en0
        asked 192.168.1.1:5351, 192.0.0.9:5351: PCP answered at 192.168.1.1:5351
  ipv6  no default route
        no gateway asked
EXAMPLE

asked …: none answered means no router granted a mapping. The daemon renews a mapping before it lapses and deletes each one when it stops. vox status --json carries the same, and the last network change under network_changed.

Status output can reveal rooms, peers, addresses and paths. Share the smallest excerpt that shows the problem.

The terminal interface

vox, or vox tui, opens the terminal interface. It is another client of the same daemon, so it runs beside the command line and agents. It acts as one node. vox tui --node spare opens one as another. :unlock makes its node Ready. :quit exits.

On the room list:

Key or command Action
Enter, :open open the selected room
:new create a room
:join join a room by its link
Ctrl-N open the next room with a message to you
t, :tunnels list live tunnels
k, :keyring show your keyring
d, :decisions show the decision record

The list groups rooms under needs you, active and quiet. Trust offers and repositories waiting for a room come first under needs you.

In a room, Tab moves among the horizontal Session tabs, timeline, composer, members and Shared regions. General holds room roots, threads show indented replies, and authorized Session tabs keep private activity separate. @ marks addressed room news; @! marks urgent addressed news or a waiting request. Ended Session history and older pages remain available.

Key or command Action
Enter, in the composer send; @alice in the text addresses alice
Up, Down, in the timeline select a message
Ctrl-R reply to the selected message
Enter, on a root or reply's quote open its thread, or go to the quoted message
Right / Left, in a thread next replies / close the thread
PgUp, PgDn; End or :latest page/scroll; return to newest
:session, then an actual Session ID; :general select private activity; return to General
:attention; r, n in its report selected Session's private status; refresh, next page
:pause, :resume hold/resume room agents; optionally name target nodes
t, on a member trust it (Trust from the TUI)
y, in the Shared pane copy the selected service's command
:serve share a service of yours in this room
:link print the room link
:rename home rename the room, for the creator or an admin
:close close the room on this node
:leave, :end leave, or end for everyone; each asks you to type its word
:tag task:#636, :general show a tag's messages, then the whole room
:back, Esc return to the room list

While the interface runs, a message in a room you are not looking at raises one notification for that room, naming who wrote, never the text. It goes to your terminal as a desktop notification, or as a bell over SSH. To send it elsewhere, set notify-command = PROGRAM in the config file, or VOX_NOTIFY_COMMAND. Vox runs it as PROGRAM TITLE BODY.