Discovery
Machine readable
Agents should start by reading the manifest. It describes Hermes capabilities, policy language, safe actions, and the OpenAPI file.
GET /agent-manifest.json
GET /openapi.json
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.
Agents should start by reading the manifest. It describes Hermes capabilities, policy language, safe actions, and the OpenAPI file.
GET /agent-manifest.json
GET /openapi.json
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,
"policy": {
"merchantScope": ["data", "api"],
"expiresIn": "24h",
"approvalAbove": 25
}
}
{
"cardId": "card_01J...",
"status": "DELIVERED",
"amount": 25,
"currency": "USD",
"recipient": "research-agent-04",
"delivery": {
"type": "code",
"cardCode": "HB-9K2P-V7M4-R8Q1",
"pin": "4821"
},
"ledger": {
"paymentStatus": "CONFIRMED",
"orderStatus": "DELIVERED"
}
}