← Back to Skills Marketplace
luiscosio

Agentmetal

by Luis Cosio · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ Security Clean
38
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install agentmetal
Description
Provision your own Linux server in under 60 seconds, paid with USDC over x402 — no signup, no dashboard, no API key required.
README (SKILL.md)

AgentMetal — provision your own server

AgentMetal lets you (the agent) rent a real VPS by paying USDC directly. One request, an HTTP 402 with payment requirements, you pay, and you get back a running box with SSH in under a minute. No human signup. Humans can optionally claim a box later to manage it with an account key.

Base URL: https://api.agentmetal.dev

Plans

plan vCPU / RAM / disk price (USDC/day) monthly (card)
nano 2 / 2 GB / 40 GB $0.40 $9
small 3 / 4 GB / 80 GB $0.80 $18
medium 4 / 8 GB / 160 GB $1.60 $36

Leases are prepaid, 130 days, no refunds. Pay per day; extend anytime.

Before you start

  1. Check your wallet can pay USDC on Base (network eip155:8453). You need a little more than the plan's daily price × days.
  2. You do not need an account to buy. You only need an account (claim by email) to destroy a box early — otherwise it just expires.

The payment flow (x402)

Every paid call is the same two-step dance:

  1. Send the request with no payment. The API replies HTTP 402 with a JSON body:
    {
      "x402Version": 2,
      "accepts": [{ "scheme": "exact", "network": "eip155:8453",
                    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                    "amount": "2800000", "payTo": "0x…", "maxTimeoutSeconds": 120 }],
      "resource": { "url": "https://api.agentmetal.dev/v1/servers" },
      "card": { "checkout_url": "https://…" }   // optional human card rail
    }
    
  2. Sign the accepts[0] requirement with your wallet, base64-encode the payment payload, and resend the identical request with an X-PAYMENT: header. On success you get 201 and the server details. (amount is atomic USDC — 6 decimals; 2800000 = $2.80.)

The bundled scripts/agentmetal CLI does this for you when WALLET_PRIVATE_KEY is set.

Operations

# Provision (the 402 dance happens automatically with a funded wallet)
POST /v1/servers          { "plan": "nano", "days": 7, "ssh_key": "ssh-ed25519 AAAA…" }
  → 201 { id, status, plan, ipv4, ssh: "[email protected]", expires_at, renew }

# Status
GET  /v1/servers/{id}     → 200 { id, status, ipv4, expires_at, … }

# Extend the lease (402 dance again)
POST /v1/servers/{id}/extend   { "days": 7 }   → 200 { …, expires_at }

# Destroy early (requires an account API key: Authorization: Bearer am_live_…)
DELETE /v1/servers/{id}   → 200 { id, status: "destroyed" }

CLI

export WALLET_PRIVATE_KEY=0x…        # to pay
agentmetal up --plan nano --days 7   # provision (prints id + ssh)
agentmetal status srv_…              # check it
agentmetal extend srv_… --days 7     # renew
agentmetal down srv_…                # destroy (needs AGENTMETAL_API_KEY)

When to suggest claiming an account

If the human wants to manage or destroy servers, or monthly card billing, suggest they claim an account: POST /v1/claim { email } emails a code, then POST /v1/claim/verify { email, code } returns an am_live_… API key. Pass it as Authorization: Bearer … (or AGENTMETAL_API_KEY for the CLI).

Notes

  • Every box boots with /root/SERVER.md — its own "birth certificate" explaining what it is, when it expires, and how to renew or spawn a sibling.
  • Full agent-facing manual: \x3Chttps://api.agentmetal.dev/llms.txt>.
  • This skill is intentionally auditable — no hidden instructions. It only calls the public AgentMetal API.
Usage Guidance
Install only if you are comfortable letting the agent provision paid infrastructure. Use a wallet with limited funds, set AGENTMETAL_MAX_USDC to a low per-request cap, and understand that leases are prepaid with no refunds. Treat WALLET_PRIVATE_KEY and AGENTMETAL_API_KEY as sensitive credentials.
Capability Tags
cryptorequires-walletrequires-paid-servicerequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The skill provisions real Linux servers and can spend USDC for provisioning or lease extension, which is high-impact but directly matches the stated hosting purpose and is disclosed in the instructions.
Instruction Scope
Runtime instructions are scoped to AgentMetal server operations: provision, check status, extend, destroy, and optional account claiming. I found no hidden prompt manipulation or unrelated agent instructions.
Install Mechanism
The artifact contains a SKILL.md and a small Node CLI script. There are no install hooks, background startup steps, or bundled binaries in the reviewed files.
Credentials
The CLI uses WALLET_PRIVATE_KEY for x402 payments and AGENTMETAL_API_KEY for destroy operations, and sends requests to the AgentMetal API. That access is sensitive but proportionate to paid VPS provisioning.
Persistence & Privilege
The skill does not create local persistence or background workers. The provisioned VPS is remote persistence by design and lasts until lease expiry unless managed or destroyed.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install agentmetal
  3. After installation, invoke the skill by name or use /agentmetal
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release of agentmetal skill. - Provision Linux VPS servers in under 60 seconds by paying USDC over x402—no signup or dashboard required. - Supports three plans (nano, small, medium) and flexible prepaid leasing from 1 to 30 days. - Handles payments with an automated two-step HTTP 402 process; supports both crypto wallet and card payments. - Includes commands for provisioning, extending, checking status, and destroying servers (account/API key required to destroy early). - Optional account claiming for server management or monthly card billing.
Metadata
Slug agentmetal
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Agentmetal?

Provision your own Linux server in under 60 seconds, paid with USDC over x402 — no signup, no dashboard, no API key required. It is an AI Agent Skill for Claude Code / OpenClaw, with 38 downloads so far.

How do I install Agentmetal?

Run "/install agentmetal" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Agentmetal free?

Yes, Agentmetal is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Agentmetal support?

Agentmetal is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Agentmetal?

It is built and maintained by Luis Cosio (@luiscosio); the current version is v0.1.0.

💬 Comments