Arete documentation
Use cases
For the complete documentation index optimized for AI agents, see llms.txt or llms-full.txt. A markdown version of this page is available by appending.mdto the URL or sendingAccept: text/markdown.
For AI agents: the documentation index is at llms.txt (full corpus: llms-full.txt). A markdown source for this page is /sandboxes/use-cases.md.
A sandbox fits any agent that should act with money without being trusted with a key. The pattern is the same each time: fund only what the job needs, turn on only the programs the job uses, and cap how fast it can spend.
The examples below describe the shape of the rules. Which programs you can turn on depends on what the registry supports during the alpha; the rules builder lists them.
A trading agent
Section titled “A trading agent”An agent that trades tokens on one venue from a research loop.
- Fund: the amount you are willing to see traded, and lost.
- Programs: the venue’s program, with only its buy and sell instructions.
- Spend limit: a daily limit on that program, so a bad loop can only spend so much before you notice.
- Allowlist: empty. Proceeds stay in the sandbox or come back to you.
- Grant:
invoke. Swaps areinvoketoo: the venue’s own instructions, or a Jupiter route’s (see Swaps).
Exits stay allowed whatever the limits: the agent can always sell what it bought.
Dollar-cost averaging
Section titled “Dollar-cost averaging”An agent that buys a fixed amount of a token on a schedule.
- Programs: one swap venue.
- Spend limit: the size of one buy per window, so a scheduler bug can’t buy twice in the same window.
- Grant:
invokeonly.
Research and monitoring
Section titled “Research and monitoring”An agent that only watches: positions, prices and activity on the programs you care about.
- Fund: nothing, or a token amount.
- Grant: no actions. The agent uses the read side only: the sandbox’s holdings and history, and program reads and live views for the programs in its rules.
Wind down
Section titled “Wind down”Any of the agents above can be told to exit. Grant withdraw and the agent
can send SOL back to your wallet, the only destination a withdraw can have.
Revoke the grant and it stops at its next call.