Skip to main content

CLI reference

Two console scripts exist at the pinned revision. This reference enumerates the command surface proven from the pinned source registrations — every row below corresponds to a command registration in the cited modules. Per-flag semantics live in each command's --help and in the synchronized quickstarts; this page does not restate flags it cannot cite.

market — the buyer CLI

Ships in arkhai-core-buyer; domain plugins register their command groups onto the core app at startup. market plugins lists installed domains, and market --version prints the core version plus one line per installed domain with its contract version. Core source: core_buyer/cli.py.

Core

CommandPurpose
market --versionPrint core and installed-domain versions (local).
market --helpList registered command groups (local).
market pluginsList installed buyer market domains.
market listing list · showGeneric Registry browsing (raw JSON, --filter name=value passthrough) when no installed domain claims listing.

VM compute plugin (arkhai-vms-buyer)

Registered in domains/vms/buyer/cli.py:

CommandPurpose
market listing list · showBrowse marketplace listings.
market config path · show · get · set · init-userInspect or edit buyer.toml.
market logs runs · show · tailInspect past buy/negotiate run logs (JSONL).
market buyDiscover, negotiate, escrow, settle, and poll to a ready VM; --from <run_id> resumes.
market negotiateRun the negotiation stage against a listing.
market settleEscrow-create, settle, and poll for an already-agreed run (--from).
market serviceService-stage operations for a deal.
market escrow create · reclaim · showBuyer-side escrow lifecycle.
market chain checkSanity-check chain config (eth_getCode against configured addresses).
market network join · get-peersJoin an operator's ZeroTier overlay and list peers.

API-credits plugin

Registered in domains/apicredits/buyer/cli.py under one credits group:

CommandPurpose
market credits listing list · showBrowse API-credit listings.
market credits buyBuy prepaid credits; settlement output includes the issued bearer secret.
market credits negotiateNegotiation stage for an API-credit listing.
market credits settleSettlement stage for an agreed API-credit run.

The Inference API credits cookbook shows a complete market credits buy invocation with its flags.

market-storefront — the seller admin CLI

Ships with the VM storefront; runs inside (or against) the storefront deployment. Source: market_storefront/cli.py.

CommandPurpose
market-storefront serveRun the storefront server.
market-storefront publish --inventory <csv>Post listings from the agent database to configured Registries.
market-storefront portfolio import-csvImport local resource portfolio data.
market-storefront config path · show · get · set · init-userInspect or edit the storefront configuration.
market-storefront logs …Inspect storefront stage events from the local SQLite log.
market-storefront escrow claim · refundSeller-side escrow lifecycle.
market-storefront network …Join an operator's ZeroTier overlay and list peers.

Boundaries

  • This page proves command existence and purpose from source registrations at the pin; it does not claim flag-level stability across revisions.
  • Both CLIs act only under the invoking participant's authority and configuration — there is no shared or hosted execution surface.
  • market config show and market-storefront config show serialize the full loaded configuration and can expose wallet private keys or Registry tokens. Do not paste, share, or attach their output. Prefer config get <key> for one deliberately selected non-secret value.