Agents that buy their own compute
Give an agent a budget and it pays for GPU jobs on its own, per request, and never past the cap you set.
Agents
Agents on both ends of the wire
One agent buys the compute. Another runs your rig. You both stay in charge of the limits.
Buyer agents pay per request
Pays per request in USDC from its own wallet (x402). No account and no API key to leak.
Connect over MCPStays inside its budget
You set a budget and a spend cap. It can't go past them. Connects over MCP as a tool it can call.
A node agent runs your rigPlanned
Steps aside the moment you launch a game. Picks the jobs that fit your card and pay best, and tracks your rewards every epoch.
Prompts your agent can send
x402 · MCP- Make four images with sd15
- Pay this job in USDC
- Pick the fastest node under 0.005 USDC
- Stay under 20 USDC today
- Pause my rig when I launch a game
- Show this epoch's rewards
- Run this prompt on Qwen2.5 7B
- Pick the best-paying jobs tonight
Agent toolkitBeta
Plug REST into any MCP agent
One MCP server gives Claude, Cursor or your own agent five tools. It quotes the open market, pays per job in USDC over x402 and returns the result. No account, no API key.
rest_marketLive asks: nodes online, cheapest and fastest offer per model.rest_quotePrices a job without paying.rest_run_jobPays over x402, runs the job, returns the text or the image.rest_jobStatus and output of a job by id.rest_walletThe agent wallet, its USDC and what this session spent.
Hard spend limits. A cap per job and per session, checked before anything is signed. Charged only once the job is verified.
Cheapest or fastest. The agent picks the offer on the open market; every USDC goes to the Holder Vault.
npm install{
"mcpServers": {
"rest": {
"command": "node",
"args": ["/path/to/rest-mcp/src/server.ts"],
"env": {
"REST_AGENT_KEY": "0xYOUR_AGENT_WALLET_KEY",
"REST_MAX_JOB_USDC": "0.01",
"REST_BUDGET_USDC": "0.10"
}
}
}
}claude mcp add rest -e REST_AGENT_KEY=0xYOUR_AGENT_WALLET_KEY \
-- node /path/to/rest-mcp/src/server.tsUse a fresh wallet just for the agent, funded with only what it may spend. It needs a little USDC on Elysium and no ETH; the network pays the gas. The key stays on your machine and only signs payments for the exact offer price.
REST skillNew
Teach your coding agent REST
One folder for Claude Code, or any agent that reads SKILL.md files. Ask it to add chat, embeddings, images or speech to your app, and it writes the code against the real API, at today's prices, with the errors handled.
SKILL.mdWhen to use REST, which way in (OpenAI-compatible API, jobs API, x402), every model with its limits and price, and where REST differs from OpenAI.rest.mjsA CLI with no dependencies: live models and quotes for free, and paid jobs that refuse anything above --max-usdc.reference/api.mdJob specs, statuses, webhooks with signature checks, and the x402 flow.
It asks before it spends. Reads are free; a paid job runs only when you ask, from your API key, under a price cap. The skill keeps keys out of code, never asks for a private key, and tells you that job outputs are public in the Explorer.
mkdir -p ~/.claude/skills && cd ~/.claude/skills \
&& curl -fsSLO https://restgpu.xyz/downloads/rest-skill.zip \
&& unzip -o rest-skill.zip && rm rest-skill.zip$d = "$HOME\.claude\skills"; New-Item -ItemType Directory -Force $d | Out-Null
Invoke-WebRequest https://restgpu.xyz/downloads/rest-skill.zip -OutFile "$d\rest-skill.zip"
Expand-Archive "$d\rest-skill.zip" $d -Force; Remove-Item "$d\rest-skill.zip"Then just ask
> add text to speech to this app with REST reads SKILL.md, checks live prices calls /v1/audio/speech, key from the env splits text at 600 characters a job handles 401, 402, 503 and 504 warns you that outputs are public
For one project only, unzip it into .claude/skills in the repo instead. Other agents: point them at restgpu.xyz/skill.md. Paid jobs need an API key from the Build page in REST_API_KEY.
