Control-plane conventions
Control commands run after the Host is up. They call the Host over HTTP; agent processes stay on the Host. Finish Start the Host and Connect to a Host, then export VIBEX_TOKEN.
Command shape:
npx vibex <resource> <action> --flag valueExample: npx vibex conversation create --workspace … --agent …. Resources are conversation, workflow, project, workspace, session, file, git, agent. Actions are create, list, show, and so on. Tokens that start with -- are flags. A flag with no value, or whose next token also starts with --, is treated as on. Other flags take the following token as a string. A leftover token without -- raises Unexpected argument.
Help for each resource
These three forms print usage and skip HTTP:
npx vibex conversation --help
npx vibex conversation help
npx vibex conversation -hReplace conversation with workflow, project, workspace, session, file, git, or agent. Top-level help is npx vibex help. Per-topic help is also npx vibex help conversation.
npx vibex … --json
Print the result as one-line JSON for jq. Without the flag, objects and arrays still print as indented JSON; a bare string prints as-is.
npx vibex agent list --json
npx vibex conversation show --conversation CONV_ID --jsonnpx vibex … --operation-id
Supply an idempotency key. The default is a generated UUID. When a script retries the same business operation, reuse one --operation-id so the Host treats both calls as one write.
npx vibex conversation send \
--conversation CONV_ID \
--workspace WORKSPACE_ID \
--agent AGENT_ID \
--text "continue" \
--operation-id 11111111-1111-1111-1111-111111111111npx vibex … --timeout
Applies to wait commands only, in seconds, default 600. If the status is still non-terminal, the CLI raises Timed out after 600s.
npx vibex conversation wait --conversation CONV_ID --timeout 120
npx vibex workflow wait --run RUN_ID --timeout 1800Call contract
Every request carries operation_id. --conversation, --workspace, --agent, --id, and --run take stable Host IDs, usually UUIDs. Obtain IDs with npx vibex project list, npx vibex workspace list, npx vibex agent list, or the matching create, then pass them onward.
A missing required flag raises Missing required --name. An unknown action raises Unknown … action. HTTP failures exit non-zero and print code: message. If the Host is down or VIBEX_URL is wrong, the error comes from the network layer.

