Skip to main content
The agora CLI lets you interact with Agora402 sellers directly from your terminal — no code required. Run any command via npm run buyer -- <command> from the repository root. It reads your buyer credentials and network settings from your .env file automatically, so all you need to provide are the command-specific flags. Pass --json to any command to receive machine-readable output suitable for piping into scripts or other tools.

agora discover

Lists every seller registered on the HCS registry, or a single seller if you pass --seller. For each seller, the command prints the name, version, UAID, payTo account, base URL, quotes endpoint path, and every endpoint with its accepted assets and pricing model.OptionsExample
Use --seller http://localhost:4402 during development to bypass the registry and talk directly to a locally running seller. This is useful before you have published a listing to a registry topic.