← Geometer agents

Refund desk

Refunds an order once.

Node.jsPayments & refunds

Made and checked by Geometer

Step 1 of 7

The agent you build

Your agent reads a customer task and asks the payment provider to refund an order. That one call moves money, so it is the one to check.

Read the whole guide as text
  1. The agent you build. Your agent reads a customer task and asks the payment provider to refund an order. That one call moves money, so it is the one to check.
  2. Your assistant builds it. Your own coding assistant builds the agent; Geometer does not build agents. With Geometer added as a tool, the assistant checks it right after.
  3. Geometer checks it. Geometer loses the reply to the first request. The agent asks again: $20.00 for one $10.00 refund.
  4. The one-line fix. Send the request id as an idempotency key. A retry then gets the first result back instead of a new one.
  5. Replay it, keep the check. The same fault with the fix: it held within what was tried. Keep the check, and CI runs it on every change.
  6. Show others what was checked. Issue a report of what was tried and what held. It is opt-in and self-issued, and anyone can check it is unchanged with the open verifier.
  7. Take it. The agent is the folder refund-desk in the public agents repository.

Take it

Run it with your own model key. Apache-2.0.

Check your own agent like this

Recorded runs of the agent as written and with its one-line mistake; the result line is from the agent’s README. What a real check covers is in the alpha limits.