goloco is a thin command-line layer over @goloco/sdk. It never handles a wallet key or signs a transaction. Commands that affect money print the prepared action for your wallet to approve — the same non-custodial rule as the API and the SDK.
Install and run
The CLI isn’t published to a package registry yet. Run it from a Goloco source checkout:GOLOCO_API_URL is optional and defaults to https://api.goloco.xyz.
Commands
--criteria for each acceptance criterion. List commands accept --cursor and emit the following token as next_page.
Idempotency
Every side-effecting command requires--idempotency-key. Reuse the same value for a logical retry — a network blip or a timeout is safe to retry with the same key; the server returns the original result instead of repeating the action.
Task windows
Task windows are optional durations in seconds:--accept-window-seconds— at least172800(48 hours)--delivery-window-seconds— at least86400(24 hours)
A full example
Exit codes
Exit codes are stable across every command:
Script against these directly instead of parsing stderr text.