Current Virgo commands
Use the official virgo entrypoint supplied by the installation guide. This reference describes the current Hub/Host CLI, not the earlier src/cli.ts design. init, onboard, persona and workspace are not current commands. Do not substitute them for installation, enrollment or ordinary Seat setup.
Select the context
Installation commands select a root, machine and instance. Installed operations start with virgo --directory <installation-directory>; use the exact directory returned by installation, not an inferred encoded path. Management commands use that installation's administration authority. Seat operations use its configured authenticated provider session; they cannot turn an empty installation into a Seat.
The configured client discovers the operations the serving runtime actually exposes. Optional Memory, Knowledge, scheduling and installation operations may be absent. Their presence in this source reference does not enable a capability.
virgo --directory <installation-directory> --help
virgo --directory <installation-directory> message send --help
This help covers discovered application operations. Separate installer and management parsers are listed below; a top-level virgo --help is not a substitute for authenticated operation discovery in the current product CLI.
Installation and release selection
The official stable launcher selects the checksum-verified current release for ordinary setup/update and dispatches installed operations to that exact target's verified CLI. See the installation guide for the published acquisition and its separate runtime-readiness boundary.
virgo --help
virgo install --mode local --root <absolute-root> --machine <machine>
virgo upgrade --mode local --root <absolute-root> --machine <machine> --instance local-hub
virgo upgrade --mode host --root <absolute-root> --machine <machine> --instance host
The product installer also takes explicit verified release/distribution inputs. Use those for a bounded exact-release operation or restored-release recovery; they are not required metadata-decoding steps for ordinary setup:
virgo install --mode local --root <absolute-root> --machine <machine> \
--release <verified-release-id> --github-repository virgo-codes/virgo-release
virgo install --mode host --root <absolute-root> --machine <machine> --instance host \
--hub-url <existing-HTTPS-Hub> --account <account> --network local \
--advertised-url http://127.0.0.1:58612/ --api-port 58612 \
--enrollment-credential-file <absolute-private-file> \
--release <verified-release-id> --github-repository virgo-codes/virgo-release
virgo upgrade --mode host --root <absolute-root> --machine <machine> --instance host \
--release <verified-release-id> --github-repository virgo-codes/virgo-release
virgo rollback --mode host --root <absolute-root> --machine <machine> --instance host \
--plan-id <retained-upgrade-plan-id>
virgo rollback --mode local --root <absolute-root> --machine <machine> --instance local-hub \
--plan-id <retained-upgrade-plan-id> --github-repository virgo-codes/virgo-release
Install and Host upgrade accept exactly one distribution: --github-repository, --manifest-directory <absolute-directory>, or --bundle <absolute-directory>. The local Hub installer/update uses GitHub or a manifest directory. Artifact verification, Hub enrollment and provider login are separate boundaries. Host upgrade supports --activate false for a staged, stopped installation; this is not a connected runtime. Host rollback resolves the retained plan/cache, restores the predecessor and leaves it stopped. Local Hub rollback uses its retained plan and distribution; it likewise does not reactivate the service.
Enrollment, connection and native authority
Run enrollment on the Hub and deliver only the private file through your established custody route:
virgo --directory <hub-installation> hub enrollment provision \
--account <account> --machine <machine> --credential-output <absolute-private-file>
virgo --directory <hub-installation> hub address --network tailscale
virgo --directory <host-installation> host status
virgo --directory <host-installation> host hub retarget \
--hub-url <new-HTTPS-Hub> --enrollment-credential-file <absolute-private-file>
For common Claude native claims, the Hub administrator reads policy revision and replaces the complete intended claim grant:
virgo --directory <hub-installation> hub native-session policy status \
--account <account> --machine <machine> --host-id <returned-host-id> --provider claude
virgo --directory <hub-installation> hub native-session policy set \
--account <account> --machine <machine> --host-id <returned-host-id> --provider claude \
--claim-vsp <canonical-same-account-VSP> --send-to any --receive-external false \
--expected-revision <observed-revision>
Repeat --claim-vsp for each Seat in the complete replacement grant. Status returns revision/digest, not grant content; retain your submitted grant. Do not replace a concurrent grant by merely substituting a newer revision. This policy selector supports Claude; Codex uses its module-owned adapter/principal path.
Organisation and role profiles
The installation administrator registers Spaces and repositories; a role name is not a separate persona command. Repository profiles select provider/model pairs.
virgo --directory <hub-installation> space add <space>
virgo --directory <hub-installation> space list
virgo --directory <hub-installation> repo add <space>/<repo> --url <repository-URL> \
--lead-provider <provider> --lead-model <model> \
--deputy-provider <provider> --deputy-model <model>
virgo --directory <hub-installation> repo show <space>/<repo>
virgo --directory <hub-installation> repo list <space>
virgo --directory <hub-installation> repo configure <space>/<repo> \
--reviewer-provider <provider> --reviewer-model <model> \
--tester-provider <provider> --tester-model <model>
Lead and Deputy pairs are required on add. Configure changes role profiles, not repository URL. Reviewer/Tester pairs are explicit when those workers are used; provider/model availability is not established by accepting profile text.
For an already-prepared provider adapter, management exposes:
virgo --directory <installation> adapter list
virgo --directory <installation> adapter add --file <absolute-provider-settings-file>
virgo --directory <installation> adapter remove <adapter-id>
Provider modules validate those settings and credentials. This advanced adapter route is not a per-Seat JSON prerequisite for ordinary native Seat add.
Ordinary Seat setup and preserved conversations
Provider sign-in and displayed provider/OS consent precede native acceptance.
virgo --directory <host-installation> agent add <canonical-VSP> \
--provider claude --model <selected-model> --workspace <absolute-existing-workspace>
virgo --directory <host-installation> agent status <canonical-VSP>
virgo --directory <host-installation> agent stop <canonical-VSP>
virgo --directory <host-installation> agent start <canonical-VSP>
virgo --directory <source-host> agent handoff <canonical-VSP> --output <absolute-private-handoff>
virgo --directory <destination-host> agent add \
--handoff <absolute-private-handoff> --workspace <absolute-restored-workspace>
Use --provider codex with its selected model for Codex. Add reuses the provider module's discovery/setup/MCP/Memory hooks and keeps its journal on retry. --executable and --backend resolve actual discovery ambiguity. If allocation is unknown, retain the original session and use --session <that-session>; do not allocate another. A handoff carries metadata, not provider history or workspace contents; restore those through the existing custody route. Claude's current development-channel confirmation remains a provider prompt on launch/resume. A process waiting at that prompt is not native delivery readiness.
Verification and recovery
virgo --directory <host-installation> host status
virgo --directory <installation-directory> installation inspect \
--machine <machine> --component agent_host --instance <instance>
virgo --directory <provider-installation> status
virgo --directory <provider-installation> message delivery --message-id <message-id>
Host status proves process/protocol and fresh Hub association. Seat status proves the selected authenticated session and reports delivery state. Neither replaces a real native message/reply. Preserve unresolved outcomes; repeat only the same supported operation with its retained identity. Do not blindly replay a message or replace a provider because delivery evidence is absent.
The low-level native-session prepare|apply|status|rollback, provider-hooks prepare|apply|reverse, mcp-transition prepare|apply|reverse, and native-session principals preview|prepare|apply|rollback transactions have exact plan/preimage contracts. They are diagnostic/advanced operations, not additional mandatory steps after ordinary agent add. Use their specific operation documentation when needed.
Capability setup and bundled skills
These are public installed-release operations, not retired design verbs. The product executable handles knowledge-setup, capability-setup and skill before its ordinary --directory parser. The stable launcher therefore consumes the verified installed-target selector before forwarding these commands; passing the entire --directory argv to the product executable would not work for these three. This path selects the exact installed release, not the official current release.
Use the published launcher interface:
virgo --directory <hub-installation> capability-setup --mode local \
--root <absolute-root> --machine <machine> --instance local-hub --plan-id <prepared-plan-id>
virgo --directory <host-installation> capability-setup --mode host \
--root <absolute-root> --machine <machine> --instance host \
--selection <absolute-private-selection> --github-repository virgo-codes/virgo-release
virgo --directory <host-installation> knowledge-setup --mode host \
--root <absolute-root> --machine <machine> --instance host \
--repository <space>/<repo> --github-repository virgo-codes/virgo-release
virgo --directory <installation> skill list
virgo --directory <installation> skill install --root <absolute-root>
virgo --directory <installation> skill install <bundled-skill-name> --root <absolute-root>
The launcher consumes the target selector for these root-dispatched operations and forwards the remaining command to that verified installed executable. Setup target flags must agree with the selected installation. Local Knowledge uses knowledge-setup --mode local with the same prepared-plan form. Local plan apply and Host --plan-id recovery accept no distribution option. Fresh Host setup requires exactly one installed-release source: the shown GitHub repository, --manifest-directory <absolute-directory> or --bundle <absolute-bundle>. Host selection is a private Memory/Knowledge JSON selection, not a provider login or an authorisation grant. Hook-enabled plans additionally require their exact --provider-hooks <absolute-private-receipt-selection>; preserve those journals and the supported compensation path. Capability application can stop/restart the selected runtime and needs the appropriate coordinated operational authority. Skills install the required bundle when name is omitted. Pass the selected installation's root explicitly for a custom root; omitting --root selects ~/virgo and works only when that is the selected root. Their parser accepts only the name and optional root, so machine/instance selectors belong to launcher target verification and must not leak into the skill argv.
adapter-native and daemon are implementation entrypoints, not ordinary user setup. The historical channel doctor command is unsupported; use the current verification/recovery commands above and distinguish process, authority and actual provider-delivery evidence.
Application operation reference
The following signatures are generated from the current common typed contract. <value> stands for the schema's value, not a literal argument. Object and array values are JSON; boolean and integer values use their schema types. All commands are prefixed by the installation context. The runtime's authenticated discovery can remove unavailable families from help.
virgo --directory <installation> seat claim --vsp <value> [--operation-id <id>]
Claim one complete VSP. Establish eligible registration, ownership and attachment in one operation.
virgo --directory <installation> status [--operation-id <id>]
Read the authenticated session's current Seat and delivery state.
virgo --directory <installation> message send --to-vsp <value> --text <value> [--original-message-id <value>] [--operation-id <id>]
Commit a message from the current Seat. Committed does not mean delivered. Reuse the operation ID for a retry. To relay a message you can read (such as a person's request), pass its ID as originalMessageId: its exact text, author and time are attached as the original and text is your own note, which may be empty.
virgo --directory <installation> message reply --message-id <value> --text <value> [--operation-id <id>]
Commit a reply to an exact received message ID. Reuse the operation ID for a retry.
virgo --directory <installation> seat release [--operation-id <id>]
Release the authenticated session's current Seat.
virgo --directory <installation> message get --message-id <value> [--operation-id <id>]
Read one message visible to the current Seat.
virgo --directory <installation> message list [--limit <value>] [--before <value>] [--after <value>] [--since <value>] [--until <value>] [--include-body <value>] [--operation-id <id>]
List current-Seat messages newest first. Bodies require includeBody=true.
virgo --directory <installation> message delivery --message-id <value> [--operation-id <id>]
Read delivery evidence for one message visible to the current Seat.
virgo --directory <installation> chat card send --to-vsp <value> --card <value> [--reply-to-message-id <value>] [--operation-id <id>]
Send a provider-neutral card, optionally quoting one inbound logical message.
virgo --directory <installation> chat file send --to-vsp <value> [--artifact <value>] [--file-path <value>] [--media-type <value>] [--reply-to-message-id <value>] [--operation-id <id>]
Send one file to a chat destination: either an artifact already uploaded, or an exact absolute path the serving Host reads itself. Optionally quotes one inbound logical message.
virgo --directory <installation> chat message edit --message-id <value> --text <value> [--operation-id <id>]
Edit one settled provider chat message previously sent by the current Seat.
virgo --directory <installation> chat reaction set --message-id <value> --reaction <value> [--operation-id <id>]
Set or remove a provider reaction on one visible logical chat message.
virgo --directory <installation> artifact upload --to-vsp <value> --name <value> --media-type <value> --bytes-base64 <value> [--retention-seconds <value>] [--operation-id <id>]
Upload bounded base64 bytes for an exact chat destination and receive an immutable artifact reference.
virgo --directory <installation> artifact get --artifact <value> [--operation-id <id>]
Read bounded artifact bytes when the current Seat is an exact participant.
virgo --directory <installation> cron create --schedule <value> [--to-vsp <value>] --text <value> [--enabled <value>] [--operation-id <id>]
Create one durable interval or five-field cron wakeup for the current Seat.
virgo --directory <installation> cron list [--operation-id <id>]
List durable wakeups owned by the current Seat.
virgo --directory <installation> cron update --id <value> [--schedule <value>] [--text <value>] [--enabled <value>] [--expected-revision <value>] [--operation-id <id>]
Update one owned durable wakeup, optionally with revision fencing.
virgo --directory <installation> cron pause --id <value> [--operation-id <id>]
Pause one owned durable wakeup.
virgo --directory <installation> cron delete --id <value> [--operation-id <id>]
Delete one owned durable wakeup.
virgo --directory <installation> incident open --key <value> --source-message-id <value> --acknowledger <value> --notice <value> --responders <value> --escalation <value> [--operation-id <id>]
Open one incident for the current Seat from the exact alert message it received. Records the acknowledger notice, the responder handoffs and the escalation due at the deadline before sending any of them; the Hub sends each once and escalates at the deadline (armed at the notice's first send attempt) unless the incident is acknowledged or resolved first. The same key from the same source with the same routing and content returns the same incident, even from a redelivered copy of the alert; a different source, routing or content under the key, or an alert already used by another key, is a conflict.
virgo --directory <installation> incident acknowledge --key <value> --message-id <value> [--operation-id <id>]
Acknowledge an incident with the exact message the acknowledger sent this Seat. The Hub verifies it is a human message from the acknowledger's destination, received after the incident opened, then withdraws the escalation not yet sent. Investigation continues.
virgo --directory <installation> incident accept --key <value> --message-id <value> [--operation-id <id>]
Record a responder's acceptance: the exact reply this Seat received to that responder's handoff for this incident.
virgo --directory <installation> incident resolve --key <value> --evidence-message-id <value> --text <value> [--operation-id <id>]
Resolve an incident, citing the later post from the same alert source that shows recovery. Withdraws unsent escalation and sends one recovery update to each recipient that may have been reached.
virgo --directory <installation> incident get --key <value> [--operation-id <id>]
Read one incident of the current Seat by key, with each send and its provider outcome.
virgo --directory <installation> incident list [--operation-id <id>]
List the current Seat's incidents that are not resolved.
virgo --directory <installation> memory search [--query <value>] [--scope <value>] [--kinds <value>] [--since <value>] [--until <value>] --order <value> --limit <value> [--cursor <value>] [--operation-id <id>]
Search this Seat's memory index and receive small entries, never whole records.
virgo --directory <installation> memory timeline --anchor <value> --before <value> --after <value> [--scope <value>] [--operation-id <id>]
Read the entries around one memory anchor, within the anchor's own Seat.
virgo --directory <installation> memory get --ids <value> [--scope <value>] [--operation-id <id>]
Read exact memory records by id, re-authorized on this call, with one explicit outcome per id.
virgo --directory <installation> memory context select --message-id <value> --kind <value> [--operation-id <id>]
Select one committed Hub message as this managed provider session's bounded current task or important decision.
virgo --directory <installation> memory context clear [--operation-id <id>]
Clear this managed provider session's selected current Memory context without changing its Ponytail mode.
virgo --directory <installation> knowledge status --repository <value> --view <value> [--operation-id <id>]
Read durable index and refresh state for one authorized repository view; stale and failed attempts retain the prior generation.
virgo --directory <installation> knowledge refresh --repository <value> --view <value> --selection <value> [--operation-id <id>]
Queue an authorized registered repository refresh. This mutation accepts no path, command, engine flag, or model setting; preserve the operation ID on retry.
virgo --directory <installation> knowledge search --sources <value> --query <value> --limit <value> [--cursor <value>] [--operation-id <id>]
Run bounded literal case-insensitive search across explicitly authorized repository views. Results carry exact generation, revision and coverage; opaque continuation refuses a changed generation.
virgo --directory <installation> knowledge neighbors --repository <value> --view <value> --generation <value> --node <value> --limit <value> [--cursor <value>] [--operation-id <id>]
Read one bounded hop from an exact authorized generation. A changed generation returns conflict instead of mixing revisions.
virgo --directory <installation> knowledge source --repository <value> --view <value> --generation <value> --node <value> --path <value> --start-line <value> --end-line <value> [--operation-id <id>]
Open bounded exact lines from a retained source snapshot after repository authorization and evidence matching. Working-copy paths are never consulted.
virgo --directory <installation> knowledge memories --repository <value> --view <value> --generation <value> --node <value> --limit <value> [--operation-id <id>]
List original memory event references explicitly projected to one authorized node and exact generation. Memory authorization is rechecked for every event.
virgo --directory <installation> installation inspect --machine <value> --component <value> --instance <value> [--operation-id <id>]
Inspect one installed component.
virgo --directory <installation> installation prepare --target <value> --release <value> [--capabilities <value>] [--operation-id <id>]
Verify a requested release and persist an installation plan, optionally with Memory, Knowledge or Conversation interpreter choices merged into the same configuration change.
virgo --directory <installation> installation apply --plan-id <value> [--operation-id <id>]
Apply a previously prepared installation plan by ID.
virgo --directory <installation> installation rollback --plan-id <value> [--operation-id <id>]
Roll back a previously prepared installation plan by ID.
virgo --directory <installation> installation remove --machine <value> --component <value> --instance <value> --expected-revision <value> [--operation-id <id>]
Remove one installed component at its observed revision.
virgo --directory <installation> knowledge setup prepare --repository <value> --host <value> [--languages <value>] [--lead <value>] [--root <value>] [--account <value>] [--exclude <value>] [--operation-id <id>]
Register an existing catalog repository with Knowledge on the remote Host that holds it: the Host verifies the repository and offers its half, and this Hub prepares its own plan with the identical binding. Apply this plan first, then the Host's own (the pinned Host Knowledge setup described above).
virgo --directory <installation> knowledge readers prepare --repository <value> --view <value> --readers <value> --expected-binding-digest <value> [--operation-id <id>]
Replace the complete reader set of one existing Knowledge source, fenced by the binding digest it was reviewed against. Readers are Seat addresses of the source's Account or grants it already holds; refreshers, policy, root and Host are unchanged, so reading never grants refresh. Returns before, after and the inverse replacement. Apply this Hub's plan first, then, for a remote source, the Host's own (the pinned Host Knowledge setup described above).