Signet CLI
Tools that agents use to work with Signet.
This page is the reference for the signet command. It is a single binary, so no Node.js is needed to run it. Most examples add --output json, so that the result is machine-readable: one JSON object on stdout, with progress on stderr. There is no --json.
Install
curl -fsSL https://signetpass.ai/install.sh | shTo link an agent while installing, copy the command from your SignetPass in Trellis. It ends with an install code:
curl -fsSL https://signetpass.ai/install.sh | sh -s -- <INSTALL_CODE>On Windows, use PowerShell:
$env:QDAY_CODE='<INSTALL_CODE>'; irm https://signetpass.ai/install.ps1 | iexThe installer needs no sudo and writes nothing outside your home folder. Open a new terminal afterwards. If the shell says signet: command not found, add the install folder to your path: export PATH="$HOME/.qday-agent/bin:$PATH".
signet --version # installed version
signet --help # every command; also works after any command and runs nothing| Variable | Effect |
|---|---|
QDAY_AGENT_VERSION | Install that version instead of the latest one. |
QDAY_AGENT_INSTALL_DIR | Where the binary goes. Default ~/.qday-agent/bin. |
QDAY_AGENT_NO_MODIFY_PATH=1 | Leave your shell configuration files alone. |
QDAY_AGENT_REQUIRE_SIGNATURE=1 | Refuse to install unless the release signature verifies. |
Status and health
signet doctor # are the services up, and is the stablecoin configuration consistent?
signet doctor --output json # the same, machine-readable (includes the agent's chain)
signet me # who the stored sign-in belongs to, and whether it still works
signet sandbox status # which environment and chain the CLI points at
signet sandbox on # switch to sandbox mode (test network, test tokens)
signet sandbox off # back to live modeSign in
An agent registered with an install code needs no sign-in. Use login when you manage things from the command line yourself.
signet login --email you@example.com # sends an 8-character code to your email
signet login --email you@example.com --code <CODE> # consume it and save the session
signet logout # clear the local sessionAgents
One folder is one agent. The agent works from its folder and any folder inside it, and has its own sessions and budget.
signet signetpass list # your SignetPasses and their ids
signet signetpass use <SIGNETPASS_ID> # the SignetPass that new agents on this machine belong to
signet register agent --code <INSTALL_CODE> --here # give this folder an agent, linked to a SignetPass
signet register agent --signetpass <SIGNETPASS_ID> # the same, from a SignetPass id
signet agents # every agent on this machine, with its name and folder
signet open <name> # open your AI in that agent's folder| Option | Description |
|---|---|
--code | The install code shown in Trellis. It picks the SignetPass. Valid for 24 hours, for one agent. |
--signetpass | The SignetPass to link the agent to. An agent belongs to one SignetPass for its whole life. |
--here | Make an agent for this directory alone, ignoring any parent folder’s agent. |
--no-wait | Print the pairing code and return. Run the command again to keep waiting. |
--renew | Ask Trellis for a fresh credential before the current one expires. |
--vendor, --model, --context | Describe the AI that runs in this folder. --list-vendors lists the known vendors. |
When you are not signed in, the command prints a pairing code and waits. Trellis shows the same code in an Approve agent dialog. Check that they match, then approve. The approval gives this agent its own credential. It ends after 7 days without use (never while the agent has a session running) and after 90 days at most. Revoking the agent in Trellis ends the credential at once.
Spending sessions
A spending session limits what an agent can spend. The agent generates the session key on this machine and sends only the address, so the wallet service never sees a private key and cannot sign for the session. Approve each session in Trellis.
signet session \
--signetpass <SIGNETPASS_ID> \
--per-tx 0.5 \
--total 1 \
--expires-in 86400 \
--task-summary "Discover paid services and execute one approved API call"| Option | Description |
|---|---|
--signetpass | The SignetPass that the session spends from. |
--per-tx | Maximum spend for a single transaction, in USD8. |
--total | Maximum total spend for the session, in USD8. |
--expires-in | Session lifetime in seconds. At most 30 days. |
--task-summary | Human-readable description of what the agent will do. |
All of --per-tx, --total and --expires-in are required. An agent can have as many sessions as you like, one after another, but only one is active at a time: a new session waits as pending and, once approved, replaces the current one.
signet session pull # fetch a session you created in Trellis for this agent
signet session pull --wait-seconds 120 # wait while you are still approving it
signet sessions # list sessions, with their limits and status
signet sessions --signetpass <SIGNETPASS_ID> # only one SignetPass's sessionsThe agent keeps every session key in its folder. If you lose that data, the session’s remaining budget stays locked until the session expires or you remove its permission with signet uninstall.
Stop a session
signet revoke <SESSION_ID> # soft revoke: this client stops paying
signet uninstall --signetpass <SIGNETPASS_ID> --session <SESSION_ID> # remove the permission on chainrevoke only makes this client stop paying. It does not stop a leaked key. uninstall removes the permission on chain and is the only stop for a leaked key. Every operation is charged for its own gas in USD8, uninstall included, so keep a small reserve in the SignetPass. You can also revoke a session or an agent in Trellis.
Search services
signet bazaar searches the Bazaar Discovery Service, the catalog that merchants upload from the Merchant Portal. It needs no sign-in, and it pays nothing: it only finds what to buy and where.
signet bazaar search weather # five at a time, best match first
signet bazaar search --type api # only pay-per-call API products
signet bazaar search protein --max-price 20 --sort price_asc --currency usd8 --chain qday
signet bazaar search --offset 5 # the next five
signet bazaar merchants summit # who sells
signet bazaar search bars --merchant <MERCHANT_ID> # narrow a search to a merchant you trust
signet bazaar show <PRODUCT_ID> # one product in full| Option | Description |
|---|---|
--type | api or ecommerce. |
--category, --tag | Browse by category or tag. |
--max-price, --currency, --chain, --pay-to | Filter by price, payment currency, blockchain or receiving address. |
--merchant | Only products of one merchant. |
--location | A country code (ISO 3166-1 alpha-2). |
--sort | relevance, newest, price_asc or price_desc. |
--limit, --offset | Page size and position. |
--environment | sandbox or production. |
A flag the command does not know is refused, never ignored, so a misspelt filter cannot return an unfiltered list. Each result carries a buy address. What you do with it depends on the product type:
- An
apiproduct’s address answers402itself, so it goes straight tosignet pay --url. - An
ecommerceproduct’s address (<shop>/dp/<id>) puts the item in the shop’s cart. The purchase is the shop’s own login, cart, checkout and payment, which the Signet shop skill walks the agent through. Do not runsignet payon that address.
Price and stock are what the merchant last uploaded. The 402 that the seller answers with is what signet pay signs against, so the listing never decides what is paid.
Pay
signet pay --url https://merchant.example.com/api/e2e-weather --max 0.05| Option | Description |
|---|---|
--url | The merchant URL. The seller’s 402 sets the price and the payee. |
--max | Refuse any price above this amount, before anything is signed. |
--session | Which session pays. Defaults to a usable one on this agent’s SignetPass. |
--no-propose | With no usable session, stop (error code no_session) instead of proposing a new session for you to approve. For unattended runs. |
What happens: the CLI calls the URL, the merchant answers 402 with the price, the agent signs with its session key, the merchant asks the facilitator to verify and settle the payment onchain, and the merchant returns the content with a settlement receipt.
The seller is untrusted input, so the CLI checks the terms before it signs. It refuses a payment scheme other than qday:erc4337, another chain, another token, malformed payment details, and any price above --max. It reads the session’s own limits from the chain. It does not check who is paid: the seller chooses the payee, and what must be bounded is the amount, which is --max plus the session’s limits.
Credit
For prepaid products, the same flags apply:
signet credit topup --url <TOPUP_URL> --max 5 # buy a package of credit (a `pay` pointed at the top-up address)
signet credit pay --url <RESOURCE_URL> # spend credit on a resource that also takes creditcredit pay also accepts --max-credits (a ceiling, by default the item’s own cost), --session and --valid-for (seconds that the signed authorization stays usable; default 60, at most 600).
Skills for your AI
signet skills install # interactive
signet skills install --scope project --agents claude # scripted: project or global, for claude, cursor, codex, clineThe skills teach your AI how to search the Bazaar, pay for a service and shop at an e-commerce merchant with signet.
Configuration
The CLI reads its service addresses from the environment preset it was built for. Environment variables always win over the preset, so a stale value can aim the CLI at the wrong service. If signet doctor shows an address you did not expect, check your shell and any .env file.