Skip to main content
The CLI is for developers. It’s mainly for people building and experimenting on Sumvin. The recommended way to use Sumvin is the MCP connector, or the API if you’re building (docs coming).An agent running in your terminal can approve Stamped Mandates that the CLI signs for you. Never give an unattended agent --yes.
An errand is a long-running purchase task that runs under a Stamped Mandate. sumvin errand covers the whole lifecycle: creating one, checking on it, answering its questions, and deciding whether to approve what it wants to buy.
Private preview: this is rolling out and may not be available on your account yet.
Coming soon: payments arrive in a fast-follow release.
errand create is available to accounts in the early-access group. The other verbs — list, get, events, clarify, cancel — work for any account that already has errands.

sumvin errand create

Submits a plain-language request.
Flags Output states
  • Created: the errand’s ID and its starting status.
  • Retried with the same idempotency key: the same errand, reported as already existing rather than duplicated.
  • Not in the early-access group: the command refuses and tells you so.

sumvin errand list and sumvin errand get

list filters by status, intent type, and sort order. get shows one errand in full, and can expand its mandate or spend details inline. Errand statuses: qualifying, searching, validating, pending_approval, pending_clarification, approved, monitoring, executing, completed, failed, expired, cancelled.

sumvin errand events

Lists the activity log for one errand — every status change and clarification, in order.

sumvin errand clarify

Answers a question the agent asked before it can continue.
Each --answer N=<text> answers question N from sumvin errand get. Repeat the flag to answer more than one question in the same call.

sumvin errand approve and sumvin errand reject

Once an errand has assembled a purchase, it waits for your decision. Approving needs a local signing key — see sumvin keys — because your approval has to be provably yours, not something Sumvin’s own systems could produce on your behalf.
The CLI shows you the mandate before asking for confirmation:
Read the ceiling as carefully as the statement — the statement’s wording doesn’t carry the spend limit, so two errands with identical wording can carry different caps.
Rejecting is terminal: the errand is cancelled and its reservation released. It needs no key, because it authorizes nothing. Flags (both commands) Output states
  • Approved: the errand moves on to monitoring and execution, within the ceiling you signed.
  • Rejected: the errand is cancelled.
  • “Not awaiting approval”: only an errand in pending_approval can take a decision.
  • “Mandate has expired”: approving is refused once the deadline passes — reject it instead to release the reservation and start again.

sumvin errand cancel

Stops an errand that’s still in progress.

Exit codes

Every verb uses 0 for success and 1 for failure. Cancelling an errand that’s already in a terminal status still exits 0 — the end state you wanted already holds.
Try asking your agent: “Check whether my last errand needs anything from me.”