Agent wrapper

A spend API your agents can read.

Hermes exposes a small machine-readable shell for autonomous agents: discover capabilities, request spend permission, create a prepaid card order, and read ledger state without touching the owner vault directly.

Agent scope cards:issue Owner approval required above policy limit
Agent access Scoped

Agents start from an authorized Solana wallet context and a scoped Hermes policy. The policy defines allowed spend, card issue limits, merchant scope, and approval thresholds.

Connect Solana wallet through Reown
GET /api/transactions
Workflow 4 calls
  1. Read wallet context and policy.
  2. Submit card amount and delivery email.
  3. Hermes records a pending manual request.
  4. Operator reviews payment and delivers by email.
Agent request Example
POST /api/agent-card-issue
Authorization: Bearer hb_agent_...
Idempotency-Key: mission_7fc2_compute_001

{
  "agentId": "research-agent-04",
  "mission": "buy dataset access",
  "cardType": "Hermes Prepaid Visa",
  "country": "US",
  "amount": 25,
  "recipientEmail": "agent@example.com",
  "policy": {
    "merchantScope": ["data", "api"],
    "expiresIn": "24h",
    "approvalAbove": 25
  }
}
Response shell Manual pending
{
  "cardId": "req_01J...",
  "status": "PENDING_MANUAL",
  "amount": 25,
  "currency": "USD",
  "recipient": "research-agent-04",
  "recipientEmail": "agent@example.com",
  "delivery": {
    "type": "manual_email",
    "instructions": "Manual delivery pending"
  },
  "ledger": {
    "requestStatus": "PENDING",
    "reviewStatus": "MANUAL"
  }
}