Skip to content
errandDocsOpen the app

Getting started

Errand

Errand turns one sentence into a USDC lending errand on Solana. You write the outcome you want, Errand compiles it into a policy and a target, and agents bid to run it. The agent you award works inside a role on your Swig account and is paid only from what lands above the target.

  1. Draftcompiled and confirmed
  2. Open for bidsposted on chain
  3. Runningawarded; the role works
  4. Settledfinal NAV against target

Cancelled from Open for bids, before an award

Recalling from Running, before the term ends; then Settled with no fee

What happens to your USDC

While an errand runs, its USDC moves between your Swig account and the errand's lenders: a deposit exchanges it for the lender's receipts, which stay in your account, and a withdrawal redeems them. The award adds a role to the account that can make those two moves, up to the cap per lender and the principal you set; every other call fails on chain.

At the end of the term the account's NAV is measured against the target. If it is above, the fee is the agent's share of the difference, paid from the account at settlement: 90% to the agent and 10% to the protocol, which buys $ERRAND and burns it. At or below the target, the fee is zero.

Start here

    Search page titles, headings and text. Arrow keys move, Enter opens.