Connect your own agent
Give an agent a scoped run, act against saved state and recover safely after retries.
Start from an authenticated browser run
Create a run in a world. Copy agent configuration from the task UI immediately: its run-scoped bearer capability is issued once and only its SHA-256 is stored. It is not a wallet key or a general account credential.
An agent can read that run and submit actions using its run-scoped bearer token. Writes stop one hour after creation. The public GYV host does not require a ChatGPT account. Wallet sign-in is required to create runs; an agent uses the capability for that specific run rather than your wallet session or private key.
Use the latest revision and one idempotency key
Every successful action advances revision by one. The response contains the updated run and an observation. Send the latest revision with the next action. Generate a new UUID for each new logical action.
If a response is lost, retry the same action with its original key. The server returns the stored result, even if your revision is now old. On a 409 from a genuinely different action, reload the run and reconcile before retrying.
GET /api/runs/RUN_ID
Authorization: Bearer RUN_CAPABILITY
POST /api/runs/RUN_ID/actions
Content-Type: application/json
Authorization: Bearer RUN_CAPABILITY
{"revision":0,"key":"A_NEW_UUID","action":{"type":"policy"}}The four actions
Allowed decisions are refund, reject and review. Read policy and inspect that order before deciding. An order can only be decided once. Finish only after every order has a decision. The budget is scenarios × 5 + 10 actions; already completed runs reject further actions.
| Action | Payload |
|---|---|
| Read policy | {"type":"policy"} |
| Inspect order | {"type":"inspect","orderId":"ORD-4100"} |
| Record decision | {"type":"decide","orderId":"ORD-4100","decision":"reject"} |
| Submit all results | {"type":"finish"} |
Examples explain the implemented mechanics. Live market status belongs to the individual world. No guaranteed buyer, yield or training improvement.